Mafia-Club Posted March 27, 2009 Posted March 27, 2009 Hello When I Attack Some one it Say's Bad Bad Girl Can Any One fix this and post the code back This is a v2 bug. Heres The Code. } //get player data $youdata=$ir; $q=$db->query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid={$_GET['ID']}"); $odata=$db->fetch_row($q); $myabbr=($ir['gender']=="Male") ? "his" : "her"; $oabbr=($ir['gender']=="Male") ? "his" : "her"; if($ir['attacking'] && $ir['attacking'] != $_GET['ID']) { print "Bad, bad, bad girl. [url='index.php']Back[/url]"; $_SESSION['attacklost']=0; $h->endpage(); exit; } Thanks Mafia-Club Quote
Dave Posted March 27, 2009 Posted March 27, 2009 Re: [V2 Attack Bug I think this error is because there is something wrong with the code in the header. Quote
Mafia-Club Posted March 27, 2009 Author Posted March 27, 2009 Re: [V2 Attack Bug Hey kyle helped me fix it. just had to remove if($ir['attacking'] && $ir['attacking'] != $_GET['ID']) { print "Bad, bad, bad girl. [url='index.php']Back[/url]"; $_SESSION['attacklost']=0; $h->endpage(); exit; } Quote
AlabamaHit Posted March 27, 2009 Posted March 27, 2009 Re: [V2 Attack Bug lol that kinda defeats the point of what the code was blocking now don't it? Quote
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.