Uridium Posted November 30, 2008 Share Posted November 30, 2008 Couldnt think of anything else to call this mod But basically it stops the user from leaving a fight even when the page has been refreshed or when a new link is entered into the URL. They will be back at the attack screen until the fight is over. Open up header.php Find and remove this.... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Members can no longer evade a fighting.. Quote Link to comment Share on other sites More sharing options...
radio_active Posted November 30, 2008 Share Posted November 30, 2008 Re: [MOD] V2 Fight the good Fight Simple and effective, good effort ;) Quote Link to comment Share on other sites More sharing options...
War_Hero Posted November 30, 2008 Share Posted November 30, 2008 Re: [MOD] V2 Fight the good Fight I like this idea. I may try it out because then I can edit the attack script again to include a suggestion by one of the users on my brother's game. :) Thanks for this. :) Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted November 30, 2008 Share Posted November 30, 2008 Re: [MOD] V2 Fight the good Fight easier to just take all their exp lol it stops them from leaving fights more than once Quote Link to comment Share on other sites More sharing options...
danger boy Posted November 30, 2008 Share Posted November 30, 2008 Re: [MOD] V2 Fight the good Fight Simple and stops the cheats from leaving the fight good work. Quote Link to comment Share on other sites More sharing options...
mentaljason Posted November 30, 2008 Share Posted November 30, 2008 Re: [MOD] V2 Fight the good Fight Good, but my idea would be just to add something where if the user tries to exit or closes the browser then next time they get the choice to continue battling or be a coward and run away, this would be a simple to make and it would be convenient as if the users browser crashes then they don't loose all their exp. Sorry for hi-jacking your post but it is relevant in it's own respect. Quote Link to comment Share on other sites More sharing options...
zbirc3 Posted November 30, 2008 Share Posted November 30, 2008 Re: [MOD] V2 Fight the good Fight +1. TYVM! Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted November 30, 2008 Share Posted November 30, 2008 Re: [MOD] V2 Fight the good Fight Good, but my idea would be just to add something where if the user tries to exit or closes the browser then next time they get the choice to continue battling or be a coward and run away, this would be a simple to make and it would be convenient as if the users browser crashes then they don't loose all their exp. Sorry for hi-jacking your post but it is relevant in it's own respect. stock attck is done in sessions......that would (Unless im mistaken) be impossible, without rewriting it withough using sessions Quote Link to comment Share on other sites More sharing options...
Uridium Posted November 30, 2008 Author Share Posted November 30, 2008 Re: [MOD] V2 Fight the good Fight Good, but my idea would be just to add something where if the user tries to exit or closes the browser then next time they get the choice to continue battling or be a coward and run away, this would be a simple to make and it would be convenient as if the users browser crashes then they don't loose all their exp. Sorry for hi-jacking your post but it is relevant in it's own respect. Because we are removing this part from the header.php and replacing it with the other script your users wont lose EXP as its this that was causing it. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. $db->query("UPDATE users SET exp=0,attacking=0 WHERE userid=$userid"); Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted November 30, 2008 Share Posted November 30, 2008 Re: [mccode v2] Fight the good Fight i prefer the take exp lol Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 30, 2008 Share Posted November 30, 2008 Re: [mccode v2] Fight the good Fight i think it better if you go to hospital Quote Link to comment Share on other sites More sharing options...
KiX Posted November 30, 2008 Share Posted November 30, 2008 Re: [mccode v2] Fight the good Fight Good one mate. I have something similar, but I have also included another little sniplet there to avoid people from using 2 screens for example. Some people are loading 2 browsers. 1 to attack and 1 to use their health packs to continue on healing themselves. under illussions code add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. +1 for you though. I am a great fan of your mods! 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.