I've just noticed for the first time after about a year of working with the smartfoxserver pro that users can log in to different zones using the same user name, something that was not possible on the basic server... can this be avoided???
Thanks.
Yuval Lahav.
Disabling connection to different zones by the same user.
-
yuvallahav
- Posts: 247
- Joined: 07 Oct 2008, 13:03
- Location: Rome, Italy
- Contact:
-
yuvallahav
- Posts: 247
- Joined: 07 Oct 2008, 13:03
- Location: Rome, Italy
- Contact:
Well, all zone use the same users database (the site's database), but different score and history databases, but doesn't the login process to the smartfox does a check to see there is no one with the same user name connected to the server like it used to do in the basic server?
In the basic server which we used for all our games (again, each as a zone) before we switched to pro, a user would receive an error message on login when trying to login with a name already logged on to the server (not zone, but the whole server), while with the pro version, a user can connect and login to different zones on the server using the same name, it does not generate the error message the basic server does.
And Sarevok, I'm trying to do the exact opposite, I'm trying to prevent users logging into more then one game (zone) at a time with the same user name, it does not give us any technical problems, we just don't want users playing more then one game at a time with a specific user name.
In the basic server which we used for all our games (again, each as a zone) before we switched to pro, a user would receive an error message on login when trying to login with a name already logged on to the server (not zone, but the whole server), while with the pro version, a user can connect and login to different zones on the server using the same name, it does not generate the error message the basic server does.
And Sarevok, I'm trying to do the exact opposite, I'm trying to prevent users logging into more then one game (zone) at a time with the same user name, it does not give us any technical problems, we just don't want users playing more then one game at a time with a specific user name.
The Zone architecture is the same in SFS PRO and Basic in this regards.I've just noticed for the first time after about a year of working with the smartfoxserver pro that users can log in to different zones using the same user name, something that was not possible on the basic server... can this be avoided???
Zones are separate applications running in the Server, so user Lapo can exist in both Zone A and Zone B.
There is no way to stop this from configuration, however you could set a simple flag on your DB to make sure that a certain User does not login in more than one Zone at the same time.
-
yuvallahav
- Posts: 247
- Joined: 07 Oct 2008, 13:03
- Location: Rome, Italy
- Contact: