Dragon Blade Posted June 25, 2013 Posted June 25, 2013 Hello all! I have created a new modfication, but not everything is coded, some parts I couldnt do as I am really busy. There are some error's, if not then well done on me lool. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Make a new file called userbodyguard.php and add - You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Open up viewuser.php and add this somewhere you like - You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And your done, all you got to do is create a cron to pay the bg and update the day's. If it hit's 0 userDAYS it deletes the row and updates the users bodyguard to 0. And you got to code something in attack.php saying - This user has a bodyguard and it is not in jail/hospital therefor you cannot attack. I would have coded it but I am really busy with my family matters. Sorry. Quote
Guest Posted June 25, 2013 Posted June 25, 2013 I like the idea however releasing something when as you even admit isn't even done is pointless imo, however if someone does start to finish this good luck :) Quote
Djkanna Posted June 25, 2013 Posted June 25, 2013 Well thanks for the contribution, but really should be tagged as a WIP. Quote
Dragon Blade Posted June 25, 2013 Author Posted June 25, 2013 Sorry Djkanna, what is WIP? And your welcome. Quote
sniko Posted June 25, 2013 Posted June 25, 2013 Sorry Djkanna, what is WIP? And your welcome. Work in Progress Also, why INT(11)? TINYINT(1) will suffice, wouldn't? (To hold Boolean values; 1 and 0) Quote
sniko Posted June 25, 2013 Posted June 25, 2013 Hmm, I don't know to be honest. It was more rhetorical than a direct question :) Quote
Dragon Blade Posted June 25, 2013 Author Posted June 25, 2013 (edited) I like the idea however releasing something when as you even admit isn't even done is pointless imo, however if someone does start to finish this good luck :) Thanks, Its finshed just need's abit of coding. My family matter just got in the way. If someone can finish it off for me, it would be a pleasure. @Sniko Oh :o Finnally, I have time to finish this off. I will post the code within 3 days. Edited June 25, 2013 by Dragon Blade Quote
boionfire81 Posted July 23, 2022 Posted July 23, 2022 bodyguard.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Attack.php 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 attackbeat.php, attacklost.php, attackwon.php, and attacktake.php you will need to replace You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. unless anyone else wants to take a shot at the final files 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.