Jump to content
MakeWebGames

Recommended Posts

Posted

Got really bored late one night, so just picked something I could recode pretty quickly, and give me something to do.

So, here it is, all it basically is, is more customizable, and overall programmed better than the original.

Just replace lucky.php with this

 

You're unable to view this code.

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

 

For V1 -- Thanks to Assault :)

 

You're unable to view this code.

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

 

Run this SQL statement (V1 only) -- Thanks to Crazy-T :)

 

You're unable to view this code.

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

 

Add this to your day cron (V1 only) -- Thanks Alabamahit :)

 

You're unable to view this code.

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

 

You can add more cases to it, by simply following the same format of the other cases, and adjusting the $num variable.

 

 

edit: Small updates

Posted

Re: [mccode v2] Lucky Boxes

 

You're unable to view this code.

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

For v1

but i need the sql inserts do you think you could post those

specifically i need the 'boxes_opened' in 'field list'

Posted

Re: [mccode v2] Lucky Boxes

You could beef up the security of the code by checking if the GET variable is a number as well as isset on this line.

You're unable to view this code.

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

 

Also @ crazy-t's sig if you think about it logically then you are still posting mods ;)

Not posting any mods on here no more.

Posted

Re: [mccode v1 + v2] Lucky Boxes

this is going to need a cron was just thinking about this...

does anyone have the cron job for this? it would be a daily run cron

Posted

Re: [mccode v2] Lucky Boxes

 

You could beef up the security of the code by checking if the GET variable is a number as well as isset on this line.

You're unable to view this code.

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

 

Also @ crazy-t's sig if you think about it logically then you are still posting mods ;)

Not posting any mods on here no more.

How it was an SQL for someone no it aint no mod xD

 

You're unable to view this code.

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

There :=)

Just curious..

Why did you encase an SQL statement inside PHP tags?

Because of the colors :)

Posted

Re: [mccode v1 + v2] Lucky Boxes

 

Because of the colours?

 

SQL have a different Syntax highlighting to PHP... :roll:

You dont say, i do know lol. If the forum had tags like

You're unable to view this code.

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

i would of done that but it dont thats why i done it!

Posted

Re: [mccode v2] Lucky Boxes

 

You could beef up the security of the code by checking if the GET variable is a number as well as isset on this line.

You're unable to view this code.

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

 

Also @ crazy-t's sig if you think about it logically then you are still posting mods ;)

Not posting any mods on here no more.

Can do. :)

Code updated.

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