• 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!

Lua Door of expertise problem

BahamutxD

Jack of all trades, master of none
Joined
Jun 8, 2009
Messages
922
Solutions
19
Reaction score
512
Location
Spain
Hello,

While testing my map I discovered how some of my doors of expertise ain't working like they should.

Some combinations of doors with AIDs won't work, the door will push the player out with this error. The push back is 2 SQM too, so thats giving me a hint that there may be some conflict with other script maybe?

21:10 The door seems to be sealed against unwanted intruders. In green letters.

This is some of the doors giving problems.

21:10 You see a gate of expertise for level 116.
Item ID: 5130, Action ID: 1116
Position: 538, 617, 11

21:11 You see a gate of expertise for level 111.
Item ID: 5112, Action ID: 1111
Position: 532, 613, 11

21:11 You see a gate of expertise for level 107.
Item ID: 3549, Action ID: 1107
Position: 526, 616, 11

The script for the doors is doors.lua from latests TFS
forgottenserver/doors.lua at master · otland/forgottenserver · GitHub

Actions.xml

Code:
    <action fromid="1209" toid="1214" script="other/doors.lua" />
    <action fromid="1219" toid="1262" script="other/doors.lua" />
    <action fromid="1539" toid="1542" script="other/doors.lua" />
    <action fromid="2086" toid="2092" script="other/doors.lua" />
    <action fromid="3535" toid="3552" script="other/doors.lua" />
    <action fromid="4913" toid="4918" script="other/doors.lua" />
    <action fromid="5082" toid="5085" script="other/doors.lua" />
    <action fromid="5098" toid="5145" script="other/doors.lua" />
    <action fromid="5278" toid="5295" script="other/doors.lua" />
    <action fromid="5515" toid="5518" script="other/doors.lua" />
    <action fromid="5732" toid="5737" script="other/doors.lua" />
    <action fromid="5745" toid="5749" script="other/doors.lua" />
    <action fromid="6192" toid="6209" script="other/doors.lua" />
    <action fromid="6249" toid="6266" script="other/doors.lua" />
    <action fromid="6795" toid="6802" script="other/doors.lua" />
    <action fromid="6891" toid="6908" script="other/doors.lua" />
    <action fromid="7033" toid="7050" script="other/doors.lua" />
    <action fromid="7054" toid="7057" script="other/doors.lua" />
    <action fromid="8541" toid="8558" script="other/doors.lua" />
    <action fromid="9165" toid="9184" script="other/doors.lua" />
    <action fromid="9267" toid="9284" script="other/doors.lua" />
    <action itemid="10032" script="other/doors.lua" />
    <action fromid="10268" toid="10285" script="other/doors.lua" />
    <action fromid="10468" toid="10486" script="other/doors.lua" />
    <action fromid="10775" toid="10777" script="other/doors.lua" />
    <action fromid="10780" toid="10786" script="other/doors.lua" />
    <action fromid="10789" toid="10792" script="other/doors.lua" />
    <action fromid="12092" toid="12105" script="other/doors.lua" />
    <action fromid="12188" toid="12190" script="other/doors.lua" />
    <action fromid="12193" toid="12199" script="other/doors.lua" />
    <action fromid="12202" toid="12205" script="other/doors.lua" />
    <action fromid="19840" toid="19857" script="other/doors.lua" />
    <action fromid="19980" toid="19997" script="other/doors.lua" />
    <action fromid="20273" toid="20290" script="other/doors.lua" />
    <action fromid="17235" toid="17238" script="other/doors.lua" />
    <action fromid="18208" toid="18209" script="other/doors.lua" />
    <action fromid="13020" toid="13023" script="other/doors.lua" />

Can anyone throw me some light here, I just don't know how to continue myself to try to fix this.

edit. forgot to add, ofc the player using the door met the level requirements :p
 
Last edited:
Solution
Removing spaces did nothing.

If there is a conflict, it must be something within the actions folder right? There is no other AID or UID with the same number as expertise doors (range 1000-1999) in both actions.xml and map.otbm.

If must be something I'm missing, I just can't see what it is.

Okay, fixed it.

In movements, I was still using level doors.lua and quest doors.lua instead of the new level_doors.lua and quest_doors.lua.

Can close this thread.
Removing spaces did nothing.

If there is a conflict, it must be something within the actions folder right? There is no other AID or UID with the same number as expertise doors (range 1000-1999) in both actions.xml and map.otbm.

If must be something I'm missing, I just can't see what it is.

Okay, fixed it.

In movements, I was still using level doors.lua and quest doors.lua instead of the new level_doors.lua and quest_doors.lua.

Can close this thread.
 
Last edited by a moderator:
Solution
Back
Top