Jump to content
MakeWebGames

[mccode] Bugget streets for v1


on_fire

Recommended Posts

(Dabs fixed my post yay)

You're unable to view this code.

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

You will also need to alter the users tabel u can do so by running this query

You're unable to view this code.

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

if this dosent work for u mail me [email protected] for more info ill be posting a better version soon but for now use this one also you can add and remove the amout or what u find while searching and the chance by editing the php code and querys

Link to comment
Share on other sites

  • Replies 61
  • Created
  • Last Reply

Top Posters In This Topic

[Lite] Budget Streets

BUDGET STREETS adapted by Dabomstew, working for Lite version:

File 1: buggetstreets.php

You're unable to view this code.

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

Run this sql query:

You're unable to view this code.

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

Open: cron_day.php

Find:

You're unable to view this code.

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

Add After:

You're unable to view this code.

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

 

You're done! Just add a link to buggetstreets.php where you like now.

Link to comment
Share on other sites

Re: [Lite] Bugget streets v1

 

(Dabs fixed my post yay)

You're unable to view this code.

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

if this dosent work for u mail me [[email protected]][email protected][/email] for more info ill be posting a better version soon but for now use this one also you can add and remove the amout or what u find while searching and the chance by editing the php code and querys

 

NOW i know your the same rocky i had on my game, i recognize the email address

Link to comment
Share on other sites

[Lite] Bugget streets v1

nice mod... have abit to go with this

open header.php and look for

 

You're unable to view this code.

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

 

after it add

 

You're unable to view this code.

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

 

then you should have something that looks like this

Name: bored292 [1]

Money: $6,442,490,066

Level: 22

Turns: 100

[Emergency Logout]

Link to comment
Share on other sites

[Lite] Bugget streets v1

dont meant to bother you guys with silly questions but i just started looking at coding yesterday and i wanted to test this out in a game im helping run but im nto shur of hwo to run a sql query... so if somebody could let me know that would make me happy :yes:

Thnx

-Rodel~El Noobo~

Link to comment
Share on other sites

[Lite] Bugget streets v1

I have just tried to create my own steps.php file for the cron job updates of the steps for the full version, i would just like a second opinion please

 

You're unable to view this code.

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

 

this would be put into cpanel like this

 

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

[Lite] Bugget streets v1

blimey,,, i really should concentrate more when doing this stuff lol

it should have been this

You're unable to view this code.

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

 

Everyone has been calling them steps and in the DB it's called turns

I thought that would have been the problem solved but it's not, i really could do with some help here guys

Link to comment
Share on other sites

[Lite] Bugget streets v1

2 things

1:when i click explore it does all 100..

how do i make it so i have to click for each time?

and

2:the button you click says explore how would i change this to say

swim... then the button would say swim instead of explore..

thanks to all the coders out there helping noobs like me learn new stuff

:)

Link to comment
Share on other sites

[Lite] Bugget streets v1

to change explore to whatever you want find

 

You're unable to view this code.

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

 

and change explore accordingly

as for the other question i would like to know this too, but then again i'd like a reply to my other question regarding the turns/steps :)

Link to comment
Share on other sites

[Lite] Bugget streets v1

 

blimey,,, i really should concentrate more when doing this stuff lol

it should have been this

You're unable to view this code.

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

 

Everyone has been calling them steps and in the DB it's called turns

I thought that would have been the problem solved but it's not, i really could do with some help here guys

just a thought...but why would u want to set the turns = turns - 100 where turns are greater than 0? that makes no sense to me...so if i have 100 turns, when that cron runs, im gonna have zero.. your query should be

 

You're unable to view this code.

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

 

thats really all u need....

i dont see any point for defining $r if u dont even use it in the script lol...

 

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

[Lite] Bugget streets v1

theres no need to write global $c; as you only need to declare globals when you aren't in the global scope (ie in a function)

 

You're unable to view this code.

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

 

since link_identifier is in brackets, its not required in the query function (the $c bit)

Link to comment
Share on other sites

  • 3 weeks later...

[Lite] Bugget streets v1

o man i already added items... its easy enough

heres one of my chances

 

You're unable to view this code.

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

 

$itemidexplore i just set to the item ID

i also added that they can go to hospital

 

You're unable to view this code.

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

 

ya, i know the coding is somewhat inefficient, but it gets the job done.

i also added a secret crime that they could find while exploring, thus unlocking it so that they could do it once, then it disappeared again

Link to comment
Share on other sites

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