SmartFoxServer:
[WARNING] > SysHandler -> Bad room id. Action: pubMsg >> java.lang.NumberFormatException: For input string: "null"
This error occurs randomly. Sometimes it works, sometimes it doesn't.
I'm using "simpleChat" as my Zone at the moment.
I think it has to do with the smartfox.onJoinRoom = function(myRoom:Room) { - sometimes it faile to excute.
Any ideas?
Bad room Id
Bad room Id
Last edited by BigFIsh on 04 Mar 2008, 23:03, edited 2 times in total.
I did some further testing.. this is very odd..
Upon joining a room, using simpleChat example, this message ">> Room [The Hall] Joined" should be shown in the chat area.
The interesting thing is.. when publishing the .swf file as .html for my browser (F12), it works every 2nd time. i.e. I have 12 simpleChat.html running in one browser and 6 out of 12 shows the "message", rest is blank.
When the chat box is blank - I type in a message, and I get the bad room id error.
I'm testing from the same computer which runs the server.
Hope this narrows things down.
Upon joining a room, using simpleChat example, this message ">> Room [The Hall] Joined" should be shown in the chat area.
The interesting thing is.. when publishing the .swf file as .html for my browser (F12), it works every 2nd time. i.e. I have 12 simpleChat.html running in one browser and 6 out of 12 shows the "message", rest is blank.
When the chat box is blank - I type in a message, and I get the bad room id error.
I'm testing from the same computer which runs the server.
Hope this narrows things down.
if it doesn't get called there's no error then
Can you better explain? The game? which game?
Please try to be as clear as possible and explain the steps that you execute and the problems you get.
The above problem has been fixed so I don't know exactly what you are talking about. (maybe starting a new thread with a clear description of the problem would have been more appropriate)
I test it a lot, just run the simpleChat in firefox and you will eventually get someone who is in the game, but not the userlist.
Can you better explain? The game? which game?
Please try to be as clear as possible and explain the steps that you execute and the problems you get.
The above problem has been fixed so I don't know exactly what you are talking about. (maybe starting a new thread with a clear description of the problem would have been more appropriate)
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 62 guests