Jump to content
MakeWebGames

AS Promised--Crack The Safe Updated Secured.


Joshua

Recommended Posts

AS promised, I have went through, Revised and Secured my original Script to the best of my ability.

This is 100% Functional on my site and has all Add-Ons in this post here, as I update it if anything changes.

I spent some time on this, so I hope you enjoy 🙂

INSERT INTO Cron_Day.php

You're unable to view this code.

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

 

 

SQL's

 

You're unable to view this code.

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

 

 

You're unable to view this code.

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

 

 

You're unable to view this code.

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

 

 

You're unable to view this code.

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

 

 

INSERT INTO cracksafe SAFE SQL's

You're unable to view this code.

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

 

 

INSERT INTO cracksafe2 SAFE SQL's

You're unable to view this code.

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

 

 

INSERT INTO cracksafe3 SAFE SQL's

You're unable to view this code.

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

 

 

You're unable to view this code.

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

 

 

createfile cracksafe.php

You're unable to view this code.

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

 
Link to comment
Share on other sites

  • 2 weeks later...

I added total attempts to each pot:

Replace crackasafe.php

You're unable to view this code.

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

 

Add these to DB

[mysql]

ALTER TABLE `cracksafe` ADD `attempts_1` INT(11) NOT NULL DEFAULT '0';

ALTER TABLE `cracksafe2` ADD `attempts_2` INT(11) NOT NULL DEFAULT '0';

ALTER TABLE `cracksafe3` ADD `attempts_3` INT(11) NOT NULL DEFAULT '0';

[/mysql]

OPEN cracksafe.php

FIND:

You're unable to view this code.

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

Add Under:

You're unable to view this code.

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

Then Find:

You're unable to view this code.

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

Add Under:

You're unable to view this code.

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

OPEN cracksafe2.php

FIND:

You're unable to view this code.

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

Add Under:

You're unable to view this code.

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

Then Find:

You're unable to view this code.

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

Add Under:

You're unable to view this code.

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

OPEN cracksafe3.php

FIND:

You're unable to view this code.

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

Add Under:

You're unable to view this code.

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

Then Find:

You're unable to view this code.

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

Add Under:

You're unable to view this code.

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

 

Will reset to 0 when the pot is won.

safes2.png

Link to comment
Share on other sites

Nicely Done Immortal I haven tested or used any of your scripts as i dont have a game, but i see your producing some nice Free mods which in my eye deserves a +1000 Welldone mate and keep the free mods flowing :)

Maybe a Xmas script would be nice if you cant think of an ideas for an xmas script just message me and we'll get thinking.

Link to comment
Share on other sites

near bottom of the top script you need to change something :)

 

You're unable to view this code.

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

 

change that into

 

You're unable to view this code.

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

 

you need to change safe_2 into safe_3 :)

Link to comment
Share on other sites

I have it set up on my game so that you can try as many times as you want on the two paid safes but limited to 10 tries on the free safe.

Just open cracksafe.php

 

You're unable to view this code.

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

 

somewhere near the top under:

You're unable to view this code.

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

Link to comment
Share on other sites

Find

function safe_1()

{

global $ir,$c,$h,$userid,$db;

 

Under add

if($ir['safetries'] < 1)

{

print "You have already used your 10 tries today, come back tomorrow";

$h-endpage();

exit;

}

That will let them only try 10 times on the free safe, and the other 2 unlimited :D

Link to comment
Share on other sites

  • 1 month later...

ive got quick question about this mod? has anyone even won it yet the free one? as i even changed the free safe crack lines to

$r1 = rand(100,101);

$r2 = rand(10,11);

$r3 = rand(1,2);

but still no ones won it lol.

also i looked at some of the lines and it says

if($_POST['1digit'] != $rand1)

if($_POST['2digit'] != $rand2)

if($_POST['3digit'] != $rand3)

does that mean the

$r1

$r2

$r3

meant to be

$rand1

$rand2

$rand3

or is it correct with the $r1, $r2, $r3 ??

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