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

azerus.lua not work

tibiek

Banned User
Joined
Jun 3, 2009
Messages
320
Reaction score
0
Location
Poland
yalaahr quest dont work dont create monster itd.

[25/04/2010 12:03:38] Lua Script Error: [Action Interface]
[25/04/2010 12:03:38] in a timer event called from:
[25/04/2010 12:03:38] data/actions/scripts/quests/azerus.luanUse

[25/04/2010 12:03:38] luaDoCreateMonster(). Cannot create monster: War Golem

cannot create monster and more

plz new file azerus.lua :) or fix this
 
function Potwory1()

doSummonCreature("Rift Worm", {x=32787,y=31166,z=10})

doSummonCreature("Rift Worm", {x=32787,y=31166,z=10})

doSummonCreature("Rift Worm", {x=32787,y=31166,z=10})

doSummonCreature("Rift Worm", {x=32787,y=31166,z=10})


end


function Potwory2()

doSummonCreature("Rift Brood", {x=32787,y=31166,z=10})

doSummonCreature("Rift Brood", {x=32787,y=31166,z=10})

doSummonCreature("Rift Brood", {x=32787,y=31166,z=10})

doSummonCreature("Rift Brood", {x=32787,y=31166,z=10})


end




function Potwory3()


doSummonCreature("Rift Scythe", {x=32787,y=31166,z=10})

doSummonCreature("Rift Scythe", {x=32787,y=31166,z=10})

doSummonCreature("Rift Scythe", {x=32787,y=31166,z=10})

doSummonCreature("Rift Scythe", {x=32787,y=31166,z=10})


end




function Potwory4()


doSummonCreature("Azerus", {x=32787,y=31166,z=10})

doSummonCreature("War Golem", {x=32787,y=31166,z=10})

doSummonCreature("War Golem", {x=32787,y=31166,z=10})

doSummonCreature("War Golem", {x=32787,y=31166,z=10})

doSummonCreature("War Golem", {x=32787,y=31166,z=10})



end




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


addEvent(Potwory1, 0)


addEvent(Potwory2, 5000)


addEvent(Potwory3, 10000)


addEvent(Potwory4, 15000)


return TRUE


end
 
Azerus.lua

PHP:
local config = {
    message = "Azerus ran into teleporter! It will disappear in 2 minutes. Enter It!",
    teleportId = 1387,
    bosses = { -- Monster Name, Teleport To Position, Teleport Position
        ["Azerus"] = { { x = 21325, y = 21073, z = 10 }, { x = 21325, y = 21075, z = 9 }},



            }
}


function onDeath(cid, corpse, killer)
    local position = getCreaturePosition(cid)
    for name, pos in pairs(config.bosses) do
        if name == getCreatureName(cid) then

        doCreateTeleport(config.teleportId, pos[1], pos[2])
        doCreatureSay(cid, config.message, TALKTYPE_ORANGE_1)
        end
    end
    return TRUE
end
 
Back
Top