Jump to content
MakeWebGames

User Bodyguard


Dragon Blade

Recommended Posts

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.

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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 by Dragon Blade
Link to comment
Share on other sites

  • 3 years later...

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...