Seker Posted July 3, 2012 Posted July 3, 2012 This mod is a small one, though significant for me. The idea of an attack ladder, to me, should be based off attacks. I never was very happy with the "attack who's on it and take their place" thing. This way, it's not based on stats at all. It's purely based on how many attacks the players do in a (day/week/month, etc.) So, here we go. First off, the SQL: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. attackladder.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ladder_cron: (Set this to run however often you need in your cron jobs. I do ever hour. Also, make sure to add in your own cron code stuff.) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Just add this to your mainmenu.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And, in any of your attacking files (attackhosp, attackmug, etc.) add this wherever your queries are: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. As usual, I hope someone finds some use for this. Enjoy! Quote
Seker Posted July 3, 2012 Author Posted July 3, 2012 And here's V2! Same various instructions as before. attackladder.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ladder_cron.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add to your attack files: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
danger boy Posted July 3, 2012 Posted July 3, 2012 Looks good. I like how you make them for both, v1 and v2 on all your mods :) Quote
Seker Posted July 3, 2012 Author Posted July 3, 2012 Looks good. I like how you make them for both, v1 and v2 on all your mods :) I look at the conversions as a good learning tool. Plus, I know people will want it done, anyway, so might as well take an extra few minutes. Quote
Seker Posted July 3, 2012 Author Posted July 3, 2012 Seker, if you have skype, google talk or yahoo, send me your details... You'd be amazed at how many times I get asked that. :P I guess I should suck it up and sit through one of the downloads. Will hit you you up a bit later. Quote
Seker Posted July 3, 2012 Author Posted July 3, 2012 On adult chat rooms normally, you horny bugger? :D Well, now, that is between myself and Ivanna. :D 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.