I’m working on an MMORPG. I am stuck right now.
What is the best way to make the item system?
I was thinking about to make an external database in a file which includes something like this:
<Item id="290" name="Sword" type="1" value1="40" value2="20"/>
Like this every time i modify some value on the server side, i have to make a change in the client. But it is more more optimized, and quicker. In this system I can make several language packs. I like this one. I just cannot manage this, I need some solution to make a coded file to store these data, and the decryption for the client side, so every time I modify something i don’t have to rebuild the whole solution.
Is it ok? Or should I get the data from the server every time I make a closer look on an Item? In this way every time i watch an item, i have to get the data from the server. It may be slow.
An other idea: When I log in i ask for the items (in an mmorpg this is more than a thousand items) and i download all the data. (It may be a bad idea)
Please help me!
[I do not consider myself a beginner, I can program quite well, but here is a problem what i cannot solve! Thanks for the help!]