• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Action Working Demon Oak Quest

I check one more time but when I updated new one quest don't work. DEV 0.4. When I cut oak with hallowed axe monsters don't summon
 
I check one more time but when I updated new one quest don't work. DEV 0.4. When I cut oak with hallowed axe monsters don't summon

Wait for another donator reply, i made and tested this script on 0.3.6PL1 and i don't know if is 100% working on 0.4
 
Was my mistake, lib was updated and fixed.

Now works. Thanks :D

Edit
Maybe try do something with yells :p something like this:
PHP:
if getPlayerStorageValue(cid, 15006) < 5 then
            yell = yell + 1            
                    if item.actionid == 15002 and getPlayerStorageValue(cid, 15006) == -1 then
                        setPlayerStorageValue(cid, 15006,yell)
                        doCreatureSay(cid, "Find a way in here and release me! Pleeeease hurry!",TALKTYPE_ORANGE_1 )
                    elseif item.actionid == 15003 and getPlayerStorageValue(cid, 15006) == 0 then
                        setPlayerStorageValue(cid, 15006,yell)
                        doCreatureSay(cid, "I can bring your beloved back from the dead,just release me!",TALKTYPE_ORANGE_1 )
                    elseif item.actionid == 15004 and getPlayerStorageValue(cid, 15006) == 1 then
                        setPlayerStorageValue(cid, 15006,yell)
                        doCreatureSay(cid, pos1, "What is this? Demon legs lying here? Someone might have lost them.",TALKTYPE_ORANGE_1 )
                    elseif item.actionid == 15005 and getPlayerStorageValue(cid, 15006) == 2 then
                        setPlayerStorageValue(cid, 15006,yell)
                        doCreatureSay(cid, "I'm trapped come here and free me, fast!!!",TALKTYPE_ORANGE_1 )
                    elseif item.actionid == 15006 and getPlayerStorageValue(cid, 15006) == 3 then
                        setPlayerStorageValue(cid, 15006,yell)
                        doCreatureSay(cid, "I'm trapped come here and free me, fast!!!",TALKTYPE_ORANGE_1 )
                    end
 
Last edited:
when i use axe on dead tree have this error :

Code:
[27/02/2011 20:33:29] [Error - Action Interface] 
[27/02/2011 20:33:29] data/actions/scripts/quests/demonOak.lua:onUse
[27/02/2011 20:33:29] Description: 
[27/02/2011 20:33:29] data/actions/scripts/script.lua:21: attempt to perform arithmetic on local 'radiusx' (a table value)
[27/02/2011 20:33:29] stack traceback:
[27/02/2011 20:33:29] 	data/actions/scripts/script.lua:21: in function 'getCreaturesInRange'
[27/02/2011 20:33:29] 	data/lib/103-DemonOak.lua:136: in function 'canEnter'
[27/02/2011 20:33:29] 	data/actions/scripts/quests/demonOak.lua:6: in function <data/actions/scripts/quests/demonOak.lua:1>
 
Error:
Code:
>> Loading Demon Oak Lib V0.67 REV: 43 (February 27 2011) By Darkhaos (Contact:
http://otland.net/members/darkhaos/)

> Checking demon oak lib...

[18:50:03.179] [Error - Weapon Interface]
[18:50:03.186] data/lib/102-demonOak.lua
[18:50:03.192] Description:
[18:50:03.199] data/lib/102-demonOak.lua:237: attempt to perform arithmetic on a
 nil value
[18:50:03.211] [Warning - LuaInterface::initState] Cannot load data/lib/

> Checking demon oak lib...

[18:50:03.254] [Error - Spell Interface]
[18:50:03.261] data/lib/102-demonOak.lua
[18:50:03.268] Description:
[18:50:03.274] data/lib/102-demonOak.lua:237: attempt to perform arithmetic on a
 nil value
[18:50:03.286] [Warning - LuaInterface::initState] Cannot load data/lib/

> Checking demon oak lib...

[18:50:03.329] [Error - Action Interface]
[18:50:03.336] data/lib/102-demonOak.lua
[18:50:03.344] Description:
[18:50:03.350] data/lib/102-demonOak.lua:237: attempt to perform arithmetic on a
 nil value
[18:50:03.362] [Warning - LuaInterface::initState] Cannot load data/lib/

> Checking demon oak lib...

[18:50:03.405] [Error - TalkAction Interface]
[18:50:03.412] data/lib/102-demonOak.lua
[18:50:03.419] Description:
[18:50:03.426] data/lib/102-demonOak.lua:237: attempt to perform arithmetic on a
 nil value
[18:50:03.438] [Warning - LuaInterface::initState] Cannot load data/lib/

> Checking demon oak lib...

[18:50:03.486] [Error - MoveEvents Interface]
[18:50:03.493] data/lib/102-demonOak.lua
[18:50:03.500] Description:
[18:50:03.507] data/lib/102-demonOak.lua:237: attempt to perform arithmetic on a
 nil value
[18:50:03.518] [Warning - LuaInterface::initState] Cannot load data/lib/

> Checking demon oak lib...

[18:50:03.561] [Error - CreatureScript Interface]
[18:50:03.568] data/lib/102-demonOak.lua
[18:50:03.575] Description:
[18:50:03.582] data/lib/102-demonOak.lua:237: attempt to perform arithmetic on a
 nil value
[18:50:03.594] [Warning - LuaInterface::initState] Cannot load data/lib/

> Checking demon oak lib...

[18:50:03.637] [Error - GlobalEvent Interface]
[18:50:03.643] data/lib/102-demonOak.lua
[18:50:03.650] Description:
[18:50:03.656] data/lib/102-demonOak.lua:237: attempt to perform arithmetic on a
 nil value
[18:50:03.669] [Warning - LuaInterface::initState] Cannot load data/lib/
[18:50:03.669] [Warning - LuaInterface::initState] Cannot load data/lib/
[18:50:04.283] >> Loading mods...
[18:50:04.291] > Loading buyvip_command.xml... done.
[18:50:04.300] > Loading changender_command.xml... done.
[18:50:04.321] > Loading custommonsters.xml... done.
[18:50:04.329] > Loading firstitems.xml... done.
[18:50:04.337] > Loading highscorebook.xml... done.
[18:50:04.344] > 5 mods were loaded.
[18:50:04.352] >> Loading experience stages
[18:50:04.360] >> Loading monsters
[18:50:05.342] >> Loading map and spawns...
[18:50:05.743] > Map size: 64966x64987.
[18:50:05.752] > Map descriptions:
[18:50:05.758] "Saved with Remere's Map Editor 2.1"
[18:50:05.764] "No map description available."
[18:50:08.930] > Map loading time: 3.581 seconds.

> Checking demon oak lib...

[18:50:09.035] [Error - NpcScript Interface]
[18:50:09.042] data/lib/102-demonOak.lua
[18:50:09.047] Description:
[18:50:09.054] data/lib/102-demonOak.lua:237: attempt to perform arithmetic on a
 nil value
[18:50:09.067] [Warning - LuaInterface::initState] Cannot load data/lib/

Help
 
Working fine on 0.4

Just need one little more thing.. Quest Log, and its perfect.

Thanks.
 
Did you updated it? i updated the script some time ago fixing that

yep. i have latest version.
btw.
can you remake script (enter to doq by step on title near dead tree like global tibia)

tFS 0.4
 
Last edited:
Should there be any unique id on the Oak? Cuz i can use the hallowed axe on the Oak unlimited times, it just summons more monsters.
 
Hello i using TFS 0.3.6 Crying Damson and i got errors:
When i turn on server:
[22/05/2011 22:13:47] > Checking demon oak lib...

[22/05/2011 22:13:47] [Error - TalkAction Interface]
[22/05/2011 22:13:47] data/lib/102-demonOak.lua
[22/05/2011 22:13:47] Description:
[22/05/2011 22:13:47] data/lib/102-demonOak.lua:236: attempt to perform arithmetic on a nil value
[22/05/2011 22:13:47] [Warning - LuaScriptInterface::initState] Cannot load data/lib/
and
[22/05/2011 22:13:49] [Error - Npc interface]
[22/05/2011 22:13:49] data/lib/102-demonOak.lua
[22/05/2011 22:13:49] Description:
[22/05/2011 22:13:49] data/lib/102-demonOak.lua:236: attempt to perform arithmetic on a nil value
[22/05/2011 22:13:49] [Warning - LuaScriptInterface::initState] Cannot load data/lib/
When i use hallowed axe on part of demon oak:
[22/05/2011 22:16:09] [Error - Action Interface]
[22/05/2011 22:16:09] data/actions/scripts/demonOak.lua:eek:nUse
[22/05/2011 22:16:09] Description:
[22/05/2011 22:16:09] data/lib/102-demonOak.lua:236: attempt to perform arithmetic on a nil value
[22/05/2011 22:16:09] stack traceback:
[22/05/2011 22:16:09] data/lib/102-demonOak.lua:236: in function 'monsterExists'
[22/05/2011 22:16:09] data/actions/scripts/demonOak.lua:58: in function <data/actions/scripts/demonOak.lua:1>
When i turn on server:
[22/05/2011 22:22:06] [Error - Raid Interface]
[22/05/2011 22:22:06] data/lib/102-demonOak.lua
[22/05/2011 22:22:06] Description:
[22/05/2011 22:22:06] data/lib/102-demonOak.lua:237: attempt to perform arithmetic on a nil value
[22/05/2011 22:22:06] [Warning - LuaScriptInterface::initState] Cannot load data/lib/
[22/05/2011 22:22:06] server- done.
 
Last edited:
Back
Top