Magictallguy Posted May 17, 2013 Posted May 17, 2013 This mod was requested by Bennyh789 on this topic Gang Alliance PHP 5.6 compliant Edit yourgang.php, add to the bottom (above the endpage..) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edit the function gang_staff_wardeclare() Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add below You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Still in gang_staff_wardeclare() Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add above You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add the gang staff cases You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. SQLs You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edit attack.php, add this where the rest of the if() statements are (towards the top of the file) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And finally, the CSS; You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
chicka Posted May 18, 2013 Posted May 18, 2013 Very Nice MTG. I don't have mccrap any more but i'm sure this is great.. I do have a suggestion tho. Maybe make the alliance timed? Something like gang a and gang b are in an alliance for 30 days? On top of that have it somewhere so it says x amount of days remaining in your alliance Quote
Magictallguy Posted May 18, 2013 Author Posted May 18, 2013 (edited) Very Nice MTG. I don't have mccrap any more but i'm sure this is great.. I do have a suggestion tho. Maybe make the alliance timed? Something like gang a and gang b are in an alliance for 30 days? On top of that have it somewhere so it says x amount of days remaining in your alliance Continuing on from my original post.. * You will need my time2readable() function found in one of my gang mods SQLs You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edit yourgang.php In the gang_staff_alliance_decide() function Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. In the gang_staff_alliance_view() Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add above You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edit your five minute cron [Default setup - cron_fivemins.php] At the bottom of the file Add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edited May 18, 2013 by Magictallguy Fixed a code tag Quote
AnonymousUser Posted June 1, 2013 Posted June 1, 2013 also noticed you went from guilds to gangs was getting an error was like wth i didnt notice it for a couple minutes :D just started testing, along with your house modification, other then that great job just make sure you stick to one word :p either guilds or gangs but i would suggest gangs, seeing as it is an mccode modification Quote
AnonymousUser Posted June 1, 2013 Posted June 1, 2013 fixed functions, also fixed query errors because of reasons posted above :) enjoy!! 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.