Jump to content
MakeWebGames

Recommended Posts

Posted

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 $

Posted

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.

Posted

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:

  • 5 months later...
Posted

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.

Posted

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.

Posted

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

  • 5 weeks later...
Posted

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.

  • 4 months later...
Posted

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

  • 5 months later...
Posted

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.

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