Jump to content
MakeWebGames

[mccode] Lucky Dip


veteran
 Share

Recommended Posts

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 $

Link to comment
Share on other sites

  • 5 months later...

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 5 weeks later...
  • 4 months later...

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

Link to comment
Share on other sites

  • 5 months later...

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.

 Share

×
×
  • Create New...