Jump to content

Multi Account Problem.


Recommended Posts

Hi. Im running MCcode V2 and I wish to limit the accounts made by the same IP address. There was a post about such a thing however I think it was for V1 Code as the edits they used didnt work for me unless it was my error. The code in question (Or the code they edited) is






die("Your IP has been banned, there is no way around this.

Link to comment
Share on other sites

Re: Multi Account Problem.

well...this won't get people who use proxies, AOL dialup, and a hundred other reasons -but it'll get you started.

I would think another table as an array would be another good step to work on.

under the multireferral section of register.php I suppose:


// multi IP trap .. test
$a=mysql_query("SELECT * FROM users WHERE lastip='$ip'",$c);
if(mysql_num_rows($a) > 0)
event_add(1,"{$ip}:{$_POST['username']} attempted to register under an existing IP.",$c);
die("Accounts playing from the same IP address must be approved and set-up by a game admin.

Please contact [email][email protected][/email] via non-game-mail, or ID #1 via in-game mail from 

the other account(s) on this IP. Multi accounts are frowned upon, tell us why you deserve one.");
// end multi IP trap .. test


that's a step, -it should really be taken further if you are serious about this.

Good Luck.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...