client-side created private-room auto-destroy issue
client-side created private-room auto-destroy issue
Hi,
This problem occurs when client creates a game room with password. Even there is no such a user in that room or server, owner of the room is automatically set to server rather than the user, therefore room stays forever.
I just use regular roomobject, and client-side createRoom function which should join automatically. I think user cannot join automatically to the room he just created and owner of the room stays "server", therefore never gets destroyed..
This problem seems more like "cannot join room created by self" more than auto-destroy issue.
Please check following (I m sure they are the same user):
2010/06/23 20:14:51.509 - [ INFO ] [id: 102] (SystemHandler.handleCreateRoom): Room [ Emre ] created!
2010/06/23 20:14:51.510 - [ INFO ] [id: 102] (SystemHandler.joinRoom): Room Join Error: Password is wrong, User: 100000710726700, IP: 188.58.34.74
(version 1.6.6)
This problem occurs when client creates a game room with password. Even there is no such a user in that room or server, owner of the room is automatically set to server rather than the user, therefore room stays forever.
I just use regular roomobject, and client-side createRoom function which should join automatically. I think user cannot join automatically to the room he just created and owner of the room stays "server", therefore never gets destroyed..
This problem seems more like "cannot join room created by self" more than auto-destroy issue.
Please check following (I m sure they are the same user):
2010/06/23 20:14:51.509 - [ INFO ] [id: 102] (SystemHandler.handleCreateRoom): Room [ Emre ] created!
2010/06/23 20:14:51.510 - [ INFO ] [id: 102] (SystemHandler.joinRoom): Room Join Error: Password is wrong, User: 100000710726700, IP: 188.58.34.74
(version 1.6.6)
Yep, there is nothing much different. I just use createRoom with password:
I'm sorry for not knowing each step to create the problem
it doesn't happen all the time :[
Code: Select all
var roomObj:Object = new Object();
if(lobby.check_pw.selected && lobby.pw_field.text_pw.text != "")
roomObj.password = lobby.pw_field.text_pw.text;
roomObj.name = playerInfo.nickName;
roomObj.isGame = true;
roomObj.maxUsers = 2;
roomObj.extension = xt;
sfs.createRoom(roomObj); //joins automatically
I didn't include it to show there is nothing different, extension creation has no problems as seen in log:
2010/06/23 20:14:51.508 - [ INFO ] [id: 102] (ExtensionHandler.createExtension): Room Extension [ roomext ] created!
2010/06/23 20:14:51.509 - [ INFO ] [id: 102] (SystemHandler.handleCreateRoom): Room [ Emre ] created!
2010/06/23 20:14:51.510 - [ INFO ] [id: 102] (SystemHandler.joinRoom): Room Join Error: Password is wrong, User: 100000710726700, IP: 188.58.34.74
2010/06/23 20:14:51.508 - [ INFO ] [id: 102] (ExtensionHandler.createExtension): Room Extension [ roomext ] created!
2010/06/23 20:14:51.509 - [ INFO ] [id: 102] (SystemHandler.handleCreateRoom): Room [ Emre ] created!
2010/06/23 20:14:51.510 - [ INFO ] [id: 102] (SystemHandler.joinRoom): Room Join Error: Password is wrong, User: 100000710726700, IP: 188.58.34.74
Thanks but there's still something not clear here.
Why the user receives an error.
I use this code to test the creation of a password protected Room:
The code works without problems, I am joined in the Room and I am not able to reproduce the scenario that you have reported.
Please can you explain exactly how this problem work?
Why the user receives an error.
I use this code to test the creation of a password protected Room:
Code: Select all
var roomObj:Object = {}
roomObj.name = "TestRoom"
roomObj.password = "abcd12345"
roomObj.maxUsers = 20
roomObj.isGame = true
sfs.createRoom(roomObj)Please can you explain exactly how this problem work?
I really really don't know the case
It works for me too ! I just can't create the case, my users do somehow.
All I can want is sfs team to check server side xml parsing. Shame there is nothing else beside I'm gonna go for detailed logging.
Is it possible to log client-side to a file, just like trace output in debug mode ?
Or can I find detailed log information at server-side ?
All I can want is sfs team to check server side xml parsing. Shame there is nothing else beside I'm gonna go for detailed logging.
Is it possible to log client-side to a file, just like trace output in debug mode ?
Or can I find detailed log information at server-side ?
