sendXTMessage needs roomID?
Posted: 02 Mar 2006, 23:14
Things are going much better. I now have the user connecting, joining a room from the server side... but now I am stuck again.
Since I add the user to a room from the server side, there is obviously no "onJoinRoom" method on the client required. So how does the client know what room he is in? does it matter?
I tried to do this command :
and the server puked this error message :
15:38:43.656 - [ WARNING ] > Extension Call has invalid RoomID. User = Sparticus - /204.209.149.16
invalid roomid? Hmm, is my client supposed to get this from somewhere... and suppose to pass it somehow?
What am I missing.... I'd look at the documentation but I can't find any actual code examples on the new server side functions such as "_server.joinRoom", etc
Since I add the user to a room from the server side, there is obviously no "onJoinRoom" method on the client required. So how does the client know what room he is in? does it matter?
I tried to do this command :
Code: Select all
smartfox.sendXtMessage("dbTest", "getuniqueid", obj)
and the server puked this error message :
15:38:43.656 - [ WARNING ] > Extension Call has invalid RoomID. User = Sparticus - /204.209.149.16
invalid roomid? Hmm, is my client supposed to get this from somewhere... and suppose to pass it somehow?
What am I missing.... I'd look at the documentation but I can't find any actual code examples on the new server side functions such as "_server.joinRoom", etc