Quote:
Originally Posted by Emera
OK, so the buying of the item and the GUI showing are working. Next roadblock...
When I click an item to buy, the GUI shows and that's all fine. Now if I close that and chooses another item, it shoes the previous items stats. I deleted the "previous" item and now it shows the next item, but adding another will still show the first clicked items details.
http://pastebin.graalcenter.org/read...=0106756446210
Any help?
|
Don't ignore the advice I gave you regarding security; anyone with a memory editor could spawn anything they wanted to. There's no excuse for storing that stuff clientside and sending it serverside.
If you're not interested in becoming a better scripter than these forums aren't for you—try hiring a scripter instead. There are a lot of people who will be willing to help you, but I doubt that will remain true if you disregard what they tell you. If you are interested in becoming a better scripter, as your user title would suggest, then I would recommend you follow advice given to you.
If you want to ignore what I said about centralizing, that's fine—you might not see the benefits of that until you've got more experience—but trusting clientside data is never acceptable, and you should not get into a habit of doing it.