montyash Posted March 17, 2008 Share Posted March 17, 2008 does anyone know how to make the register.php stop multies only 1 user per ip Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted March 17, 2008 Share Posted March 17, 2008 Re: reisterphp Read, re-read, then read again : http://en.wikipedia.org/wiki/IP_address. Once you understand that you will realize that blocking IPs in that fashion does NOT work. Quote Link to comment Share on other sites More sharing options...
montyash Posted March 17, 2008 Author Share Posted March 17, 2008 Re: reisterphp so theres nothing yoy can do when someone is fucking up your game by keep making multies or advertising Quote Link to comment Share on other sites More sharing options...
dementor Posted March 17, 2008 Share Posted March 17, 2008 Re: reisterphp What can you do If they use a proxy ? Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted March 18, 2008 Share Posted March 18, 2008 Re: reisterphp It is possible to detect proxies, and in fact it may be possible to retrieve the real originator IP address by looking at layer-2, but I've not been able to produce stable code for this outside of a development environment. There are other methods of detecting multis however - A few people here know of some of my tricks for this. Quote Link to comment Share on other sites More sharing options...
montyash Posted March 18, 2008 Author Share Posted March 18, 2008 Re: reisterphp would you be able to post them plz Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted March 18, 2008 Share Posted March 18, 2008 Re: reisterphp Just think about the problem a little... What are multies? Why are they created? What do people gain from them? If you can shut down the benefits to multis then you'll get rid of the problem. On one project, I allow people to have multiple accounts (up to 5) - They login, and select the account they want to use. There is no method of passing money/items etc between their accounts. Quote Link to comment Share on other sites More sharing options...
montyash Posted March 19, 2008 Author Share Posted March 19, 2008 Re: reisterphp how do i stop them passing moey/items to each other Quote Link to comment Share on other sites More sharing options...
Deisel80 Posted March 20, 2008 Share Posted March 20, 2008 Re: reisterphp Like everyone here has said so far, stopping issues by ip is almost pointless because of the ready availability of tools to change your ip address. I do have a few such controls in my sites and will post them here for you but for the most part they are easily defeatable. These will only stop the dumbest of people. Reminds me of an old quote. "Its only there to keep an honest man honest, all others will find a way around it." For bank transfers, cash transfers and items transfers I use this............ $ipc=mysql_query("SELECT * FROM users WHERE userid={$_POST['user']} LIMIT 1",$c); $ip=mysql_fetch_array($ipc); if($ip['lastip'] == $ir['lastip']) { Die("You may not send items between multi accounts!"); } As for the register page my users have to use a valid email address to sign up. An email is then sent to them to activate there account. I do have this in there though..... $ip = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; $z=mysql_query("SELECT * FROM users WHERE lastip='$ip'",$c); if(mysql_num_rows($z)) { die("Multiple accounts are not allowed. If you need more than one account on this IP address contact staff."); } Like i said before, all of this is easily defeated and shouldnt be relied upon to stop multis altogether. Just trying to be helpful lol. Quote Link to comment Share on other sites More sharing options...
montyash Posted March 20, 2008 Author Share Posted March 20, 2008 Re: reisterphp thankyou and where do i put that in register.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.