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

[Help] Demon OAK.

Gowzy

New Member
Joined
Dec 10, 2017
Messages
11
Reaction score
0
Good morning guys!

I can not get past this part of the quest. Speak what it is to go back in the npc and ask for the AX, but for Christ's sake, I AM ALREADY WITH AXE '-'

How do I solve it?

Thank you!

hizQecA.jpg

vhxKOme.png



I've got all the positions ...
 
Solution
Lets see.

I will assume you are using ORTS Demon Oak.

First make sure you added all parts for this quest. Those include:

·Actions: demonOak.lua
demonOakChest.lua
demonOakGravestone.lua
and its entries in actions.xml

·Globalevents voices.lua
and its entry in globalevents.xml

.lib: demonOakQuest.lua
and the proper storages (051-storages.lua) unless you manually edit all storages in each script

·movements: areaDamage.lua
entrance.lua
squares.lua
and its entries in movements.xml

·npc oldrak with his .lua

· the include in global.lua pointing to your demonOakQuest.lua in the lib folder, same as the 051-storages.lua if you are...
Most likely an storage problem. You aint getting any errors? You using ORTS scripts? Have you got all the action/glovalevent/movement/lib scripts?
 
Most likely an storage problem. You aint getting any errors? You using ORTS scripts? Have you got all the action/glovalevent/movement/lib scripts?

In: \ data \ globalevents \ globalevents.XML

This quest appears:

<! - Demon Oak Quest ->
<globalevent name = "DemonOakVoices" interval = "15000" script = "demon oak quest / voices.lua" />

KZ70dfJ.png


Already in: \ data \ globalevents \ lib \ globalevents (File.lua)

It is blank.

WD6ApkM.png


With some scripts you have to use the axe on the tree, have you tried that?
Can't help you with more then that since you didn't follow the rules;

Rules for the Support board
#5, #7

Thank you!
Sorry!
 
In: \ data \ globalevents \ globalevents.XML

This quest appears:

<! - Demon Oak Quest ->
<globalevent name = "DemonOakVoices" interval = "15000" script = "demon oak quest / voices.lua" />

KZ70dfJ.png


Already in: \ data \ globalevents \ lib \ globalevents (File.lua)

It is blank.

WD6ApkM.png




Thank you!
Sorry!
With some scripts you have to use the axe on the tree, have you tried that?
Can't help you with more then that since you didn't follow the rules;

Rules for the Support board
#5, #7

Use code tags, don't take an SS of the code.
[ code = lua ] code here [/ code ]
Without the spaces
 
I found this script. That's right?


Lua:
function onStepIn(creature, item, position, fromPosition)
 local player = creature:getPlayer()
 if not player then
  return true
 end
 -- CHECAR SE JÁ TIVER FEITO
 if player:getStorageValue(Storage.DemonOak.Done) >= 1 then
  player:teleportTo(DEMON_OAK_KICK_POSITION)
  player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
  return true
 end
 
 -- CHECAR LEVEL MÍNIMO
 if player:getLevel() < 120 then
  player:say("LEAVE LITTLE FISH, YOU ARE NOT WORTH IT!", TALKTYPE_MONSTER_YELL, false, player, DEMON_OAK_POSITION)
  player:teleportTo(DEMON_OAK_KICK_POSITION)
  player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
  return true
 end
 -- CHECAR SE TA TUDO CERTO Vou usar mensagens pra descobrir qual é o conflito
 if #Game.getSpectators(DEMON_OAK_POSITION, false, true, 9, 9, 6, 6) == 0 then
  player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'Go talk with Odralk and get the Hallowed Axe to kill The Demon Oak.')
  player:teleportTo(DEMON_OAK_ENTER_POSITION)
  player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
  player:setStorageValue(Storage.DemonOak.Progress, 1)
  player:say("I AWAITED YOU! COME HERE AND GET YOUR REWARD!", TALKTYPE_MONSTER_YELL, false, player, DEMON_OAK_POSITION)
 else
  player:teleportTo(DEMON_OAK_KICK_POSITION)
  player:getPosition():sendMagicEffect(CONST_ME_TELEPORT)
 end
 return true
end
 
Does the questlog update when you get the hallowed axe from Odralk? It looks like maybe Oldrak didn't assign the character a proper storage number. I'm no expert, but it looks like if you don't satisfy the requirements, it teleports you back to the entrance and then assigns the character a quest storage number of "1" on line 25.

Can you post the npcs code?

Also..did you walk on all the correct spaces, and is the code for that working?
 
Lets see.

I will assume you are using ORTS Demon Oak.

First make sure you added all parts for this quest. Those include:

·Actions: demonOak.lua
demonOakChest.lua
demonOakGravestone.lua
and its entries in actions.xml

·Globalevents voices.lua
and its entry in globalevents.xml

.lib: demonOakQuest.lua
and the proper storages (051-storages.lua) unless you manually edit all storages in each script

·movements: areaDamage.lua
entrance.lua
squares.lua
and its entries in movements.xml

·npc oldrak with his .lua

· the include in global.lua pointing to your demonOakQuest.lua in the lib folder, same as the 051-storages.lua if you are using it.

Uhm, I think thats all but I might be forgetting something... if you do that correctly it should work.

If you are using other scripts I cant help you much without seeing the scripts... but as said before and l ike @Rayzd said, it just seems like a storage problem. NPC should give you axe AND an storage so when you try to enter it checks for that storage and lets you get in if you have it.
 
Solution
Lets see.

I will assume you are using ORTS Demon Oak.

First make sure you added all parts for this quest. Those include:

·Actions: demonOak.lua
demonOakChest.lua
demonOakGravestone.lua
and its entries in actions.xml

·Globalevents voices.lua
and its entry in globalevents.xml

.lib: demonOakQuest.lua
and the proper storages (051-storages.lua) unless you manually edit all storages in each script

·movements: areaDamage.lua
entrance.lua
squares.lua
and its entries in movements.xml

·npc oldrak with his .lua

· the include in global.lua pointing to your demonOakQuest.lua in the lib folder, same as the 051-storages.lua if you are using it.

Uhm, I think thats all but I might be forgetting something... if you do that correctly it should work.

If you are using other scripts I cant help you much without seeing the scripts... but as said before and l ike @Rayzd said, it just seems like a storage problem. NPC should give you axe AND an storage so when you try to enter it checks for that storage and lets you get in if you have it.

Thank you!
Missing demonOakGravestone.lua
But now are not asking for the "Holy Icon" item to enter the quest
It goes without him in the quest. the rest of the mission is working
 
Back
Top