• 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

Ach, and now i have next problem :D
How to enter demon oak? I can't cut dead tree.
 
You must use the hallowed axe, that Oldrak gave you, in the dead tree.
 
I died on demon oak area and cant enter :p
Dead tree "says" that i cant enter because im there :D
 
that aint working for me :S the dead tree and hallowed axe, i cut but the tree remains on its place :S
Did you talked with Oldrak? You must say to him first 'hi' -> 'hallowed axe' -> 'yes'.
I died on demon oak area and cant enter :p
Dead tree "says" that i cant enter because im there :D
Did you changed these positions?:
Code:
local areaPosition =
{
        {x=568, y=624, z=7, stackpos = 255},
        {x=589, y=640, z=7, stackpos = 255}
 
yep,
it looks like:
I'm buying hallowed axe, and go cut tree.
But tree says that i must wait until me finished the quest :D

Maybe i mayde to big/small demonoak area?
 
The dead tree is inside the area position.

Edit:

Again, script was tested in last TFS version (0.3.6pl1) and is working fine, also i've added a code in the action script demonOak.lua, it checks if dead tree position is inside the quest area positions... that code was writed because it check the most anoying bug.
 
Last edited:
@up:
The 'dead tree' must be itemID = 2709 and it must has the uniqueID = 32193

It already has that?
 
[10/02/2010 10:15:43] Lua Script Error: [Action Interface]
[10/02/2010 10:15:43] data/actions/scripts/demonOak.lua:eek:nUse

[10/02/2010 10:15:43] data/actions/scripts/demonOak.lua:94: attempt to call global 'doPlayerSetStorageValue' (a nil value)
[10/02/2010 10:15:43] stack traceback:
[10/02/2010 10:15:43] data/actions/scripts/demonOak.lua:94: in function <data/actions/scripts/demonOak.lua:1>


Please Help!! and

[10/02/2010 10:21:35] data/actions/scripts/demonOakChests.lua:8: attempt to call global 'doPlayerSetStorageValue' (a nil value)
[10/02/2010 10:21:35] stack traceback:
[10/02/2010 10:21:35] data/actions/scripts/demonOakChests.lua:8: in function <data/actions/scripts/demonOakChests.lua:1>

[10/02/2010 10:21:36] Lua Script Error: [Action Interface]
[10/02/2010 10:21:36] data/actions/scripts/demonOakChests.lua:eek:nUse

[10/02/2010 10:21:36] data/actions/scripts/demonOakChests.lua:17: attempt to call global 'doPlayerSetStorageValue' (a nil value)
[10/02/2010 10:21:36] stack traceback:
[10/02/2010 10:21:36] data/actions/scripts/demonOakChests.lua:17: in function <data/actions/scripts/demonOakChests.lua:1>

[10/02/2010 10:21:37] Lua Script Error: [Action Interface]
[10/02/2010 10:21:37] data/actions/scripts/demonOakChests.lua:eek:nUse

[10/02/2010 10:21:37] data/actions/scripts/demonOakChests.lua:35: attempt to call global 'doPlayerSetStorageValue' (a nil value)
[10/02/2010 10:21:37] stack traceback:
[10/02/2010 10:21:37] data/actions/scripts/demonOakChests.lua:35: in function <data/actions/scripts/demonOakChests.lua:1>

[10/02/2010 10:21:38] Lua Script Error: [Action Interface]
[10/02/2010 10:21:38] data/actions/scripts/demonOakChests.lua:eek:nUse

[10/02/2010 10:21:38] data/actions/scripts/demonOakChests.lua:26: attempt to call global 'doPlayerSetStorageValue' (a nil value)
[10/02/2010 10:21:38] stack traceback:
[10/02/2010 10:21:38] data/actions/scripts/demonOakChests.lua:26: in function <data/actions/scripts/demonOakChests.lua:1>
 
Last edited:
A little help please

I put this script in and it works fine. Only problem I have is this. When I hit the Demon Oak and it summons monsters. It only pulls from the first line of monsters listed. Have I done something wrong or am I missing something? It's not randomizing.

Also does the local area position and stack position do anything special?

Thanks for any replies to this.
 
#pokezaju
Replace all occurences of doPlayerSetStorageValue with setPlayerStorageValue
 
Hello!
Can anyone say me what the position mean:

local areaPosition =
{
{x=568, y=624, z=7, stackpos = 255},
{x=589, y=640, z=7, stackpos = 255}


I have found it sorry, my bad ;/;/
 
Last edited:
[05/03/2010 19:07:15] [Warning - Error::Demon Oak] Dead tree position is inside the quest area positions.
[05/03/2010 19:07:15] Dead tree position (x: 32716, y: 32345, z: 7)
[05/03/2010 19:07:15] North-West area position (x: 32702, y: 32340, z: 7)
[05/03/2010 19:07:16] South-West area position (x: 32730, y: 32360, z: 7)
[05/03/2010 19:07:16] Script will not work correctly, please fix it.

in game sayed:
19:07 Something is wrong, please contact a gamemaster.

tfs 0.3.6
 
Back
Top