Hi,
I'have a game multiuser application with different zones.
In each zone smartfox provide an unique username login. I have to extend this for all the zones: If I'm joined in a zone, the same user at the same time can't connect and join in a different zone. It's possible? Ther're some configuration option or I have to implement a specific extension? What metod can I use?
Thanks
Maurizio
Unique login in different zone
Ciao,
normally a user would not be able to log into multiple Zones. The only way to do it is starting multiple clients.
A very simple way to avoid the problem is using the database. If you have a DB with credentials you could add a field that is set to true or any value indicating that the user is logged, and when it disconnects you set it to false.
This way you can check if the User is already logged in some other Zone.
normally a user would not be able to log into multiple Zones. The only way to do it is starting multiple clients.
A very simple way to avoid the problem is using the database. If you have a DB with credentials you could add a field that is set to true or any value indicating that the user is logged, and when it disconnects you set it to false.
This way you can check if the User is already logged in some other Zone.