Question about LoginBox and connexion
Posted: 31 May 2012, 14:03
Hi all,
In my game I have the classic login screen. I use the smartFoxBits LoginBox and a custom login module.
I wonder why loginBox requires you to be connected to the server BEFORE you can begin typing in your credentials. I mean often I lanch the game, do something else for 10 minutes with the login screen getting timed out by the server. Then I have to refresh the whole page ... it s quite annoying and frankly I don't understand what justifies it. If the server's not up, I will know it when I submit my credentials anyway.
So I tried to modify LoginBox to allow a player to type his credentials while not being connected to the server, then when he hits the "login" button, I load the smartfox XML configuration, connect to the server and submit the credentials all at once.
Works great so far ! Maybe there was a simpler solution though.
In my game I have the classic login screen. I use the smartFoxBits LoginBox and a custom login module.
I wonder why loginBox requires you to be connected to the server BEFORE you can begin typing in your credentials. I mean often I lanch the game, do something else for 10 minutes with the login screen getting timed out by the server. Then I have to refresh the whole page ... it s quite annoying and frankly I don't understand what justifies it. If the server's not up, I will know it when I submit my credentials anyway.
So I tried to modify LoginBox to allow a player to type his credentials while not being connected to the server, then when he hits the "login" button, I load the smartfox XML configuration, connect to the server and submit the credentials all at once.
Works great so far ! Maybe there was a simpler solution though.