Duplicate IP address warning

For discussion of the Poker Mavens server module and other administration topics

Duplicate IP address warning

Postby social » Thu Jan 14, 2016 8:22 pm

Poker Mavens seems capable of recognizing when two or more players are using the same IP address, correct?

If so, then how can I generate an Alert Message to Admin when two or more people are playing from the same IP address or computer?
social
 
Posts: 199
Joined: Fri Nov 20, 2009 12:23 am

Re: Duplicate IP address warning

Postby Kent Briggs » Thu Jan 14, 2016 9:21 pm

social wrote:Poker Mavens seems capable of recognizing when two or more players are using the same IP address, correct?


Yes, you can set "Allow duplicate IPs" to No in the Server Settings group to disallow a duplicate from logging in. Also, each ring table has that setting if you just want to prevent duplicates at the same table.

If so, then how can I generate an Alert Message to Admin when two or more people are playing from the same IP address or computer?


You could periodically call ConnectionsList in the API and scan for duplicates (sort by IP, then loop from top to bottom to see if any two consecutive IPs are the same).
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3818
Joined: Wed Mar 19, 2008 8:47 pm

Re: Duplicate IP address warning

Postby social » Thu Jan 14, 2016 10:11 pm

Kent Briggs wrote:
social wrote:Poker Mavens seems capable of recognizing when two or more players are using the same IP address, correct?


Yes, you can set "Allow duplicate IPs" to No in the Server Settings group to disallow a duplicate from logging in. Also, each ring table has that setting if you just want to prevent duplicates at the same table.

If so, then how can I generate an Alert Message to Admin when two or more people are playing from the same IP address or computer?


You could periodically call ConnectionsList in the API and scan for duplicates (sort by IP, then loop from top to bottom to see if any two consecutive IPs are the same).


So, there is no way to tap into the process associated with the script recognizing two players from the same IP when it happens? Prefer to discover this sooner than later.
social
 
Posts: 199
Joined: Fri Nov 20, 2009 12:23 am

Re: Duplicate IP address warning

Postby Kent Briggs » Fri Jan 15, 2016 12:28 am

social wrote:So, there is no way to tap into the process associated with the script recognizing two players from the same IP when it happens? Prefer to discover this sooner than later.


If you want to catch it instantly, just monitor the Login Event using the Callback system. And then check that player's IP against the other existing connections.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3818
Joined: Wed Mar 19, 2008 8:47 pm


Return to Site Administration

Who is online

Users browsing this forum: No registered users and 1 guest

cron