View Single Post
  #12  
Old 03-01-2012, 07:22 PM
BlueMelon BlueMelon is offline
asdfg
BlueMelon's Avatar
Join Date: Sep 2008
Posts: 1,481
BlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to behold
Quote:
Originally Posted by Cubical View Post
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.
__________________
http://i.imgur.com/OOJbW.jpg
Reply With Quote