Jump to content
MakeWebGames

Recommended Posts

Posted

Jail mod for V1. Good for lite too.

Made it slowly over last few days , found a few bugs think there all fixed.

UPDATED - Not so simple now.

 

Prison.php:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Cron, Open hospital cron and stick this code in there:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

SQL:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Also make sure to edit docrime.php and make a chance of being jailed.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Enjoy, Need any help ask me.

On my game I've also displayed the busters level and some other small things.

Posted

Re: [Free] [v1] Jail

Ok as for Sql:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

According to what you said that should work.

Hatchet wrote this code for his jail and I modified it a bit...

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

  • 1 month later...
Posted

Re: [Free] [v1] Jail

 

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/home/s2abb/domains/public_html/escape.php on line 33

I didnt even include escape.php.

I have done now though.

Ive only ever tested it on my game, So it may have a few small bugs.

  • 2 weeks later...
Posted

Re: [Free] [v1] Jail

 

When you pay $10,000 to bail somone out it doesn't work :|

 

Same thing happens to me, also its nearly impossible to break someone out or to break out yourself...but you could just change the equation for that :D

  • 2 weeks later...
Posted

Re: [Free] [v1] Jail

I found what was wrong with bail. This should be your prison:

 

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.

 

I will try to figure out escape and bust now. Thanks.

Posted

Re: [Free] [v1] Jail

Try this..

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

The exact code i use on amazon survival, seems to work fine for me, If it continues not to work, I'll look into it further.

Posted

Re: [Free] [v1] Jail

Still doesn't work.

Bail doesn't work at all, you pay 10k they don't get freed.

Attempt escape doesn't have a sucess rate, I've tried a lot of times.

Bust out doesn't work also.

Thanks for the mod though! But if you could fix these it would be great! :-)

Posted

Re: [Free] [v1] Jail

Try this... Ive just tested it, Bust works... Bail Works.... And the attempt to escape has a few rand functions in the escape.php that determine the success rate.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: [Free] [v1] Jail

 

Bail does work, but I just changed everything to bust to make sure you get 100% sucess rate, yet it says you fail everytime.

Show me the code.... And you want it to give you 100% bust success rate... ?

Posted

Re: [Free] [v1] Jail

It was your code that you just posted.

I don't wan't 100% bust rate, I just changed it to that to test.

But it's alright, I just ended up coding a bust.php and bail.php!

Thanks for all the help though Isomerzier!

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...