Page 1 of 1

Cannot setup Room variable, server fail to start!

Posted: 16 Mar 2011, 00:16
by rei
I am trying to setup a room variable from the admin tool interface,
I need the type Array, don't know what to fill in for the value so I tried null and 0,

then the server wouldn't restart, it wouldn't reach "Ready".
The last section shown up on server cmd is "Stack Trace";

I had to open the zonename.zone.xml to manually remove the variable blocks that I created for the server to reboot again.

So at the end I still can't use room variables...

Any idea? : )

Thanks

Posted: 16 Mar 2011, 12:58
by Bax
As the tooltip near the value filed says, you have to enter a primitive value (of course for datatypes allowing it: BOOL, INT, DOUBLE, STRING) or the JSON representation of an object (for OBJECT and ARRAY).
So, if you need to create an array, you have to enter something like this:

Code: Select all

[0,1,2,3,4]