Richard Posted March 1, 2009 Share Posted March 1, 2009 This was created for my game engine, and converted for use with mccodes, this mod includes: - house upgrades - house rentals - multiple houses I have put so much time and effort into this, and I am willing to fix bugs if there are some. Run SQL Data: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add into cron_day.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Create houses.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Not tested right now, so let me know if there are bugs Quote Link to comment Share on other sites More sharing options...
Delete-please Posted March 1, 2009 Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] Good job Richard +1 Quote Link to comment Share on other sites More sharing options...
Richard Posted March 1, 2009 Author Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] Thanks, the post gets updated every now and then, so keep and eye out for them :) Update: [01:18]Added move out function: Just replace houses.php with the one posted about Quote Link to comment Share on other sites More sharing options...
grimsybaby Posted March 1, 2009 Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] yes very good mod, only thing is how do u add an upgrade ? :P or am i blind XD Quote Link to comment Share on other sites More sharing options...
Richard Posted March 1, 2009 Author Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] Just click add upgrades Quote Link to comment Share on other sites More sharing options...
grimsybaby Posted March 1, 2009 Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] Just click add upgrades im doing that and blank there isnt anything in their to upgrade it with :s Quote Link to comment Share on other sites More sharing options...
Richard Posted March 1, 2009 Author Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] Oh, to add those go into phpmyadmin and create some in the house_upgrades table Quote Link to comment Share on other sites More sharing options...
grimsybaby Posted March 1, 2009 Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] Oh, to add those go into phpmyadmin and create some in the house_upgrades table ahh rightyo :) chears ^^ :) Quote Link to comment Share on other sites More sharing options...
TheBigChief Posted March 1, 2009 Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] Where on the crons do I add it? Quote Link to comment Share on other sites More sharing options...
Richard Posted March 1, 2009 Author Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] I don't own a copy of mccodes V2, So I'm not too sure at the moment. But just somewhere with the rest of the queries should be fine Quote Link to comment Share on other sites More sharing options...
Delete-please Posted March 1, 2009 Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] add it anywhere in the sql part just dont add it in the middle of a query lol personally ive had no issues with this script Quote Link to comment Share on other sites More sharing options...
Richard Posted March 1, 2009 Author Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] Just a quick tip, I fixed a bug which prevented users moving into the houses that they rented. So I advise you all to replace your current houses.php with the one from the first post, Sorry about that. Quote Link to comment Share on other sites More sharing options...
TheBigChief Posted March 1, 2009 Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] Got it WOW! Quote Link to comment Share on other sites More sharing options...
dementor Posted March 1, 2009 Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] nice work Quote Link to comment Share on other sites More sharing options...
Richard Posted March 1, 2009 Author Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] nice work Thanks :) Quote Link to comment Share on other sites More sharing options...
Richard Posted March 1, 2009 Author Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] Removed, code didn't work :P I'll try again later Quote Link to comment Share on other sites More sharing options...
Karlos Posted March 1, 2009 Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] Well I always expect good mods for you so two words... WELL DONE! :lol: Quote Link to comment Share on other sites More sharing options...
Richard Posted March 1, 2009 Author Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] :P Thanks Karlos Quote Link to comment Share on other sites More sharing options...
Miniman Posted March 1, 2009 Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] Tested on WAMP server, All look's good apart from index.php :) House 1 = 100 Will House 2 = 200 Will I buy House 1 and Upgrade it by 100 Will, On my index it will say I'm living in House 2, But I'm actually living in House 1 :lol: Quote Link to comment Share on other sites More sharing options...
Richard Posted March 1, 2009 Author Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] Well, You will have to change it so it selects the name from owned_houses Quote Link to comment Share on other sites More sharing options...
Miniman Posted March 1, 2009 Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] Just pointing it out ;) Nicely done, Again :-P Quote Link to comment Share on other sites More sharing options...
champs08 Posted March 1, 2009 Share Posted March 1, 2009 Re: New Houses Mod [Mccodes V2] which links shall i add? Quote Link to comment Share on other sites More sharing options...
TheBigChief Posted March 2, 2009 Share Posted March 2, 2009 Re: New Houses Mod [Mccodes V2] I see that it mentions mood bar when I move in our out of my home but exactly where is the mood bar? I cant see that and Im supposed to add it where do I add it to and how? Quote Link to comment Share on other sites More sharing options...
TheBigChief Posted March 2, 2009 Share Posted March 2, 2009 Re: New Houses Mod [Mccodes V2] Also found a small bug, If I buy a house it wont appear in the new menu untill the next day as the update on the cron is a day one. Quote Link to comment Share on other sites More sharing options...
Miniman Posted March 2, 2009 Share Posted March 2, 2009 Re: New Houses Mod [Mccodes V2] Mood bar is just your Will bar for mccodes, Obviously it's Mood bar on Richard's game/engine. And the bug....I'm not sure I know what you mean? When you buy a house it doesn't appear in houses.php straight away? Because that hasn't happened when I tested it..... Post more and I can help you out :) Quote Link to comment Share on other sites More sharing options...
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.