View Single Post
  #5  
Old 02-26-2012, 07:01 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
For your loot system I'm guessing you're going to use a triggerclient to let the client know to open the loot window. In this case it would be preferably just to send all the data when they need it. I.e.

player.triggerclient("-LootSystem", "loot", this.loot_id, {{"itemid", "item name", "icon.png", itemamount}});

As long as your Item DB is indexed properly you won't have much of an issue retrieving the data in a timely manner.
__________________
Quote:
Reply With Quote