Richard Posted June 2, 2008 Posted June 2, 2008 Follow the instructions in the attachment below. Tested and works perfectly for me :) Quote
Jameoo Posted June 2, 2008 Posted June 2, 2008 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. Quote
Joel Posted June 3, 2008 Posted June 3, 2008 Re: [V2] Numbers Game What does it do? Well it Sounds like, Its something to do with "numbers" :/ Quote
Richard Posted June 3, 2008 Author Posted June 3, 2008 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. Quote
swindonsaleshosting Posted June 4, 2008 Posted June 4, 2008 Re: [V2] Numbers Game Can someone point me in the right direction. I would like a staff function which will tell me what number was drawn in which hour or who won for say last 24 hours. Thanks Quote
Richard Posted June 6, 2008 Author Posted June 6, 2008 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. Quote
Richard Posted June 6, 2008 Author Posted June 6, 2008 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 Quote
jamboy1 Posted July 11, 2008 Posted July 11, 2008 Re: [V2] Numbers Game I love it, thanks, just changing it to 250 xD thanks for the mod :D Quote
$$ ?????? $$ Posted July 11, 2008 Posted July 11, 2008 Re: [V2] Numbers Game Excellent modification idea also modifications works perfect. :wink: Quote
jamboy1 Posted July 24, 2008 Posted July 24, 2008 Re: [V2] Numbers Game I can't get the cron to work, can someone guide me on where to put it? Quote
illegalife Posted November 13, 2008 Posted November 13, 2008 Re: [mccode v2] Numbers Game my cron doesnt work either :/ Quote
jamboy1 Posted November 13, 2008 Posted November 13, 2008 Re: [mccode v2] Numbers Game I think that it may not be the cron but not enough players.... I'm not sure, could be wrong though Quote
illegalife Posted November 13, 2008 Posted November 13, 2008 Re: [mccode v2] Numbers Game i think that as long as theres more then 2 players it should work... Quote
toufail Posted November 13, 2008 Posted November 13, 2008 Re: [mccode v2] Numbers Game NICE ONE +1 Quote
castle Posted November 13, 2008 Posted November 13, 2008 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 Quote
toufail Posted November 14, 2008 Posted November 14, 2008 Re: [mccode v2] Numbers Game i think for the game to work out 50 people need to play it so the corn will work any chance of that working with small number of people Quote
castle Posted November 14, 2008 Posted November 14, 2008 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 Quote
toufail Posted November 14, 2008 Posted November 14, 2008 Re: [mccode v2] Numbers Game any one have a working corn :? Quote
castle Posted November 14, 2008 Posted November 14, 2008 Re: [mccode v2] Numbers Game no i ate all my corn Quote
jamboy1 Posted November 15, 2008 Posted November 15, 2008 Re: [mccode v2] Numbers Game no i ate all my corn ROFL i don't eat corn :) Quote
bob324 Posted November 17, 2008 Posted November 17, 2008 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? Quote
illegalife Posted January 3, 2009 Posted January 3, 2009 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.