Strats Posted April 1, 2009 Posted April 1, 2009 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. Quote
seanybob Posted April 1, 2009 Posted April 1, 2009 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. Quote
Strats Posted April 1, 2009 Author Posted April 1, 2009 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 Quote
Uridium Posted April 1, 2009 Posted April 1, 2009 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 Quote
Strats Posted April 1, 2009 Author Posted April 1, 2009 Re: V2 Estate.php Fix? Didn't help me but thank you very much for trying :-) Quote
Uridium Posted April 1, 2009 Posted April 1, 2009 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.