• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.X+ Door's being locked for some reason

Joriku

Working in the mines, need something?
Premium User
Joined
Jul 16, 2016
Messages
1,141
Solutions
15
Reaction score
432
Location
Sweden
Hey,
Using OTServBR, some doors all around the map is being locked for some weird reason. For example 1212 is locked (Closed door) can't be open due to "This door is locked". Whole Issavi (almost) Is locked down.
What's causing this and how would it be solved?
 
Solution
This is simple. We redid the doors system in this commit: New door system and reorganization of the folder libs. (#868) · opentibiabr/otservbr-global@f436c91 (https://github.com/opentibiabr/otservbr-global/commit/f436c91bfb8237c8ae4276179e55851e324cf479)

With this, all doors are as in the global tibia, and the key doors (always those that have two doors of equal appearance) were duly registered in the scripts as LOCKED DOOR (they only open with the key / action and door / action of the key. With that, the doors that are KEY but are on the map as an unlocked door, have been locked, so it is now necessary to change them on the map to the correct id.

My advice is to first look for project support for this type of question, I am...
This is simple. We redid the doors system in this commit: New door system and reorganization of the folder libs. (#868) · opentibiabr/otservbr-global@f436c91 (https://github.com/opentibiabr/otservbr-global/commit/f436c91bfb8237c8ae4276179e55851e324cf479)

With this, all doors are as in the global tibia, and the key doors (always those that have two doors of equal appearance) were duly registered in the scripts as LOCKED DOOR (they only open with the key / action and door / action of the key. With that, the doors that are KEY but are on the map as an unlocked door, have been locked, so it is now necessary to change them on the map to the correct id.

My advice is to first look for project support for this type of question, I am taking the positions of the doors there and correcting them on the map at localhost, to go up in the repository.
 
Solution
EduardoDantas was faster.

-----

It is defined as a locked door.

List of unlocked doors:


Check inside the script for the doors here:
 
EduardoDantas was faster.

-----

It is defined as a locked door.

List of unlocked doors:


Check inside the script for the doors here:


Yes, it is defined as locked door.

It is locked by default, in its description when using (set in items.xml) it has "It is locked"
It cannot be opened and should not be used unless it has a key or is impossible to enter.

It could easily be changed in the script, but that would not be correct, the correct thing is to change it on the map, (previous global projects put it wrong).
 
Last edited:
Yes, it is defined as locked door.

It is locked by default, in its description when using (set in items.xml) it has "It is locked"
It cannot be opened and should not be used unless it has a key or is impossible to enter.

It could easily be changed in the script, but that would not be correct, the correct thing is to change it on the map, (previous global projects put it wrong).
Allright, so just recommending to change all the doors that's locked?
 
Back
Top