Richard Posted February 26, 2009 Share Posted February 26, 2009 I spent a while on this, haven't tested it much but should work fine ? 1:41 AM: Cron updated - fixed a minor bug in the cron. Replace the old one Run SQL: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Create battle_ladder.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. In attackwon.php find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add below that: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. In attacklost.php find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add below that: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Create battle_cron.php 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...
Dylan Posted February 26, 2009 Share Posted February 26, 2009 Re: Battle ladder [Mccodes V2] Looks good! Quote Link to comment Share on other sites More sharing options...
Richard Posted February 26, 2009 Author Share Posted February 26, 2009 Re: Battle ladder [Mccodes V2] Looks good! Thanks :) Quote Link to comment Share on other sites More sharing options...
Delete-please Posted February 26, 2009 Share Posted February 26, 2009 Re: Battle ladder [Mccodes V2] nice Richard tested it works 100% +1 :-D Quote Link to comment Share on other sites More sharing options...
ReaSonZ Posted February 27, 2009 Share Posted February 27, 2009 Re: Battle ladder [Mccodes V2] dose the cron need a code like cron day code ect like file.php?code=rfgbg bgrfbgrf4fgtbtr or just file.php and how i run it like weeks ect Quote Link to comment Share on other sites More sharing options...
Richard Posted February 27, 2009 Author Share Posted February 27, 2009 Re: Battle ladder [Mccodes V2] No code required for cron, Just take that out of another cron in mccodes v2 if you want the code :) Also, I'm not too sure, I've never been good with crons tbh. A guess of what it might be: 0 0 0 0 */7 curl http://www.game.com/battle_cron.php Quote Link to comment Share on other sites More sharing options...
Lithium Posted February 27, 2009 Share Posted February 27, 2009 Re: Battle ladder [Mccodes V2] dose the cron need a code like cron day code ect like file.php?code=rfgbg bgrfbgrf4fgtbtr or just file.php and how i run it like weeks ect 0 0 0 0 */7 curl http://www.game.com/battle_cron.php Not quite Richard ;) http://unixgeeks.org/security/newbie/unix/cron-1.html Quote Link to comment Share on other sites More sharing options...
ReaSonZ Posted February 27, 2009 Share Posted February 27, 2009 Re: Battle ladder [Mccodes V2] nice richard +1 Quote Link to comment Share on other sites More sharing options...
Richard Posted February 27, 2009 Author Share Posted February 27, 2009 Re: Battle ladder [Mccodes V2] nice richard +1 Thanks :) Quote Link to comment Share on other sites More sharing options...
SpEcKs Posted February 28, 2009 Share Posted February 28, 2009 Re: Battle ladder [Mccodes V2] Nice mod Richard +1 Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted February 28, 2009 Share Posted February 28, 2009 Re: Battle ladder [Mccodes V2] nice mod richard but please fix and secure your other mods Quote Link to comment Share on other sites More sharing options...
gurpreet Posted March 1, 2009 Share Posted March 1, 2009 Re: Battle ladder [Mccodes V2] I click Join a ladder and no ladders are listed...Do I have to add some in via cpanel? Quote Link to comment Share on other sites More sharing options...
Uridium Posted March 1, 2009 Share Posted March 1, 2009 Re: Battle ladder [Mccodes V2] Nice script but can i make a suggestion where by the Cron would reset all players at the end of the week. So other players can have a chance at being top slot on the next available join date. The way it is now it would just keep looping Also that a player who is high enough to join any level can join a ladder where all players are way under their level which wouldnt make this such a fair ladder system. Just a thought. Quote Link to comment Share on other sites More sharing options...
avguste Posted March 3, 2009 Share Posted March 3, 2009 Re: Battle ladder [Mccodes V2] nice script. But how do we add ladders? Quote Link to comment Share on other sites More sharing options...
Dominator Posted March 4, 2009 Share Posted March 4, 2009 Re: Battle ladder [Mccodes V2] nice mod :wink: Quote Link to comment Share on other sites More sharing options...
Richard Posted March 4, 2009 Author Share Posted March 4, 2009 Re: Battle ladder [Mccodes V2] Thanks for all the nice comments, To add ladders just use phpmyadmin, Its very simple :) Quote Link to comment Share on other sites More sharing options...
avguste Posted March 4, 2009 Share Posted March 4, 2009 Re: Battle ladder [Mccodes V2] hmm.Personally I am not very good with Php admin. Could you possibly code an admin panel for it? Quote Link to comment Share on other sites More sharing options...
Richard Posted March 4, 2009 Author Share Posted March 4, 2009 Re: Battle ladder [Mccodes V2] Well, you could run this sql data if you wanted: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Would create 4 ladders Quote Link to comment Share on other sites More sharing options...
Karlos Posted March 4, 2009 Share Posted March 4, 2009 Re: Battle ladder [Mccodes V2] xD I'll probably make an admin feature sometime tomorrow hopefully before cadets.. :wink: Quote Link to comment Share on other sites More sharing options...
avguste Posted March 5, 2009 Share Posted March 5, 2009 Re: Battle ladder [Mccodes V2] Hooah Thank you Karlos Thank you for the codes Richard Quote Link to comment Share on other sites More sharing options...
Karlos Posted March 5, 2009 Share Posted March 5, 2009 Re: Battle ladder [Mccodes V2] I've Done It! :wink: Only options are Create And Delete... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Tested! No Error's Have Occoured During The Tests! Quote Link to comment Share on other sites More sharing options...
BluntMan Posted March 5, 2009 Share Posted March 5, 2009 Re: Battle ladder [Mccodes V2] when i click on the links that i put in the staff menu for battle ladder its a blank screen can anybody help? Quote Link to comment Share on other sites More sharing options...
Uridium Posted March 5, 2009 Share Posted March 5, 2009 Re: Battle ladder [Mccodes V2] Richard would you mind if i Added to this script would like to add your sqls for joining diff ladder types and try a new approach to the admin panel. Quote Link to comment Share on other sites More sharing options...
Richard Posted March 5, 2009 Author Share Posted March 5, 2009 Re: Battle ladder [Mccodes V2] I dont mind at all :) Feel free to do anything with it Quote Link to comment Share on other sites More sharing options...
Uridium Posted March 5, 2009 Share Posted March 5, 2009 Re: Battle ladder [Mccodes V2] Keeping to the same Principal as RICHARDS script Ive just slightly added to it You can add as many tournaments as you want also changing player min and max levels so the system is fair. It can be used as a donator only system with or without cash entries or a standalone for everyone to join in.... As always ive used an Installer for easy installlation just ironing out some bugs before i post the script... 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.