Jump to content
MakeWebGames

[McCodes] Duplicate IP block


(((TOLK)))

Recommended Posts

this will stop users making more than 1 account.

open register.php

find:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.



After add:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

And thats it, just to let u know, I didn't make this.

Link to comment
Share on other sites

Re: [McCodes] Duplicate IP block

I was browsing proxie scripts and i found some sort of a prevention script..

I know aol is classed as a proxie i haven't got that far to determine the proxie servers aol uses....

Store this in your .ht access file in root directory..

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Link to comment
Share on other sites

Re: [McCodes] Duplicate IP block

 

this will stop users making more than 1 account.

No it won't.

Gotta love your replies Nyna

Are you now insulting Nyna?

For what reason?

It's her choice on the content of her posts.. She doesn't want to make it to easy for us (and prevent our learning), then so be it ;)

i hope that's sarcasm

It won't work because? lol how about that one nyna see if you can answer with more than 3 words lol cause with you it's rather 1000 or 3

Link to comment
Share on other sites

Re: [McCodes] Duplicate IP block

 

this will stop users making more than 1 account.

No it won't.

Gotta love your replies Nyna

i hope that's sarcasm

It won't work because? lol how about that one nyna see if you can answer with more than 3 words lol cause with you it's rather 1000 or 3

LOL!

Link to comment
Share on other sites

Re: [McCodes] Duplicate IP block

Simply blocking IPs does nothing except piss off users who have more than one person on the same IP.

Anyone who is cheating, knows how to use proxies, don't waste your time blocking.

Perhaps, block only transfers between same IPs, and log IPs so you know who has been on the same ip.

I created a function on my game that checks every ip a user has been on, and compares it to ever ip the other user has been on.

If they have been on the same IP, they cannot send items to each other, attack each other, send cash, etc.

This stops the staff from having to look through logs for same IP transfers, because it's not possible.

And prevents users who jump back and forth from different IPs from transferring.

Link to comment
Share on other sites

Re: [McCodes] Duplicate IP block

 

if($r['lastip'] == ".$_SERVER['REMOTE_ADDR'].")

{

die("ERROR!!!!!!!!!!!!!!!!!");

}

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

The one i done is for v1

Easy to convert over, and there is a tutorial posted on Criminal Existence explaining how to convert from v2 to v1 and vice versa.

Link to comment
Share on other sites

Re: [McCodes] Duplicate IP block

 

if($r['lastip'] == ".$_SERVER['REMOTE_ADDR'].")

{

die("ERROR!!!!!!!!!!!!!!!!!");

}

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

The one i done is for v1

I think that this could work for both versions

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Cause mysql and $db-> isn't version orientated.

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.

Guest
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...