View Single Post
  #10  
Old 05-03-2012, 05:12 AM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
I've been having some problems with a certain account name (presumably because it begins with a number) breaking attr[] values.
For instance, lets say I do this serverside:

PHP Code:
this.attr[3] = "1Death,account2,account3,etc"
When attempting to read this.attr[3] clientside, it would always be read as "1". Only by doing temp.s = @this.attr[3]; could I access the value.

At one point I also attempted to store a list of player IDs rather than accounts, this caused the problem of the attr[] somehow not synchronising to clients while working normally serverside.
Reply With Quote