Jump to content
MakeWebGames

Recommended Posts

Posted

I have noticed there's a little by in this file,

When you buy your house if you click back by accident or refresh the page it allows you to buy the house again.

Which of course takes more money away from the user.

Can someone fix this?

Or give me a little idea of how to do it?

 

You're unable to view this code.

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

Posted

Re: V2 Estate.php Fix?

To be honest, I just briefly looked at the file, but I imagine the program may be fixed by:

Find

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.

Posted

Re: V2 Estate.php Fix?

I was told that, But the whole thing is buggy.

You can buy 1 house then the other without selling, then miss out on money lol

So I wont be using this.

Thanks Sean

Posted

Re: V2 Estate.php Fix?

I noticed sometimes on V2 that the queries was always to blame depending on how the rest of your files are laid out.

try changing

 

You're unable to view this code.

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

 

To

 

You're unable to view this code.

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

 

Im not saying this is the cause but its helped me in the past

Posted

Re: V2 Estate.php Fix?

Try this

 

You're unable to view this code.

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

 

Ive added

echo '<script>alert("House Sold You went back to the Lowest priced House");</script>';

echo '<script>history.back(1);</script>';

exit;

}

and

echo '<script>alert("House Purchased Enjoy Your New Home");</script>';

echo '<script>history.back(1);</script>';

exit;

}

And fixed a willmax error

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