How do i setup 2 accounts per IP - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: How do i setup 2 accounts per IP (/Thread-How-do-i-setup-2-accounts-per-IP) |
How do i setup 2 accounts per IP - babazar - 08-15-2014 09:45 PM Hi Guys, Sorry metal block at the moment, does any one have a way to limit 2 accounts per ip? which will check first used ip and last login IP, Thanks RE: How do i setup 2 accounts per IP - Rizz - 08-15-2014 11:02 PM // Maximum open connections to server per IP ClientMaxIP=2 This will prevent someone two play more than 2 players at same time. I think you cannot really control how many account a player can have if your provider will not provide a static address. In my country anyone can simply turn off and on the router to change the ip address RE: How do i setup 2 accounts per IP - Extreme - 08-16-2014 12:42 AM Do you want to block more than 2 accounts per ip at same time or block account creating? If you want to block, use this code from Cloud_BR: PHP Code: IF (STRMATCH(*.*,<ARGS>)) RE: How do i setup 2 accounts per IP - babazar - 08-16-2014 02:49 AM Basically I want to stop players creating more than 2 accounts with the same ip they use, As in our account files we have the same IP thats created say 30 accounts, Miss spells, etc or attaempts to flood our account files. So my issue is to really limit the amount players can create, I know IP'S Change Daily with some ISP some longer and what not, Thats why i would like to know could it be done to Check Players Last Use IP's against the account files and if its used more than twice the system rejects there IP, RE: How do i setup 2 accounts per IP - Extreme - 08-16-2014 02:58 AM Ok, then you have to do something like this: When creating the account, store the IP used to create it. When login, find the older IP on accounts and check if there are more than 2 with same IP. Update the older IP to the new one if the accounts have the same older IP that the one you are logging in. To check account lastip, just use 'serv.account.<account>.lastip' |