View Single Post
  #9  
Old 03-01-2012, 02:42 AM
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
How it's done on Zodiac...

clientr.item-Item Name={quantity, arc}
clientr.mud_Item Name={itemdata}

If you want to use item ids you could use:

clientr.item.itemid = {quantity, item_data}

My Zodiac V2 used a hybrid of the above..

clientr.item.itemid = quantity
clientr.mud.itemid = {item_data}

However my clientr flags were merely a 'cached' version of what was stored in the SQL DB. I also had a 'stackable' property so when I added an item, if it was stackable I would look for a stack to place it in, if there was no stack I would create a new one and assign it's own unique id. To keep the amount of items to a minimum I would impose a bag limit.
__________________
Quote:
Reply With Quote