Jump to content
MakeWebGames

Recommended Posts

Posted

Re: [V2] Numbers Game

Ill Post It :?

run sql data

You're unable to view this code.

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

 

 

create file numbergame.php

You're unable to view this code.

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

 

 

add in cron_hour.php

You're unable to view this code.

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

 

 

add into explore.php

You're unable to view this code.

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

 
Posted

Re: [V2] Numbers Game

Well basically, you choose a number between 1 and 50.

Every hour a cron runs to randomly select a winner.

If the cron picks the number you have chosen, you win 5 crystals.

Posted

Re: [V2] Numbers Game

Ive edited this, you can now type the number you want to select instead of seeing the word 'Take' 50 times

You're unable to view this code.

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

Posted

Re: [V2] Numbers Game

I think this will work for staff to view winners

Run this SQL Data:

You're unable to view this code.

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

 

Add below the previous cron_hour queries:

You're unable to view this code.

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

 

Add into staff_users.php

 

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.

 

Add above Mini Competition in numbersgame.php

You're unable to view this code.

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

 

Someone with mccodes v2 may need to test this code first

  • 1 month later...
  • 2 weeks later...
  • 3 months later...
Posted

Re: [mccode v2] Numbers Game

this is what i get:

Call to undefined function event_add()

for this line:

 

You're unable to view this code.

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

 

points are my crystals

Posted

Re: [mccode v2] Numbers Game

it's not that the number of people playing, i tested it, filled each slot with a player. it's how the event is written in the cron

Posted

Re: [mccode v2] Numbers Game

Is anybody able to get the cron working for this Ive tried and failed! It gives the winner crystals but doesnt mail the user or delete the players from the list once the game ends?

  • 1 month later...
Posted

Re: [mccode v2] Numbers Game

 

Is anybody able to get the cron working for this Ive tried and failed! It gives the winner crystals but doesnt mail the user or delete the players from the list once the game ends?

i have the same problem

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