View Single Post
  #22  
Old 09-04-2011, 05:41 PM
SoundFreak SoundFreak is offline
Music Artist
SoundFreak's Avatar
Join Date: Aug 2011
Posts: 15
SoundFreak is on a distinguished road
Not being funny or anything here Aaron, but wouldn't it be easier to do something like this. I haven't thought hard enough about how you could incorporate this into your code, but it would be worth looking up.
PHP Code:
this.classes = {
{
"Archer""This is a description.""This is the icon.png"},
{
"Wizard""This is the description.""This is the icon.png"},
//etc
}; 
Then, players could easily add new rows, change rows descriptions and also add an icon to the side of the row, just to add that little detail. Would be a nice addition. Using...
PHP Code:
{"Class""Description""Icon"}; 
Would really tidy things up a bit.
PHP Code:
with(addrow(id"Archer")){
  
classStats1 "your";
  
classStats2 "data";
  
classStats3 "here";

Agree with this also, but I do actually prefer the idea above, but I don't even know yet if this can be incorporated into the system.
Also, you should be adding security on the serverside like CBK and 0pix0 said. Them dirty "hackros" can change whatever they want as long as it remains clientside. I am giving you a "green pepper" anyway. (For those of you who don't know, Aaron likes to say red pepper and green pepper rather than red rep or green rep. I really don't know were this originated from)
Reply With Quote