Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-10-2012, 06:44 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
Is this viable to load on login?

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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:44 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.