How to deny 1 IP to log in with 2 connections?

For general discussion of the Poker Mavens software

How to deny 1 IP to log in with 2 connections?

Postby kingprado » Mon Dec 22, 2014 3:33 pm

Hi

I wanna make my web site greater which to don't allow users to log in with 2 user at a time! ( this is't good for players)

I want to make every user to connect only with 1 ip not 1 ip can make 2 or more connections and play the game,

Thanks
kingprado
 
Posts: 24
Joined: Sun Nov 09, 2014 11:49 pm

Re: How to deny 1 IP to log in with 2 connections?

Postby kingprado » Mon Dec 22, 2014 3:36 pm

Actually my mean is not about the setting in game which to Make NO " Allow Duplicate IP, I mean is about the codes, a sample to how to make it complete.
kingprado
 
Posts: 24
Joined: Sun Nov 09, 2014 11:49 pm

Re: How to deny 1 IP to log in with 2 connections?

Postby Kent Briggs » Mon Dec 22, 2014 4:13 pm

kingprado wrote:Actually my mean is not about the setting in game which to Make NO " Allow Duplicate IP, I mean is about the codes, a sample to how to make it complete.


I don't understand your question. What do you mean by "the codes" and "make it complete"?
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3765
Joined: Wed Mar 19, 2008 8:47 pm

Re: How to deny 1 IP to log in with 2 connections?

Postby kingprado » Tue Dec 23, 2014 12:33 am

Well I mean was for DupeIPs command, may I have a sample code which is denying a player to log in with 2 users at a time.

Thanks
kingprado
 
Posts: 24
Joined: Sun Nov 09, 2014 11:49 pm

Re: How to deny 1 IP to log in with 2 connections?

Postby Kent Briggs » Tue Dec 23, 2014 10:12 am

kingprado wrote:Well I mean was for DupeIPs command, may I have a sample code which is denying a player to log in with 2 users at a time.


That's a system setting, which you already mentioned (set "Allow Duplicate IPs" to "No" in the Server Settings group). If you want to change a system setting using code, use the SystemSet command in the API. From the help file:

SystemSet - sets the Value of the specified system Property. For example, to turn off the login chime, set the Property parameter to "LoginChime" and the Value parameter to "No". See the SystemGet command above for a list of all available system property names. Properties marked as "read-only" cannot be changed while the game server is online.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3765
Joined: Wed Mar 19, 2008 8:47 pm


Return to General

Who is online

Users browsing this forum: No registered users and 6 guests

cron