Jump to content
MakeWebGames

Update for houses!


Newbie
 Share

Recommended Posts

Ok basically what this does is lets users buy houses for money and points/crystals or whatever its called on your game

This might need to be edited to fit you game as i only set it up on stranded estate.php & staff_houses.php

dunno if this has been done before but never seen it on these fourms

1. Add this to your database

i used hPOINTS as i am using points on my game just change the POINTS to whatever you want it called and edit all posts where it says ['hPOINTS']

 

You're unable to view this code.

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

 

2.

estate.php

You're unable to view this code.

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

 

staff_houses.php

You're unable to view this code.

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

 

and thats it enjoy :)

if you find any bugs post here but there should not be any i have tested and working fine :)

Screenshots

Add house

[ATTACH=CONFIG]283[/ATTACH]

Edit house

[ATTACH=CONFIG]284[/ATTACH]

Viewing houses

[ATTACH=CONFIG]285[/ATTACH]

Buy house

[ATTACH=CONFIG]286[/ATTACH]

addhousescreenshot.thumb.jpg.4025c266a6695892e3faffb8d178fef9.jpg

edithousescreenshot.thumb.jpg.d60abb006590a42a54c6255e27c63234.jpg

veiwhousescreenshot.thumb.jpg.561850cc0af6685182d877241a72bb6d.jpg

buyhousescreenshot.thumb.jpg.3be7cf4b61032cfa1bad793afe88e3be.jpg

Edited by Newbie
Bug fixed thanks to sniko :) thanks
Link to comment
Share on other sites

Ok i found a bug

when you click to add the house or edit it and you put in the amount of crystals/points it doesnt update it on estate.php or databse

i have to manualy add it through the database for it to change hmm ill take another look tommorow see if i can fix it as its late here and tried unless anyone else wants to take a look :) would appreciate it

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.

 Share

×
×
  • Create New...