However, onRoomJoin, the local variable is passed to the client from what I see in the debug, but they do not show up in the event's [room getVariables]. In fact, they don't show up at all until they're changed, THEN they show up in [room getVariables].
Smartfox debug:
Code: Select all
{Dump: }
(sfs_array) r:
(int)2
(utf_string)hasbean's room
(utf_string)default
(bool)1
(bool)0
(bool)0
(short)0
(short)20
(sfs_array)
(sfs_array)
(utf_string)seat1
(byte)1
(bool)1
(bool)1
(bool)1
(sfs_array)
(utf_string)name1
(byte)4
(utf_string)Empty
(bool)1
(bool)1
(sfs_array)
(utf_string)seat2
(byte)1
(bool)1
(bool)1
(bool)1
(sfs_array)
(utf_string)name2
(byte)4
(utf_string)Empty
(bool)1
(bool)1
(sfs_array)
(utf_string)seat3
(byte)1
(bool)1
(bool)1
(bool)1
(sfs_array)
(utf_string)name3
(byte)4
(utf_string)Empty
(bool)1
(bool)1
(sfs_array)
(utf_string)seat4
(byte)1
(bool)1
(bool)1
(bool)1
(sfs_array)
(utf_string)name4
(byte)4
(utf_string)Empty
(bool)1
(bool)1
(short)1
(short)20
[room getVariables]
Code: Select all
2013-04-27 10:07:31.707 Hand[58613:c07] var seat1, type Bool, val [RVar: seat1, type: Bool, value: 1, isPriv: YES]
2013-04-27 10:07:31.707 Hand[58613:c07] var seat3, type Bool, val [RVar: seat3, type: Bool, value: 1, isPriv: YES]
2013-04-27 10:07:31.707 Hand[58613:c07] var seat2, type Bool, val [RVar: seat2, type: Bool, value: 1, isPriv: YES]
2013-04-27 10:07:31.708 Hand[58613:c07] var seat4, type Bool, val [RVar: seat4, type: Bool, value: 1, isPriv: YES]
the "nameX" variables are missing.
I'm not sure if I messed something up, but I've previously used 1.0.3 and it seemed to work fine back then.