Guest Sniko` Posted November 19, 2008 Posted November 19, 2008 Okay, here is an upgraded brothel, Thank Zero-Affect for teaching me functions. Errors i currenlty cannot test the script so i will rely on you to test the script for errors and please post back the errors i will try and fix them, Note i have only been coding functions for around 45 - 1HR.30 mins. Description You sign up to the whore house and buy hoes each day and they give you cash Create a file called brothel.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now put this SQL's in the database (PHPMYADMIN) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now open cron_day.php and put this code in You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Any errors reply and remeber to thank Zero_Affect for helping me alot EDITED: A spelling error in the db query Quote
Guest Sniko` Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel Before you upload the scripts im just adding something __________________________________________ Ok ive added it please post your reviews Quote
Zero-Affect Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel Looks good for a first attempt Sniko, by the way anyone disses i will have ur lifes in your posts. you may wanna be reminded this is a learner not a pro like which most of you think you are. give him props where it's due he did this withiin 20 mins of me showing him some new techniques so his brain will be semi mashed lol Quote
War_Hero Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel Excellent work mate! It looks good. I believe I spotted one simple error though: you have function joinconfirm() instead of function buyconfirm(). But other than that, good work. :) Keep it up mate. :-D Quote
Guest Sniko` Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel Excellent work mate! It looks good. I believe I spotted one simple error though: you have function joinconfirm() instead of function buyconfirm(). But other than that, good work. :) Keep it up mate. :-D Thanks mate ive fixed it Quote
War_Hero Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel No problem mate. I do that sometimes. I sometimes forget the names of my functions, especially when I've got a lot of them. So I just go back and double check. :) Quote
Guest Sniko` Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel Ok thanks mate, umm, just 1 question have you tested it? Quote
War_Hero Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel No, I haven't. I'm using my crappy computer, so the database goes really slow and everything. It get's really annoying. If I get round to it, I'll test it for you. :) Quote
Guest Sniko` Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel ok Thanks Mate Quote
MyGunWars Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel I got You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
BlueDevil23 Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel Try this. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Good job Sniko, just be careful with the echos Edited: Found more errors. Quote
MyGunWars Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel Nope You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Zero-Affect Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel i can't test this so im assuming it's ok now? Quote
p_T_s Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel Nah it still comes up with the same thing You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
BlueDevil23 Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel Well i got this much done.... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. its printing now, just getting Fatal error: Cannot redeclare join() in C:\wamp\www\SportMCC\upbrothel.php on line 51 ... now Quote
p_T_s Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel I got the same thing except it was on line 64 Quote
War_Hero Posted November 19, 2008 Posted November 19, 2008 Re: [V2] Upgraded Brothel You could try this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I'm tired, so there's probably something wrong in there. :-P Quote
BlueDevil23 Posted November 20, 2008 Posted November 20, 2008 Re: [V2] Upgraded Brothel You could try this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I'm tired, so there's probably something wrong in there. :-P Yeah its got all the print/echo errors again. Try the one I posted, its at least got rid of that... :) Quote
The Ace Posted November 20, 2008 Posted November 20, 2008 Re: [V2] Upgraded Brothel What about this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Not too sure.....TBH. Ggl. Quote
hirev Posted November 20, 2008 Posted November 20, 2008 Re: [V2] Upgraded Brothel Sniko`- love your mods. I wish you would code my game. ( LOL if you want to you can... hint hint) but really you do great work. +++++ for you Quote
MrGi Posted November 20, 2008 Posted November 20, 2008 Re: [V2] Upgraded Brothel Another Updated version, Tested. Works to my knowledge, If any errors found post them up. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Some spelling and function errors in it that i found.. Also use {$_SERVER['PHP_SELF']} instead of .$_SERVER['PHP_SELF'].' because it usally causes errors as the ones you guys are having. Quote
Zero-Affect Posted November 20, 2008 Posted November 20, 2008 Re: [V2] Upgraded Brothel Another Updated version, Tested. Works to my knowledge, If any errors found post them up. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Some spelling and function errors in it that i found.. Also use {$_SERVER['PHP_SELF']} instead of .$_SERVER['PHP_SELF'].' because it usally causes errors as the ones you guys are having. ah yeah sniko i meant '..' if its ' and {} if its " for statements also hint for the future You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. could easily be one query like so You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. but i still prefer the sprintf way which i can explain in more detail in the near future Quote
BlueDevil23 Posted November 20, 2008 Posted November 20, 2008 Re: [V2] Upgraded Brothel few small little errors MrGi You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
MrGi Posted November 20, 2008 Posted November 20, 2008 Re: [V2] Upgraded Brothel There was many errors within the code. Sniko, Good job though bud, It was a great first try, and i give props for Zero teaching ya the functions etc etc. One thing, When You had You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You would end your print in 2 spots, first after the Statment and another after the query, I found that on all your querys mate, Just watch out for things like that. Overall GOod work mate, Keep it up ******UPDATE******** Still getting some errors, as there are alot of them and im short on time atm, I will post a full working version when i get time.. 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.