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

Demon oak !

sobek07

Chce być fajny
Joined
Nov 16, 2009
Messages
231
Reaction score
0
Location
Poland / Poznań
Yo.

i have problem with Demon oak quest. When i was use hallowed axe on the tree, < tree dont be invisible. and when i go for prizes and step/use on the grave = 0 action.


in console when im step on grave:

[17/01/2010 11:23:50] Lua Script Error: [MoveEvents Interface]
[17/01/2010 11:23:50] data/movements/scripts/azerus.lua:eek:nStepIn

[17/01/2010 11:23:50] internalGetPlayerInfo(). Player not found

[17/01/2010 11:23:50] Lua Script Error: [MoveEvents Interface]
[17/01/2010 11:23:50] data/movements/scripts/azerus.lua:eek:nStepIn

[17/01/2010 11:23:50] internalGetPlayerInfo(). Player not found

[17/01/2010 11:23:50] Lua Script Error: [MoveEvents Interface]
[17/01/2010 11:23:50] data/movements/scripts/azerus.lua:eek:nStepIn

[17/01/2010 11:23:50] internalGetPlayerInfo(). Player not found

[17/01/2010 11:23:50] Lua Script Error: [MoveEvents Interface]
[17/01/2010 11:23:50] data/movements/scripts/azerus.lua:eek:nStepIn

[17/01/2010 11:23:50] internalGetPlayerInfo(). Player not found

[17/01/2010 11:23:50] Lua Script Error: [MoveEvents Interface]
[17/01/2010 11:23:50] data/movements/scripts/azerus.lua:eek:nStepIn

[17/01/2010 11:23:50] internalGetPlayerInfo(). Player not found

[17/01/2010 11:23:50] Lua Script Error: [MoveEvents Interface]
[17/01/2010 11:23:50] data/movements/scripts/azerus.lua:eek:nStepIn

[17/01/2010 11:23:50] internalGetPlayerInfo(). Player not found

[17/01/2010 11:23:50] Lua Script Error: [MoveEvents Interface]
[17/01/2010 11:23:50] data/movements/scripts/azerus.lua:eek:nStepIn

[17/01/2010 11:23:50] attempt to index a nil value
[17/01/2010 11:23:50] stack traceback:
[17/01/2010 11:23:50] [C]: in function 'doTeleportThing'
[17/01/2010 11:23:50] data/movements/scripts/azerus.lua:47: in function <data/movements/scripts/azerus.lua:1>

[17/01/2010 11:23:53] Lua Script Error: [MoveEvents Interface]
[17/01/2010 11:23:53] data/movements/scripts/azerus.lua:eek:nStepIn

[17/01/2010 11:23:53] luaDoTeleportThing(). Thing not found

[17/01/2010 11:23:53] Lua Script Error: [MoveEvents Interface]
[17/01/2010 11:23:53] data/movements/scripts/azerus.lua:eek:nStepIn

[17/01/2010 11:23:53] attempt to index a nil value
[17/01/2010 11:23:53] stack traceback:
[17/01/2010 11:23:53] [C]: in function 'doTeleportThing'
[17/01/2010 11:23:53] data/movements/scripts/azerus.lua:47: in function <data/movements/scripts/azerus.lua:1>
[17/01/2010 11:23:57] Wiedzmin has logged out.
[17/01/2010 11:23:59] Wiedzmin has logged in.
[17/01/2010 11:24:17] Xiomal has logged in.

[17/01/2010 11:25:25] Lua Script Error: [MoveEvents Interface]
[17/01/2010 11:25:25] data/movements/scripts/azerus.lua:eek:nStepIn

[17/01/2010 11:25:25] luaDoTeleportThing(). Thing not found

[17/01/2010 11:25:25] Lua Script Error: [MoveEvents Interface]
[17/01/2010 11:25:25] data/movements/scripts/azerus.lua:eek:nStepIn

[17/01/2010 11:25:25] attempt to index a nil value
[17/01/2010 11:25:25] stack traceback:
[17/01/2010 11:25:25] [C]: in function 'doTeleportThing'
[17/01/2010 11:25:25] data/movements/scripts/azerus.lua:47: in function <data/movements/scripts/azerus.lua:1>

[17/01/2010 11:25:25] Lua Script Error: [MoveEvents Interface]
[17/01/2010 11:25:25] data/movements/scripts/azerus.lua:eek:nStepIn

[17/01/2010 11:25:25] luaDoTeleportThing(). Thing not found

[17/01/2010 11:25:25] Lua Script Error: [MoveEvents Interface]
[17/01/2010 11:25:25] data/movements/scripts/azerus.lua:eek:nStepIn

[17/01/2010 11:25:25] attempt to index a nil value
[17/01/2010 11:25:25] stack traceback:
[17/01/2010 11:25:25] [C]: in function 'doTeleportThing'
[17/01/2010 11:25:25] data/movements/scripts/azerus.lua:47: in



and when im pushing tree:

[17/01/2010 11:13:12] Lua Script Error: [Action Interface]
[17/01/2010 11:13:12] data/actions/scripts/doq/Hallowed Axe.lua:eek:nUse

[17/01/2010 11:13:12] luaDoCreateMonster(). Cannot create monster: Crypt Shambler

[17/01/2010 11:13:16] Lua Script Error: [Action Interface]
[17/01/2010 11:13:16] data/actions/scripts/doq/Hallowed Axe.lua:eek:nUse

[17/01/2010 11:13:16] data/actions/scripts/doq/Hallowed Axe.lua:144: attempt to call global 'doSummonCreatures' (a nil value)
[17/01/2010 11:13:16] stack traceback:
[17/01/2010 11:13:16] data/actions/scripts/doq/Hallowed Axe.lua:144: in function <data/actions/scripts/doq/Hallowed Axe.lua:11>

[17/01/2010 11:13:24] Lua Script Error: [Action Interface]
[17/01/2010 11:13:24] data/actions/scripts/doq/Hallowed Axe.lua:eek:nUse

[17/01/2010 11:13:24] data/actions/scripts/doq/Hallowed Axe.lua:147: attempt to call global 'doSummonCreatures' (a nil value)
[17/01/2010 11:13:24] stack traceback:
[17/01/2010 11:13:24] data/actions/scripts/doq/Hallowed Axe.lua:147: in function <data/actions/scripts/doq/Hallowed Axe.lua:11>

[17/01/2010 11:13:59] Lua Script Error: [Action Interface]
[17/01/2010 11:13:59] data/actions/scripts/doq/Hallowed Axe.lua:eek:nUse

[17/01/2010 11:13:59] data/actions/scripts/doq/Hallowed Axe.lua:125: attempt to call global 'doSummonCreatures' (a nil value)
[17/01/2010 11:13:59] stack traceback:
[17/01/2010 11:13:59] data/actions/scripts/doq/Hallowed Axe.lua:125: in function <data/actions/scripts/doq/Hallowed Axe.lua:11>

[17/01/2010 11:14:03] Lua Script Error: [Action Interface]
[17/01/2010 11:14:03] data/actions/scripts/doq/Hallowed Axe.lua:eek:nUse

[17/01/2010 11:14:03] data/actions/scripts/doq/Hallowed Axe.lua:127: attempt to call global 'doSummonCreatures' (a nil value)
[17/01/2010 11:14:03] stack traceback:
[17/01/2010 11:14:03] data/actions/scripts/doq/Hallowed Axe.lua:127: in function <data/actions/scripts/doq/Hallowed Axe.lua:11>
[17/01/2010 11:14:41] Bieniu has logged out.
[17/01/2010 11:14:47] Betonik has logged in.
[17/01/2010 11:14:54] Betonik has logged out.

[17/01/2010 11:14:57] Lua Script Error: [Action Interface]
[17/01/2010 11:14:57] data/actions/scripts/doq/Hallowed Axe.lua:eek:nUse

[17/01/2010 11:14:57] data/actions/scripts/doq/Hallowed Axe.lua:161: attempt to call global 'doSummonCreatures' (a nil value)
[17/01/2010 11:14:57] stack traceback:
[17/01/2010 11:14:57] data/actions/scripts/doq/Hallowed Axe.lua:161: in function <data/actions/scripts/doq/Hallowed Axe.lua:11>

[17/01/2010 11:15:00] Lua Script Error: [Action Interface]
[17/01/2010 11:15:00] data/actions/scripts/doq/Hallowed Axe.lua:eek:nUse

[17/01/2010 11:15:00] data/actions/scripts/doq/Hallowed Axe.lua:163: attempt to call global 'doSummonCreatures' (a nil value)
[17/01/2010 11:15:00] stack traceback:
[17/01/2010 11:15:00] data/actions/scripts/doq/Hallowed Axe.lua:163: in function <data/actions/scripts/doq/Hallowed Axe.lua:11>

[17/01/2010 11:15:06] Lua Script Error: [Action Interface]
[17/01/2010 11:15:06] data/actions/scripts/doq/Hallowed Axe.lua:eek:nUse

[17/01/2010 11:15:06] data/actions/scripts/doq/Hallowed Axe.lua:165: attempt to call global 'doSummonCreatures' (a nil value)
[17/01/2010 11:15:06] stack traceback:
[17/01/2010 11:15:06] data/actions/scripts/doq/Hallowed Axe.lua:165: in function <data/actions/scripts/doq/Hallowed Axe.lua:11>
[17/01/2010 11:15:18] Bieniu has logged in.

[17/01/2010 11:15:57] Lua Script Error: [Action Interface]
[17/01/2010 11:15:57] data/actions/scripts/doq/Hallowed Axe.lua:eek:nUse

[17/01/2010 11:15:57] data/actions/scripts/doq/Hallowed Axe.lua:182: attempt to call global 'doSummonCreatures' (a nil value)
[17/01/2010 11:15:57] stack traceback:
[17/01/2010 11:15:57] data/actions/scripts/doq/Hallowed Axe.lua:182: in function <data/actions/scripts/doq/Hallowed Axe.lua:11>



Chmod is 766.


Sorry for my english. :(

Im waiting for fast reply ;)

im using TFS 0.3.5


Other problem with skull. console:


[17/01/2010 11:30:25] data/creaturescripts/scripts/skullcheck.lua:3: attempt to compare number with boolean
[17/01/2010 11:30:25] stack traceback:
[17/01/2010 11:30:25] data/creaturescripts/scripts/skullcheck.lua:3: in function <data/creaturescripts/scripts/skullcheck.lua:1>
 
Azerus.lua:

Code:
function onStepIn(cid, item, position, fromPosition)

--Config-->
local queststatus = getPlayerStorageValue(cid, 50001)
--EndConfig-->
	if item.actionid == 1974 and queststatus == -1 then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "It seems by defeating Azerus you have stoped this army from entering your world! Better leave this ghastly place forever.")
		setPlayerStorageValue(cid, 4765, 1)
	return TRUE
end

if item.actionid == 1973 and queststatus == -1 then
-- Here is the code start:
starting={x = 576, y = 560, z = 10, stackpos = 253}
checking={x=starting.x, y=starting.y, z=starting.z, stackpos=starting.stackpos}
ending={x = 586, y = 572, z = 10, stackpos = 253}
players=0
totalmonsters=0
monster = {}
repeat
creature= getThingfromPos(checking)
 if creature.itemid > 0 then
 if getPlayerAccess(creature.uid) == 0 then
 players=players+1
 end
  if getPlayerAccess(creature.uid) ~= 0 and getPlayerAccess(creature.uid) ~= 3 then
 totalmonsters=totalmonsters+1
  monster[totalmonsters]=creature.uid
   end
 end
checking.x=checking.x+1
  if checking.x>ending.x then
  checking.x=starting.x
  checking.y=checking.y+1
 end
until checking.y>ending.y
if players==0 then
trash= {x=33193, y=31689, z=15}
current=0
repeat
current=current+1
doTeleportThing(monster[current],trash)
until current>=totalmonsters
end
-- Here is the end of it

doTeleportThing(cid, player_pos_entrada)
doSendMagicEffect(player_pos_entrada, 10)

else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Vocę já terminou a quest!')
end
end


hallowed axe.lua :

Code:
--Demon Oak 2.0 by Ta4e--
--Some scripts based in script of Mazen--
function effect(cid,storage,valor,topos)
    valor = getPlayerStorageValue(cid, storage)
    doTargetCombatHealth(0, cid, COMBAT_EARTHDAMAGE, -300, -300, CONST_ME_BIGPLANTS)
    valor = valor + 1
    setPlayerStorageValue(cid, storage,valor)
    doSendMagicEffect(topos, 0)
end

function onUse(cid, item, frompos, item2, topos)

local monster1 = "Crypt Shambler"
local monster2 = "Lich"
local monster3 = "Bone beast"
local monster4 = "Banshee"
local monster5 = "Giant Spider"
local boss1 = "Blightwalker"
local boss2 = "Betrayed Wraith"
local boss3 = "Diabolic Imp"
local boss4 = "Demon"

basepos = {x=32714, y=32353, z=7}
local starting={x=32714, y=32353, z=7, stackpos=253}
local ending={x=32714, y=32353, z=7, stackpos=253}
local trash= {x=32714, y=32353, z=7}

--Alternative Monsters------------------------------------------------------------------------------------------------------------------------------------------
local altmo = 0 -- If it 0 monsters not randomize. If it 1 randomize with this \/

local altmonst1 = "braindeath"
local altmonst2 = "necromancer"
local altmonst3 = "vampire"
local altmonst4 = "giant spider"
local altmonst5 = "demon skeleton"
local altboss1  = "plaguesmith"
local altboss2  = "phantasm"
local altboss3  = "hellhound"
local altboss4  = "behemoth"

----------------------------------------------------------------------------------------------------------------------------------
    
if altmo == 1 then
    if math.random (1,5) == 1 or math.random (1,5) == 5 then
        monster1 = altmonst1
        monster2 = altmonst2
        monster5 = altmonst5
        boss1 = altboss1
        boss3 = altboss3
    else
        monster3 = altmonst3
        monster4 = altmonst4
        boss2 = altboss2
        boss4 = altboss4
    end
end
        
local fourposition1 = {x=32714, y=32353, z=7}
local fourposition2 = {x=32714, y=32353, z=7}
local fourposition3 = {x=32714, y=32353, z=7}
local fourposition4 = {x=32714, y=32353, z=7}
local modpos1 = {x=32714, y=32353, z=7}
local modpos2 = {x=32714, y=32353, z=7}
local modpos3 = {x=32714, y=32353, z=7}
local threeposition1 = {x=32714, y=32353, z=7}
local threeposition2 = {x=32714, y=32353, z=7}
local threeposition3 = {x=32714, y=32353, z=7}
local twopos ={x=32714, y=32353, z=7}
local twopos1 = {x=32714, y=32353, z=7}
local doublepos = {x=32714, y=32353, z=7}
local leftpos = {x=32714, y=32353, z=7}
local crepos = {x=32714, y=32353, z=7}
local gopos = {x=32714, y=32353, z=7}
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
local gtotal = getPlayerStorageValue(cid, 15005)
local gcorvo = getPlayerStorageValue(cid, 15001)
local gleft = getPlayerStorageValue(cid, 15002)
local gright = getPlayerStorageValue(cid, 15003)
local gface = getPlayerStorageValue(cid, 15004)
checking={x=starting.x, y=starting.y, z=starting.z, stackpos=starting.stackpos}

    if item2.itemid == 2717 and item2.uid == 32193 then
        if getPlayerLevel(cid) >= 120  then
            players=0
            totalmonsters=0
            monster = {}
                repeat
                    creature= getThingfromPos(checking)
                        if creature.itemid > 0 then
                            if getPlayerAccess(creature.uid) == 0 then
                                players=players+1
                            end
                                if getPlayerAccess(creature.uid) ~= 0 and getPlayerAccess(creature.uid) ~= 3 then
                                    totalmonsters=totalmonsters+1
                                    monster[totalmonsters]=creature.uid
                                end
                        end
                                checking.x=checking.x+1
                                    if checking.x>ending.x then
                                        checking.x=starting.x
                                        checking.y=checking.y+1
                                    end
                until checking.y>ending.y
                                    if players==0 then
                                        current=0
                                        repeat
                                            current=current+1
                                            doTeleportThing(monster[current],trash)
                                        until current>=totalmonsters
        doTeleportThing(cid, topos, 0)
        setPlayerMultiplyStorageValues(cid,{15001,15002,15003,15004},1)
        doTransformItem(item2.uid, 3669)
        doCreateTeleport(1387, gopos, crepos)
        local getrem1 = getThingfromPos({x=basepos.x-3, y=basepos.y-7, z=7, stackpos = 3})
        doSetItemActionId(getrem1.uid,32195)
                                    end
        else
            doPlayerSendTextMessage(cid, "You need level 120 to enter in arena.", result)
        end

    elseif item2.itemid == 8288 then
        if gcorvo <10 then
            effect(cid,15001,gcorvo,topos)
                if gcorvo == 3 then
                    doSummonCreatures(monster1, {fourposition1,fourposition2,fourposition3,fourposition4})
                elseif gcorvo == 5 then
                    doSummonCreatures(monster2, {threeposition1,threeposition2,threeposition3})
                elseif gcorvo == 7 then
                    doSummonCreature(boss1, fourposition3)
                elseif gcorvo == 9 then
                    gtotal = gtotal + 1
                    setPlayerStorageValue(cid, 15005,gtotal)
                end
        else
            doSendMagicEffect(topos, 2)
        end

    elseif item2.itemid == 8289 then
        if gleft <10 then
            effect(cid,15002,gleft,topos)
                if gleft == 3 then
                    doSummonCreature(monster1, {fourposition1,fourposition2,fourposition3,fourposition4})
                elseif gleft == 4 then
                    doSummonCreatures(monster3, {modpos1,modpos2,modpos3})
                    doSummonCreature(monster3, fourposition2)
                elseif gleft == 7 then
                    doSummonCreatures(monster1, {fourposition1,fourposition2,fourposition3,fourposition4})
                elseif gleft == 9 then
                    doSummonCreature(boss2, leftpos)
                    gtotal = gtotal + 1
                    setPlayerStorageValue(cid, 15005,gtotal)
                end
        else
            doSendMagicEffect(topos, 2)
        end

    elseif item2.itemid == 8290 then
        if gright <10 then
            effect(cid,15003,gright,topos)
                if gright == 2 then
                    doSummonCreatures(monster4, {twopos,twopos1})
                elseif gright == 4 then
                    doSummonCreatures(monster1, {fourposition1,fourposition2,fourposition3,fourposition4})
                elseif gright == 7 then
                    doSummonCreatures(monster1, {fourposition1,fourposition2,fourposition3,fourposition4})
                elseif gright == 9 then
                    doSummonCreature(boss3,leftpos)
                    gtotal = gtotal + 1
                    setPlayerStorageValue(cid, 15005,gtotal)
                end
        else
            doSendMagicEffect(topos, 2)
        end

    elseif item2.itemid == 8291 then
        if gface <10 then
            effect(cid,15004,gface,topos)
                if gface == 1 then
                    doSummonCreature(monster2, doublepos)
                    doSummonCreature(monster5, fourposition2)
                elseif gface == 4 then
                    doSummonCreatures(monster1, {fourposition1,fourposition2,fourposition3,fourposition4})
                elseif gface == 6 then
                    doSummonCreature(boss4, leftpos)
                elseif gface == 9 then
                    gtotal = gtotal + 1
                    setPlayerStorageValue(cid, 15005,gtotal)
                end
        else
            doSendMagicEffect(topos, 2)
        end
    end
end
 
Back
Top