View Single Post
  #23  
Old 09-04-2011, 05:54 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by SoundFreak View Post
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)
Like the idea. Might do some research, but it really was an extension of the post I previously made. Very good idea though. Haven't seen you in a while and I hope you get in touch with me. I will forum PM you my details. You always were smarter than me. Thanks bro.
__________________
Reply With Quote