Jump to content

[REL] House System (SQL)


Recommended Posts

Posted

Dakilla: This script stop to work after 300 houses

it will not take u to right interior or something and when u create house it creates other dimensions and all other shit!

u need to fix that!

  • 1 month later...
Posted

UPDATE 1.1.0:

-Owners data is now based on user's account names, not on their nicknames. All previously created houses are NOT compatible with this version anymore. I warned you!

-Removed smooth gui fading in/out.

-Fixed bug when you type 't' or 'y' and chatbox and input appears then.

-Fixed bug when you got killed and gui stays opened forever.

-Fixed bug when sometimes player gets frozen forever.

-Fixed bug with permissions.

-Tweak cicles optimizations and reduced code size.

WARNING: All previously created houses ARE NOT COMPATIBLE now with this resource version anymore. You have to re-create them again, or change their 'owner' data to ' ' (empty string) manually with SQLite Browser (if they don't have the owner yet) since this version uses account names for checking house owner. You probably will also have to change owner data to account name of the actual owner for those houses, that have been already bought by someone.

For those who expiriencing that bug with invisible interior: I dont know actually, what causes that, but after some time I was testing script, some interiors were missing objects inside them (couches, chairs, TVs etc.). May be this is an MTA bug or something, I dont know, if someone who expirienced that bug anywhere - leave the feedback.

I don't have the ability to test this script with more than 300+ houses so I can't say anything about it's stability after adding so many houses.

Posted

Hmm.. anyone tried this on latest nightly? It seems to be broken. Exit marker isn't created and if you restart play to escape and go find the marker, when you teleport into the house its just blank (interior not set).

Anyway cool resource.

Posted

can u maybe fix in /hpanel so it works to make a house without interior?

Like if u put a graveyard for sale for maybe 1 million u maybe dont want interior.

  • 3 weeks later...
Posted

Came back to this and figured it out. I wrote a note in the resource and the youtube because this bit is confusing:

STAFF EDIT: Note that the /sint interior numbers used are NOT the interiors to set the house to in the panel. Open admin panel like shown in the video, click yourself in the players list, and look for the interior ID.
  • 1 month later...
  • 2 weeks later...
Posted
are u admin , or is the resource in admin group ?

Does the debugscript give some errors ?

Yes i am admin, but the resource isn't in my admin group. Is that needed?

  • 7 months later...
Posted

Got a suggestion!

Lets say a player is inactive on a server, or he cant come ingame because hes crasched blabal, you could make like a sell button for admins to sell the house, because if u destroy it u need to remake it again :/

Posted

Amazing job dakilla congratz !

I like it very much :D

People can choose interior and set the price and just become available on market, that could be used on a RPG, like house seller :)

Very nice, thanks mate

Posted

Jacob I know that it was a long time ago, but I never had time to pay attention to this :)

And its never late to give efforts to things that I like , but this is just me :P

Only admins can create houses? Hm but that can be easly change, to use for a profession/job of a rpg .

Like I said really nice job ;)

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...