Forum

> > CS2D > Scripts > [Tibia] Bugged Doors
Forums overviewCS2D overview Scripts overviewLog in to reply

English [Tibia] Bugged Doors

4 replies
To the start Previous 1 Next To the start

old [Tibia] Bugged Doors

Contr3K
User Off Offline

Quote
Hi,I have a problem for a long time , I'm doing my edit tibia and have the following problem :

When I make a home simply does not open the door , I can buy everything but the door does not open

This is the line of the house

1
{pos1 = {10,41}, pos2 = {17,37}, ent = {18,37}, door = {17,37}, price = 2000, owner = nil, endtime = nil, allow = {}, doors = {[1] = {}}}, -- 1_1

You can help?

Thanks.

old Re: [Tibia] Bugged Doors

Zeik
User Off Offline

Quote
I don't know about that script but I suppose that that line contains the attributes of the house.

1
{pos1 = {10,41}, pos2 = {17,37}, ent = {18,37}, door = {17,37}, price = 2000, owner = nil, endtime = nil, allow = {}, doors = {[1] = {}}},

It says that
owner = nil
which means it's owned by no one. So probably you need to be owner to open the door.

old Re: [Tibia] Bugged Doors

Contr3K
User Off Offline

Quote
Oh, yeah, that ..
I rent the house but by pressing the button for action, nothing happens, which in my case is "O" because the change of the "E" because I believed that my keys were bad, and it was not

old Re: [Tibia] Bugged Doors

Yates
Reviewer Off Offline

Quote
owner
is used to give a permanent owner of the house because people lose ownership over time (houses are rented). Houses in tibia are also not bought by using
E
, you say
!house buy
when standing in front of the main door or inside of the house.

The only thing I could think of being wrong with your code would be the door positioning. Double check it.

• Edit: Try changing
pos1 = {10,41}, pos2 = {17,37}
to
pos1 = {10,37}, pos2 = {17,41}


If you don't know what I mean, this is what you are currently doing:

IMG:https://i.imgur.com/JXO124s.png


You are drawing from the lowest point to the highest (left to right) which should be this:

IMG:https://i.imgur.com/DZ7wrUG.png


Tibia house positions are created from corner to corner, these should always be from the top left to the bottom right.
edited 1×, last 06.07.16 09:22:51 am

old Re: [Tibia] Bugged Doors

Contr3K
User Off Offline

Quote
Amazing, thanks for your help, had long been looking to fix this problem and you have helped me a lot
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview