veteran Posted November 10, 2006 Posted November 10, 2006 here is a mod that i have converted from 'Budget streets' mod, this could probably be modified to be more elegant.. create a new line in users table called 'gamegoes' as an integer and set your day cron to update by one You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. you will have to change £ to $ Quote
UCC Posted November 11, 2006 Posted November 11, 2006 Re: Lucky Dip Mod Tried your code; works like a charm. That's more success than I've had with budgetstreets. :) Sure your code mod could use some polish but that's cool. I like the idea of rewarding donator days. Quote
veteran Posted November 13, 2006 Author Posted November 13, 2006 Re: Lucky Dip Mod serious bugs with this mode please don't use at the moment until myself or someone else on the forums can fix it. the bug is that as long as you have money you can still have goes on the game !!!! :oops: Quote
seb4774 Posted November 15, 2006 Posted November 15, 2006 Re: Lucky Dip Mod to fix that add the if($ir['gamegoes']==0) { print "Sorry, you only have one go each day! "; } } to the top Quote
trulu Posted May 6, 2007 Posted May 6, 2007 Re: [mccode] Lucky Dip seb... it does not work too --" Quote
spellbyte ® Posted May 6, 2007 Posted May 6, 2007 Re: [mccode] Lucky Dip change You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. to this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
oxidati0n Posted May 7, 2007 Posted May 7, 2007 Re: [mccode] Lucky Dip change You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. to this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. or You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
03laceys Posted May 9, 2007 Posted May 9, 2007 Re: [mccode] Lucky Dip hi when i click search i get this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Any ideas? Quote
~Spooky~ Posted May 9, 2007 Posted May 9, 2007 Re: [mccode] Lucky Dip also I found another bug on it. If you hit refresh and go back you get another turn. It puts you in neg, but its great mod. I got it working and my players love it. I only have that one bug of the refresh. Quote
~Spooky~ Posted May 9, 2007 Posted May 9, 2007 Re: [mccode] Lucky Dip hi when i click search i get this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Any ideas? you have to add new field to users in database called gamegose int 11 not null then set your cron. Mine works!! Quote
03laceys Posted June 8, 2007 Posted June 8, 2007 Re: [mccode] Lucky Dip has any1 got this wrking for 1 go a day? Quote
~Spooky~ Posted June 8, 2007 Posted June 8, 2007 Re: [mccode] Lucky Dip yes I do.... even got it insatlled on my streets. add field to user table call it gamegose int 11 not null then set up a qurey in your turns or steps or streets. Then you got it once a day. There is a bug in it. Quote
khanhdom Posted October 21, 2007 Posted October 21, 2007 Re: [mccode] Lucky Dip yes I do.... even got it insatlled on my streets. add field to user table call it gamegose int 11 not null then set up a qurey in your turns or steps or streets. Then you got it once a day. There is a bug in it. did you figure out how to prevent it from going negative? i'm searching online but i haven't had success on how to not allow it not going into the negatives Quote
gawduranidiot Posted March 23, 2008 Posted March 23, 2008 Re: [mccode] Lucky Dip Since nobody figured out how to stop it from going to negative i will tell you you could change it to an unsigned int in the database, then it cant be negative and then this is the page You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 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.