I have a small problem when i try to reconnect to the server without reloading the webplayer.
I call all this to make sure the client is disconnected :
Code: Select all
UnsubscribeEvents();
smartFoxClient.Logout();
smartFoxClient.Disconnect();
SmartFoxStatics.Connection = null;
Login.connectionAttempt = false;
Application.LoadLevel("Login");
I can reconnect and all works fine till i re-enter my 'pre-game room', I can see on the server that i joined the room but all my code in the OnJoinRoom callback isn't fired.
Even debug messages arent fired.
Anyone got an idea what could be happening.
In the debug i see i get my roomlist, thats the last message i get and then it stops.
Eddy.