Uridium Posted October 13, 2008 Share Posted October 13, 2008 This has already been done i just chose to clean it up a little this mod will stalemate when the attack rate hits 50 counts.. Sends a Event Notification to the person you was trying to attack and one for yourself for future reference... OPEN UP attack.php FIND You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and underneath Add...... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Reason for Edit forgot to put file name to be edited... Quote Link to comment Share on other sites More sharing options...
ColdK Posted October 15, 2008 Share Posted October 15, 2008 Re: [mccode] Stalemate for attacks i think you have missed things out mate whats the sql for You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Uridium Posted October 15, 2008 Author Share Posted October 15, 2008 Re: [mccode] Stalemate for attacks i think you have missed things out mate whats the sql for You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. if($_GET['nextstep'] > 50) denotes the times taken to attack in this case 50 would be 25 attack clicks on the attack button so if you wanted your members to click 50 times then alter the 50 to 100 Quote Link to comment Share on other sites More sharing options...
ColdK Posted October 16, 2008 Share Posted October 16, 2008 Re: [mccode] Stalemate for attacks ahh i see now nice mod +1 Quote Link to comment Share on other sites More sharing options...
Zippy Posted October 21, 2008 Share Posted October 21, 2008 Re: [mccode] Stalemate for attacks Any way to change this so you don't lose all your EXP. after the stalemate? Quote Link to comment Share on other sites More sharing options...
Uridium Posted October 21, 2008 Author Share Posted October 21, 2008 Re: [mccode] Stalemate for attacks Any way to change this so you don't lose all your EXP. after the stalemate? open up attacklost.php and find this line You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You can alter the EXP from there at the moment it resets to zero so you could have it as follows You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There is also one on header.php that mentions regards running from the fight. Again you could alter that to 50 or just remove the whole function as i did.. Actually you may find this one better because if the person whos lost wast at 50 to begin with its an unfair advantage on the rest of the gamers and will be losing just to get 50 so alter it to You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Zippy Posted October 21, 2008 Share Posted October 21, 2008 Re: [mccode] Stalemate for attacks yep works good :-D Quote Link to comment Share on other sites More sharing options...
girardz Posted July 26, 2009 Share Posted July 26, 2009 Re: [mccode] Stalemate for attacks If a user hits F5 instead of the attack or weapon link it doesnt count hits, they could hit F5 all day. Anyone know how to fix that ? 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.