Quote:
Originally Posted by Cubical
is it stupid to update the item information everytime it is equipped like say i cached every item into a DBNPC from flat files and every time someone equips something it pulls the item information from that? or would it be better just to store all the item data in a clientr variable instead of just the itemid and name of the item. it would allow for more flags but would also make more request to the server.
edit: also my item id is a unique id for the actual item ex;
Potion itemid-> 47288
weapon -> 47289
randomly dropped item in dungeon lets say its a pair of gloves -> 52920
I basically want it for item tracking
|
All of the item info can be stored in a DB yea, like image/thumbnail/weight/etc.
And just store the item ID and quantity in the client flags like explained above.