Jump to content
MakeWebGames

Recommended Posts

Posted

Does anyone have a working V2 streets that i can have???

i have been looking around the site and cant find anything so does anyone have

a working streets ???

If you do can you post it here please

Posted

Re: [Mccodes V2] Streets

first make a file called streets.php put this in

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

than make a file called turns.php and put this in

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

then go on php my admin and put the sql in

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Change the above default number to something you want it to be, So when users sign up they start with that amount of turns*

Add to day cron

Code:

$db->query("UPDATE users SET turns=25");

Posted

Re: [Mccodes V2] Streets

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

A bit tweaked from the original one. Not that good I know, but you can change it. I think there's a table too

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Cron_Day:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Easily editable, my query just tops them up 100 per day until it gets to 1000, then it won't go higher.

Posted

Re: [Mccodes V2] Streets

 

first make a file called streets.php put this in

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

than make a file called turns.php and put this in

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

then go on php my admin and put the sql in

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Change the above default number to something you want it to be, So when users sign up they start with that amount of turns*

Add to day cron

Code:

$db->query("UPDATE users SET turns=25");

Why make 2 files? You also left out the ; at the end of the MYSQL table thing.

Posted

Re: [Mccodes V2] Streets

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Casey this gives a error. and i don't think it's needed.. does the same as the cron. and users are going to call it manualy and keep getting 100 turns each time...

  • 1 month 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.

×
×
  • Create New...