Jump to content
MakeWebGames

Recommended Posts

Posted

This requires the House tax mod, If you do not have it, remove the Upkeep line from properties.php.

Run Sql:

 

You're unable to view this code.

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

 

Create properties.php

You're unable to view this code.

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

 

Create propertymarket.php

You're unable to view this code.

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

 

Replace estate.php with:

You're unable to view this code.

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

 

Add a link to properties.php in main menu and link to propertymarket.php in explore

Enjoy :)

Posted

Re: Multiple Houses [V2]

You do some pretty good work Richard....

I think you could easily improve on this and I think I might just do that, You could now very easily add "Upgrade House" or something.

Good work :wink:

Posted

Re: Multiple Houses [V2]

That is a nice modification you have done there Richard, as Minime said, you could improve this, will work very well on a lot of game.

Nice Work

Posted

Re: Multiple Houses [V2]

Really nice mod!! I like it.

But I have a small question/concern:

A house costs £25,000,000, but when I buy it, I buy it for £27,500,000. Why is that? Has it got something to do with:

 

You're unable to view this code.

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

Posted

Re: Multiple Houses [V2]

Thanks mate!!

I'm having some trouble getting the estate into a table, and I know that's really simple. I managed to make a table, but each house had it's own table!! Grr! lol

Posted

Re: Multiple Houses [V2]

This is something that you forgot to add, and will allow users to cheat in a way. When adding the house to the market, or just selling it straight up without moving out, the user will still have the will of the house they were in. So you should make a query to reset the players current property to the one you start off with, and then they can move into there other houses. Really good mod though mate.

Posted

Re: Multiple Houses [V2]

I was testing this mod out abit, i sold my house so i then moved into the default house, so then i had 2, and these would contsantly grow :(

Posted

Re: Multiple Houses [V2]

 

I was testing this mod out abit, i sold my house so i then moved into the default house, so then i had 2, and these would contsantly grow :(

I had this problem too, I just manually went into the database and deleted the excess homes, lol.

Posted

Re: Multiple Houses [V2]

Can you make a staff ability to View Users Houses and delete them if neccessary as if game is abused and people buy lots of houses, for 1, in edit user, when you cange what house they live in, it dooesnt work, and 2. You cannot see how many houses users have....?

Would be useful, i dont know if i have the capabilities to mod it, but ill try if no1 does...

Posted

Re: Multiple Houses [V2]

 

You're unable to view this code.

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

 

Thanks mate!!

I'm having some trouble getting the estate into a table, and I know that's really simple. I managed to make a table, but each house had it's own table!! Grr! lol

  • 4 weeks later...
  • 2 months later...
Posted

Re: [mccode v2] Multiple Houses

i am having a error with

$dfi=$db->query("SELECT * FROM users WHERE userid={$r['prOWNER ']}",$c);

$tb=$db->fetch_row($dfi);

this is the error

 

Warning: $db->fetch_row(): supplied argument is not a valid MySQL result resource in C:\wamp\www\properties.php on line 70

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