• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua Demon Oak Few Questions

tocold

New Member
Joined
Jun 12, 2016
Messages
73
Reaction score
2
I never make this quest on global tibia... But my players want this...

I found script on this forum
Topic:
https://otland.net/threads/working-demon-oak-quest.40244/

But i have few questions:
1- Someone could give me itemid to book 'T' on the 4th img http://i32.tinypic.com/55jvo0.png
2- What is this uniqui id 55100 [what i need to do with this graves?]

3- How to fix this error?

Code:
[18:56:03.385] [Error - Action Interface]
[18:56:03.385] data/actions/scripts/demonOak.lua:onUse
[18:56:03.385] Description:
[18:56:03.385] data/lib/102-demonOak.lua:244: attempt to call method 'lower' (a nil value)
[18:56:03.385] stack traceback:
[18:56:03.385]    data/lib/102-demonOak.lua:244: in function 'monsterExists'
[18:56:03.385]    data/actions/scripts/demonOak.lua:59: in function <data/actions/scripts/demonOak.lua:1>

[18:56:04.466] [Error - Action Interface]
[18:56:04.466] data/actions/scripts/demonOak.lua:onUse
[18:56:04.466] Description:
[18:56:04.466] data/lib/102-demonOak.lua:244: attempt to call method 'lower' (a nil value)
[18:56:04.466] stack traceback:
[18:56:04.466]    data/lib/102-demonOak.lua:244: in function 'monsterExists'
[18:56:04.466]    data/actions/scripts/demonOak.lua:59: in function <data/actions/scripts/demonOak.lua:1>

When i tried use hallowed axe on tree..
 
Last edited:
Undo what I told you to do before, and change this at the top
DISTRO_VERSION = 036
to
DISTRO_VERSION = 040

with:
Code:
if string.lower(m_name) == string.lower(name) then

Code:
[17:37:03.002] [Error - Action Interface]
[17:37:03.002] data/actions/scripts/demonOak.lua:onUse
[17:37:03.002] Description:
[17:37:03.002] data/lib/102-demonOak.lua:244: bad argument #1 to 'lower' (string expected, got table)
[17:37:03.002] stack traceback:
[17:37:03.002]    [C]: in function 'lower'
[17:37:03.002]    data/lib/102-demonOak.lua:244: in function 'monsterExists'
[17:37:03.002]    data/actions/scripts/demonOak.lua:59: in function <data/actions/scripts/demonOak.lua:1>



with:
Code:
if m_name:lower() == name:lower() then

Code:
[17:39:46.458] [Error - Action Interface]
[17:39:46.458] data/actions/scripts/demonOak.lua:onUse
[17:39:46.458] Description:
[17:39:46.458] data/lib/102-demonOak.lua:244: attempt to call method 'lower' (a nil value)
[17:39:46.458] stack traceback:
[17:39:46.458]    data/lib/102-demonOak.lua:244: in function 'monsterExists'
[17:39:46.458]    data/actions/scripts/demonOak.lua:59: in function <data/actions/scripts/demonOak.lua:1>

[17:39:47.472] [Error - Action Interface]
[17:39:47.472] data/actions/scripts/demonOak.lua:onUse
[17:39:47.472] Description:
[17:39:47.472] data/lib/102-demonOak.lua:244: attempt to call method 'lower' (a nil value)
[17:39:47.473] stack traceback:
[17:39:47.473]    data/lib/102-demonOak.lua:244: in function 'monsterExists'
[17:39:47.473]    data/actions/scripts/demonOak.lua:59: in function <data/actions/scripts/demonOak.lua:1>

[17:39:48.423] [Error - Action Interface]
[17:39:48.423] data/actions/scripts/demonOak.lua:onUse
[17:39:48.423] Description:
[17:39:48.423] data/lib/102-demonOak.lua:244: attempt to call method 'lower' (a nil value)
[17:39:48.423] stack traceback:
[17:39:48.423]    data/lib/102-demonOak.lua:244: in function 'monsterExists'
[17:39:48.423]    data/actions/scripts/demonOak.lua:59: in function <data/actions/scripts/demonOak.lua:1>

[17:39:50.747] [Error - Action Interface]
[17:39:50.747] data/actions/scripts/demonOak.lua:onUse
[17:39:50.747] Description:
[17:39:50.747] data/lib/102-demonOak.lua:244: attempt to call method 'lower' (a nil value)
[17:39:50.747] stack traceback:
[17:39:50.748]    data/lib/102-demonOak.lua:244: in function 'monsterExists'
[17:39:50.748]    data/actions/scripts/demonOak.lua:59: in function <data/actions/scripts/demonOak.lua:1>
 
with:
Code:
if string.lower(m_name) == string.lower(name) then

Code:
[17:37:03.002] [Error - Action Interface]
[17:37:03.002] data/actions/scripts/demonOak.lua:onUse
[17:37:03.002] Description:
[17:37:03.002] data/lib/102-demonOak.lua:244: bad argument #1 to 'lower' (string expected, got table)
[17:37:03.002] stack traceback:
[17:37:03.002]    [C]: in function 'lower'
[17:37:03.002]    data/lib/102-demonOak.lua:244: in function 'monsterExists'
[17:37:03.002]    data/actions/scripts/demonOak.lua:59: in function <data/actions/scripts/demonOak.lua:1>



with:
Code:
if m_name:lower() == name:lower() then

Code:
[17:39:46.458] [Error - Action Interface]
[17:39:46.458] data/actions/scripts/demonOak.lua:onUse
[17:39:46.458] Description:
[17:39:46.458] data/lib/102-demonOak.lua:244: attempt to call method 'lower' (a nil value)
[17:39:46.458] stack traceback:
[17:39:46.458]    data/lib/102-demonOak.lua:244: in function 'monsterExists'
[17:39:46.458]    data/actions/scripts/demonOak.lua:59: in function <data/actions/scripts/demonOak.lua:1>

[17:39:47.472] [Error - Action Interface]
[17:39:47.472] data/actions/scripts/demonOak.lua:onUse
[17:39:47.472] Description:
[17:39:47.472] data/lib/102-demonOak.lua:244: attempt to call method 'lower' (a nil value)
[17:39:47.473] stack traceback:
[17:39:47.473]    data/lib/102-demonOak.lua:244: in function 'monsterExists'
[17:39:47.473]    data/actions/scripts/demonOak.lua:59: in function <data/actions/scripts/demonOak.lua:1>

[17:39:48.423] [Error - Action Interface]
[17:39:48.423] data/actions/scripts/demonOak.lua:onUse
[17:39:48.423] Description:
[17:39:48.423] data/lib/102-demonOak.lua:244: attempt to call method 'lower' (a nil value)
[17:39:48.423] stack traceback:
[17:39:48.423]    data/lib/102-demonOak.lua:244: in function 'monsterExists'
[17:39:48.423]    data/actions/scripts/demonOak.lua:59: in function <data/actions/scripts/demonOak.lua:1>

[17:39:50.747] [Error - Action Interface]
[17:39:50.747] data/actions/scripts/demonOak.lua:onUse
[17:39:50.747] Description:
[17:39:50.747] data/lib/102-demonOak.lua:244: attempt to call method 'lower' (a nil value)
[17:39:50.747] stack traceback:
[17:39:50.748]    data/lib/102-demonOak.lua:244: in function 'monsterExists'
[17:39:50.748]    data/actions/scripts/demonOak.lua:59: in function <data/actions/scripts/demonOak.lua:1>
You changed the distro version?
 
Back
Top