Richard Posted June 2, 2008 Share Posted June 2, 2008 Follow the instructions in the attachment below. Tested and works perfectly for me :) Quote Link to comment Share on other sites More sharing options...
Jameoo Posted June 2, 2008 Share 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 Link to comment Share on other sites More sharing options...
hurra Posted June 3, 2008 Share Posted June 3, 2008 Re: [V2] Numbers Game What does it do? Quote Link to comment Share on other sites More sharing options...
Joel Posted June 3, 2008 Share Posted June 3, 2008 Re: [V2] Numbers Game What does it do? Well it Sounds like, Its something to do with "numbers" :/ Quote Link to comment Share on other sites More sharing options...
Richard Posted June 3, 2008 Author Share 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 Link to comment Share on other sites More sharing options...
-Matt- Posted June 3, 2008 Share Posted June 3, 2008 Re: [V2] Numbers Game Love it :-D Quote Link to comment Share on other sites More sharing options...
Halo Posted June 4, 2008 Share Posted June 4, 2008 Re: [V2] Numbers Game Nice one Richard Quote Link to comment Share on other sites More sharing options...
swindonsaleshosting Posted June 4, 2008 Share 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 Link to comment Share on other sites More sharing options...
Richard Posted June 6, 2008 Author Share 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 Link to comment Share on other sites More sharing options...
Richard Posted June 6, 2008 Author Share 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 Link to comment Share on other sites More sharing options...
jamboy1 Posted July 11, 2008 Share Posted July 11, 2008 Re: [V2] Numbers Game I love it, thanks, just changing it to 250 xD thanks for the mod :D Quote Link to comment Share on other sites More sharing options...
$$ ?????? $$ Posted July 11, 2008 Share Posted July 11, 2008 Re: [V2] Numbers Game Excellent modification idea also modifications works perfect. :wink: Quote Link to comment Share on other sites More sharing options...
jamboy1 Posted July 24, 2008 Share 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 Link to comment Share on other sites More sharing options...
illegalife Posted November 13, 2008 Share Posted November 13, 2008 Re: [mccode v2] Numbers Game my cron doesnt work either :/ Quote Link to comment Share on other sites More sharing options...
jamboy1 Posted November 13, 2008 Share 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 Link to comment Share on other sites More sharing options...
illegalife Posted November 13, 2008 Share Posted November 13, 2008 Re: [mccode v2] Numbers Game i think that as long as theres more then 2 players it should work... Quote Link to comment Share on other sites More sharing options...
toufail Posted November 13, 2008 Share Posted November 13, 2008 Re: [mccode v2] Numbers Game NICE ONE +1 Quote Link to comment Share on other sites More sharing options...
castle Posted November 13, 2008 Share 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 Link to comment Share on other sites More sharing options...
toufail Posted November 14, 2008 Share 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 Link to comment Share on other sites More sharing options...
castle Posted November 14, 2008 Share 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 Link to comment Share on other sites More sharing options...
toufail Posted November 14, 2008 Share Posted November 14, 2008 Re: [mccode v2] Numbers Game any one have a working corn :? Quote Link to comment Share on other sites More sharing options...
castle Posted November 14, 2008 Share Posted November 14, 2008 Re: [mccode v2] Numbers Game no i ate all my corn Quote Link to comment Share on other sites More sharing options...
jamboy1 Posted November 15, 2008 Share Posted November 15, 2008 Re: [mccode v2] Numbers Game no i ate all my corn ROFL i don't eat corn :) Quote Link to comment Share on other sites More sharing options...
bob324 Posted November 17, 2008 Share 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 Link to comment Share on other sites More sharing options...
illegalife Posted January 3, 2009 Share 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 Link to comment Share on other sites More sharing options...
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.