View Single Post
  #9  
Old 03-10-2012, 07:24 AM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
I'm already doing that by having a table for the base stats of everything then another table solely for stats that would be unique to one weapon, the initial question wasn't where i planned on storing my player/item data it was just if having that many flags in a players account file will cause any issues.

Quote:
Originally Posted by Cubical View Post
I have an item by itself being load which has the unique ID of the item and I also have a bunch of clientr.item.itemname.data.etc vars that are holding the data. Would this be viable to load on each login? Keep in mind this is just one item.
PHP Code:
clientr.item.wornsword.1=1,wornsword,none,0
clientr
.item.wornsword.data.bi1=mage
clientr
.item.wornsword.data.bi2=1
clientr
.item.wornsword.data.bi3=fireball
clientr
.item.wornsword.data.gems=red
clientr
.item.wornsword.data.itemdescription=Just a test sword
clientr
.item.wornsword.data.itemgani=walk
clientr
.item.wornsword.data.itemimage=block.png
clientr
.item.wornsword.data.itemname=Worn Sword
clientr
.item.wornsword.data.itemsubtype=onehandsword
clientr
.item.wornsword.data.itemthumbnail=block.png
clientr
.item.wornsword.data.itemtype=weapon
clientr
.item.wornsword.data.realname=wornsword
clientr
.item.wornsword.data.rowid=
Any help, suggestions would be appreciated. I want to keep it like this if at all possible. It would make everything easier for me to expand later on without having just one really long string with no apparent order. I will do it the other way if needed.
Reply With Quote