bladewolf2010 Posted February 4, 2011 Posted February 4, 2011 This is attack.php attempting to do stuff correctly now. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Djkanna Posted February 4, 2011 Posted February 4, 2011 Well done, for your first 'full' try BladeWolf2010. Quote
bladewolf2010 Posted February 4, 2011 Author Posted February 4, 2011 Hehe, thanks DJK, I plan on giving it 100% from now, no shortcuts anymore :) Quote
Zan Posted February 4, 2011 Posted February 4, 2011 Nice one Blade.its like old one but still i like it because/./..now damges made are normal...in the mccodes 2 attack...its 1000000000damage your damage is blanced lol and nice color ;) Quote
Zan Posted February 4, 2011 Posted February 4, 2011 109. You tried to hit Assassin Creed but missed (0) 110. Using his Fists Assassin Creed hit you doing 0 damage 134 can u make it like..if we reach 100 it says" looks like you both knocked out each other " or something like that? the fight never stops until someone wins.thats boring kinda ;) Quote
Zan Posted February 4, 2011 Posted February 4, 2011 Yeah..because..i added this to my test game...and i had same weapon adn same batle stats as the opponent then we both fought till 1000 still no winner..... 109. You tried to hit Assassin Creed but missed (0) 110. Using his Fists Assassin Creed hit you doing 0 damage 134 when it reaches 100 stop the fight ? with a message? Quote
bladewolf2010 Posted February 4, 2011 Author Posted February 4, 2011 Now stale mates, thanks to Illusion for his amazing free mods :P You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
rulerofzu Posted February 4, 2011 Posted February 4, 2011 I appreciate someone that does give it a go and tries their best. So well done. Now....and be honest $_GET['ID'] = (isset($_GET['ID']) && ($_GET['ID'])) ? intval($_GET['ID']) : false; Do you really understand what what line and all the other lines are doing or is it a cut n paste this is what everyone else uses. Quote
bladewolf2010 Posted February 4, 2011 Author Posted February 4, 2011 The only thing I don't understand on it is the : false; and isset I got help doing it. But I did it. No copy and pasting except for the first few lines. edit- isset is check to see if the number (example attack.php?ID=2) That number is set. Quote
Zan Posted February 4, 2011 Posted February 4, 2011 if($_GET['nextstep'] > 10) { echo'<center><span style="color: red;">STALEMATE!</span> This fight is going knowhere you may as well go home! > Back</center>'; $h->endpage(); event_add($odata['userid'],"{$youdata['username']} Tried to beat you but stalemated.",$c); event_add($youdata['userid']," You Tried to beat {$odata['username']} but stalemated.",$c); exit; } NOT WORKING Quote
Zan Posted February 4, 2011 Posted February 4, 2011 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. THIS WORKS Quote
Djkanna Posted February 4, 2011 Posted February 4, 2011 I appreciate someone that does give it a go and tries their best. So well done. Now....and be honest $_GET['ID'] = (isset($_GET['ID']) && ($_GET['ID'])) ? intval($_GET['ID']) : false; Do you really understand what what line and all the other lines are doing or is it a cut n paste this is what everyone else uses. Yeah Blade, the second $_GET isn't needed and perhaps 0 would be better than false. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 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.