• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua LUA Error onUse

Ray Rewind

Doctor
Joined
Jun 6, 2009
Messages
1,349
Reaction score
76
Location
Germany
Getting Error when using the item I tried to fix it
'Azerus' changed to "Azerus" and ('Azerus') did not work ! :/

Code:
[27/09/2013 07:56:16] [Error - Action Interface]
[27/09/2013 07:56:16] data/actions/scripts/quests/azerus.lua:onUse
[27/09/2013 07:56:16] Description:
[27/09/2013 07:56:16] (luaDoCreateMonster) Monster with name '' not found
[27/09/2013 07:56:16] [Error - Action Interface]
[27/09/2013 07:56:16] data/actions/scripts/quests/azerus.lua:onUse
[27/09/2013 07:56:16] Description:
[27/09/2013 07:56:16] (luaDoCreateMonster) Monster with name '' not found
[27/09/2013 07:56:16] [Error - Action Interface]
[27/09/2013 07:56:16] data/actions/scripts/quests/azerus.lua:onUse
[27/09/2013 07:56:16] Description:
[27/09/2013 07:56:16] (luaDoCreateMonster) Monster with name '' not found
[27/09/2013 07:56:16] [Error - Action Interface]
[27/09/2013 07:56:16] data/actions/scripts/quests/azerus.lua:onUse
[27/09/2013 07:56:16] Description:
[27/09/2013 07:56:16] (luaDoCreateMonster) Monster with name '' not found
[27/09/2013 07:56:16] [Error - Action Interface]
[27/09/2013 07:56:16] data/actions/scripts/quests/azerus.lua:onUse
[27/09/2013 07:56:16] Description:
[27/09/2013 07:56:16] (luaDoCreateMonster) Monster with name '' not found
[27/09/2013 07:56:16] [Error - Action Interface]
[27/09/2013 07:56:16] data/actions/scripts/quests/azerus.lua:onUse
[27/09/2013 07:56:16] Description:
[27/09/2013 07:56:16] (luaDoCreateMonster) Monster with name '' not found

PHP:
-- Config #1 --
local BlindField = {x=748, y=1921, z=10, stackpos=1}
local topLeft = {x=743, y=1923, z=10}
local buttomRight = {x=758, y=1940, z=10}
local tpin = {{x=751, y=1941, z=10}, {x=750, y=1939, z=10}}
local tpout = {{x=750, y=1939, z=10}, {x=751, y=1941, z=9}}
local glo = {x=750, y=1930, z=10}
local m_posi = {
{x= glo.x - 4,y=glo.y,z=glo.z},
{x= glo.x + 4,y=glo.y,z=glo.z},
{x=glo.x,y=glo.y + 4,z=glo.z},
{x=glo.x,y=glo.y - 4,z=glo.z},
{x=glo.x,y=glo.y + 5,z=glo.z},
{x=glo.x,y=glo.y - 5,z=glo.z}
}
ttime = {10, 30}
local isEvent = 58263;
-- end --
function getCreaturesFromArea(fromPos, toPos,checkFunction)
    local rarr = {};
    checkFunction = checkFunction or function(arg) return true; end;
    for fx = fromPos.x, toPos.x do
        for fy = fromPos.y, toPos.y do
            for fz = fromPos.z, toPos.z do
                local tmp = getTopCreature({x=fx,y=fy,z=fz}).uid;
                if(checkFunction(tmp))then
                    table.insert(rarr, tmp);
                end
            end
        end
    end
    local tmp = getTopCreature(BlindField).uid;
    if(checkFunction(tmp))then
        table.insert(rarr, tmp);
    end
    return rarr;
end
function getCreatureFromArea(fromPos, toPos,name)
    for fx = fromPos.x, toPos.x do
        for fy = fromPos.y, toPos.y do
            for fz = fromPos.z, toPos.z do
                local tmp = getTopCreature({x=fx,y=fy,z=fz}).uid;
                if(tmp > 0)then
                    if(string.lower(name) == string.lower(getCreatureName(tmp)))then
                        return tmp;
                    end
                end
            end
        end
    end
    local tmp = getTopCreature(BlindField).uid;
    if(tmp > 0)then
        if(string.lower(name) == string.lower(getCreatureName(tmp)))then
            return tmp;
        end
    end
    return 0;
end
local function FirstWave(count, spawnazerus)
    if(getStorage(isEvent) < 1)then
        return;
    end
    spawnazerus = spawnazerus or false;
    if(spawnazerus)then
        doCreateMonster('Azerus', m_posi[math.random(1,#m_posi)], false, true);
        for _,pos in pairs(m_posi) do
            doCreateMonster("Rift Worm", pos, false, true);
        end
    else
        for i =1, count do
            doCreateMonster('Rift Worm', m_posi[math.random(1,#m_posi)], false, true);
        end
    end
    addEvent(FirstWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end
local function SecondWave(count, replaceazerus)
    if(getStorage(isEvent) < 1)then
        return;
    end
    replaceazerus = replaceazerus or false;
    if(replaceazerus)then
        local tmp = getCreatureByName("Azerus");
        if(tmp > 0)then
            doRemoveCreature(tmp);
        end
        doCreateMonster("Azerus1", m_posi[math.random(1,#m_posi)], false, true);
     
        for _,pos in pairs(m_posi) do
            doCreateMonster("Rift Brood", pos, false, true);
        end
    else
        for i =1, count do
            doCreateMonster("Rift Brood", m_posi[math.random(1,#m_posi)], false, true);
        end
    end
    addEvent(SecondWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end
local function ThirdWave(count, replaceazerus)
    if(getStorage(isEvent) < 1)then
        return;
    end
    replaceazerus = replaceazerus or false;
    if(replaceazerus)then
        local tmp = getCreatureByName("Azerus");
        if(tmp > 0)then
            doRemoveCreature(tmp);
        end
        doCreateMonster("Azerus2", m_posi[math.random(1,#m_posi)], false, true);
        for _,pos in pairs(m_posi) do
            doCreateMonster("Rift Scythe", pos, false, true);
        end
    else
        for i =1, count do
            doCreateMonster("Rift Scythe", m_posi[math.random(1,#m_posi)], false, true);
        end
    end
    addEvent(ThirdWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end
local function FourthWave(count, replaceazerus)
    if(getStorage(isEvent) < 1)then
        return;
    end
    if(replaceazerus)then
        local tmp = getCreatureByName("Azerus");
        if(tmp > 0)then
            doRemoveCreature(tmp);
        end
        tmp = doCreateMonster("Azerus3", m_posi[math.random(1,#m_posi)], false, true);
        registerCreatureEvent(tmp, "AzerusDeath");
     
        for _,pos in pairs(m_posi) do
            doCreateMonster("War Golem", pos, false, true);
        end
    else
        for i =1, count do
            doCreateMonster("War Golem", m_posi[math.random(1,#m_posi)], false, true);
        end
    end
    addEvent(FourthWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end
local function fixGlobe()
    doItemSetAttribute(getTileItemById(glo, 9767).uid, "aid", 58261)
end
local function checkArea()
    if(getStorage(isEvent) > 0)then
        local players = getCreaturesFromArea(topLeft, buttomRight, isPlayer);
        if(#players < 1)then
            doSetStorage(isEvent,0);
            endAzerusFightA();
            addEvent(fixGlobe, 60*1000);
        else
            addEvent(checkArea, 10*1000);
        end
    end
end
function endAzerusFightA()
    local monsters = getCreaturesFromArea(topLeft,buttomRight,isMonster);
    while(#monsters > 0)do
        for _,m in pairs(monsters)do
            doRemoveCreature(m);
        end
        monsters = getCreaturesFromArea(topLeft,buttomRight,isMonster);
    end
    doCreateTeleport(1387, tpin[2],tpin[1]);
    doCreateTeleport(1387, tpout[2],tpout[1]);
end
function onUse(cid, item, fromPosition, itemEx, toPosition)
    if item.actionid == 58261 then
        doItemSetAttribute(item.uid, "aid", 58263)
    else
        doCreatureSay(cid, "You have to wait some time before this globe will charge.", TALKTYPE_ORANGE_1)
        return;
    end
    local tp = getTileItemById(tpin[1],1387).uid;
    if(tp > 0)then
        doRemoveItem(tp)
    end
    tp = getTileItemById(tpout[1],1387).uid;
    if(tp > 0)then
        doRemoveItem(tp)
    end
 
    doSetStorage(isEvent,1);
    checkArea();
    FirstWave(0,true)
    addEvent(SecondWave, math.random(60,70)*1000,0,true)
    addEvent(ThirdWave, math.random(100,130)*1000,0,true)
    addEvent(FourthWave, math.random(190,210)*1000,0,true)
    return true
end
 
Try without the ... , false, true), the function doesn't need that much parameters.
Also with the double "" quotes instead of the single ' '.
This this a lua script I presume?
 
I made what you said Now I changed all to this

PHP:
[11/10/2013 22:31:03] [Error - Action Interface]
[11/10/2013 22:31:03] In a timer event called from:
[11/10/2013 22:31:03] data/actions/scripts/quests/azerus.lua:onUse
[11/10/2013 22:31:03] Description:
[11/10/2013 22:31:03] (luaDoCreateMonster) Cannot create monster: Rift Scythe

[11/10/2013 22:31:15] [Error - Action Interface]
[11/10/2013 22:31:15] In a timer event called from:
[11/10/2013 22:31:15] data/actions/scripts/quests/azerus.lua:onUse
[11/10/2013 22:31:15] Description:
[11/10/2013 22:31:15] (luaDoCreateMonster) Cannot create monster: Rift Brood


PHP:
-- Config #1 -- 
local BlindField = {x=748, y=1921, z=10, stackpos=1}
local topLeft = {x=743, y=1923, z=10}
local buttomRight = {x=758, y=1940, z=10}
local tpin = {{x=751, y=1941, z=10}, {x=750, y=1939, z=10}}
local tpout = {{x=750, y=1939, z=10}, {x=751, y=1941, z=9}}
local glo = {x=750, y=1930, z=10}
local m_posi = {
{x= glo.x - 4,y=glo.y,z=glo.z},
{x= glo.x + 4,y=glo.y,z=glo.z},
{x=glo.x,y=glo.y + 4,z=glo.z},
{x=glo.x,y=glo.y - 4,z=glo.z},
{x=glo.x,y=glo.y + 5,z=glo.z},
{x=glo.x,y=glo.y - 5,z=glo.z}
}
ttime = {10, 30}
local isEvent = 58263;
-- end -- 

function getCreaturesFromArea(fromPos, toPos,checkFunction)
    local rarr = {};
    checkFunction = checkFunction or function(arg) return true; end;
    for fx = fromPos.x, toPos.x do
        for fy = fromPos.y, toPos.y do
            for fz = fromPos.z, toPos.z do
                local tmp = getTopCreature({x=fx,y=fy,z=fz}).uid;
                if(checkFunction(tmp))then
                    table.insert(rarr, tmp);
                end
            end
        end
    end
    local tmp = getTopCreature(BlindField).uid;
    if(checkFunction(tmp))then
        table.insert(rarr, tmp);
    end
    return rarr;
end

function getCreatureFromArea(fromPos, toPos,name)
    for fx = fromPos.x, toPos.x do
        for fy = fromPos.y, toPos.y do
            for fz = fromPos.z, toPos.z do
                local tmp = getTopCreature({x=fx,y=fy,z=fz}).uid;
                if(tmp > 0)then
                    if(string.lower(name) == string.lower(getCreatureName(tmp)))then
                        return tmp;
                    end
                end
            end
        end
    end
    local tmp = getTopCreature(BlindField).uid;
    if(tmp > 0)then
        if(string.lower(name) == string.lower(getCreatureName(tmp)))then
            return tmp;
        end
    end
    return 0;
end

local function FirstWave(count, spawnazerus)
    if(getStorage(isEvent) < 1)then
        return;
    end
    spawnazerus = spawnazerus or false;
    if(spawnazerus)then
        doCreateMonster('Azerus', m_posi[math.random(1,#m_posi)]);
        for _,pos in pairs(m_posi) do
            doCreateMonster("Rift Worm", pos, false, true);
        end
    else
        for i =1, count do
            doCreateMonster('Rift Worm', m_posi[math.random(1,#m_posi)]);
        end
    end
    addEvent(FirstWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end

local function SecondWave(count, replaceazerus)
    if(getStorage(isEvent) < 1)then
        return;
    end
    replaceazerus = replaceazerus or false;
    if(replaceazerus)then
        local tmp = getCreatureByName("Azerus");
        if(tmp > 0)then
            doRemoveCreature(tmp);
        end
        doCreateMonster("Azerus1", m_posi[math.random(1,#m_posi)]);
       
        for _,pos in pairs(m_posi) do
            doCreateMonster("Rift Brood", pos, false, true);
        end
    else
        for i =1, count do
            doCreateMonster("Rift Brood", m_posi[math.random(1,#m_posi)]);
        end
    end
    addEvent(SecondWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end

local function ThirdWave(count, replaceazerus)
    if(getStorage(isEvent) < 1)then
        return;
    end
    replaceazerus = replaceazerus or false;
    if(replaceazerus)then
        local tmp = getCreatureByName("Azerus");
        if(tmp > 0)then
            doRemoveCreature(tmp);
        end
        doCreateMonster("Azerus2", m_posi[math.random(1,#m_posi)]);
        for _,pos in pairs(m_posi) do
            doCreateMonster("Rift Scythe", pos, false, true);
        end
    else
        for i =1, count do
            doCreateMonster("Rift Scythe", m_posi[math.random(1,#m_posi)]);
        end
    end
    addEvent(ThirdWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end

local function FourthWave(count, replaceazerus)
    if(getStorage(isEvent) < 1)then
        return;
    end
    if(replaceazerus)then
        local tmp = getCreatureByName("Azerus");
        if(tmp > 0)then
            doRemoveCreature(tmp);
        end
        tmp = doCreateMonster("Azerus3", m_posi[math.random(1,#m_posi)]);
        registerCreatureEvent(tmp, "AzerusDeath");
       
        for _,pos in pairs(m_posi) do
            doCreateMonster("War Golem", pos, false, true);
        end
    else
        for i =1, count do
            doCreateMonster("War Golem", m_posi[math.random(1,#m_posi)]);
        end
    end
    addEvent(FourthWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end

local function fixGlobe()
    doItemSetAttribute(getTileItemById(glo, 9767).uid, "aid", 58261)
end

local function checkArea()
    if(getStorage(isEvent) > 0)then
        local players = getCreaturesFromArea(topLeft, buttomRight, isPlayer);
        if(#players < 1)then
            doSetStorage(isEvent,0);
            endAzerusFightA();
            addEvent(fixGlobe, 60*1000);
        else
            addEvent(checkArea, 10*1000);
        end
    end
end

function endAzerusFightA()
    local monsters = getCreaturesFromArea(topLeft,buttomRight,isMonster);
    while(#monsters > 0)do
        for _,m in pairs(monsters)do
            doRemoveCreature(m);
        end
        monsters = getCreaturesFromArea(topLeft,buttomRight,isMonster);
    end
    doCreateTeleport(1387, tpin[2],tpin[1]);
    doCreateTeleport(1387, tpout[2],tpout[1]);
end

function onUse(cid, item, fromPosition, itemEx, toPosition)
    if item.actionid == 58261 then
        doItemSetAttribute(item.uid, "aid", 58263)
    else
        doCreatureSay(cid, "You have to wait some time before this globe will charge.", TALKTYPE_ORANGE_1)
        return;
    end

    local tp = getTileItemById(tpin[1],1387).uid;
    if(tp > 0)then
        doRemoveItem(tp)
    end
    tp = getTileItemById(tpout[1],1387).uid;
    if(tp > 0)then
        doRemoveItem(tp)
    end
   
    doSetStorage(isEvent,1);
    checkArea();
    FirstWave(0,true)
    addEvent(SecondWave, math.random(60,70)*1000,0,true)
    addEvent(ThirdWave, math.random(100,130)*1000,0,true)
    addEvent(FourthWave, math.random(190,210)*1000,0,true)
    return true
end

I made it work now I mean Azerus Spawn at begin and everything works fine but still those bugs appear in console......
 
Last edited:
Comment out (-- ) the lines where you call:
  • doCreateMonster("Rift Brood", pos, false, true)
  • doCreateMonster("Rift Scythe", pos, false, true)
And test if you still get the error, if not put them back one by one and then you know which gives the error.


Also you did not remove all the false,true in the doCreateMonster functions. Remove them to if above turns out these lines are the ones who cause the error.
 
Last edited:
if you put two dashes: --
In front of a rule code, it counts that one as comment, and that is called comment out ;)

Your script, commented out all the things i said:

Code:
-- Config #1 --
local BlindField = {x=748, y=1921, z=10, stackpos=1}
local topLeft = {x=743, y=1923, z=10}
local buttomRight = {x=758, y=1940, z=10}
local tpin = {{x=751, y=1941, z=10}, {x=750, y=1939, z=10}}
local tpout = {{x=750, y=1939, z=10}, {x=751, y=1941, z=9}}
local glo = {x=750, y=1930, z=10}
local m_posi = {
{x= glo.x - 4,y=glo.y,z=glo.z},
{x= glo.x + 4,y=glo.y,z=glo.z},
{x=glo.x,y=glo.y + 4,z=glo.z},
{x=glo.x,y=glo.y - 4,z=glo.z},
{x=glo.x,y=glo.y + 5,z=glo.z},
{x=glo.x,y=glo.y - 5,z=glo.z}
}
ttime = {10, 30}
local isEvent = 58263;
-- end --

function getCreaturesFromArea(fromPos, toPos,checkFunction)
    local rarr = {};
    checkFunction = checkFunction or function(arg) return true; end;
    for fx = fromPos.x, toPos.x do
        for fy = fromPos.y, toPos.y do
            for fz = fromPos.z, toPos.z do
                local tmp = getTopCreature({x=fx,y=fy,z=fz}).uid;
                if(checkFunction(tmp))then
                    table.insert(rarr, tmp);
                end
            end
        end
    end
    local tmp = getTopCreature(BlindField).uid;
    if(checkFunction(tmp))then
        table.insert(rarr, tmp);
    end
    return rarr;
end

function getCreatureFromArea(fromPos, toPos,name)
    for fx = fromPos.x, toPos.x do
        for fy = fromPos.y, toPos.y do
            for fz = fromPos.z, toPos.z do
                local tmp = getTopCreature({x=fx,y=fy,z=fz}).uid;
                if(tmp > 0)then
                    if(string.lower(name) == string.lower(getCreatureName(tmp)))then
                        return tmp;
                    end
                end
            end
        end
    end
    local tmp = getTopCreature(BlindField).uid;
    if(tmp > 0)then
        if(string.lower(name) == string.lower(getCreatureName(tmp)))then
            return tmp;
        end
    end
    return 0;
end

local function FirstWave(count, spawnazerus)
    if(getStorage(isEvent) < 1)then
        return;
    end
    spawnazerus = spawnazerus or false;
    if(spawnazerus)then
        doCreateMonster('Azerus', m_posi[math.random(1,#m_posi)]);
        for _,pos in pairs(m_posi) do
          -- doCreateMonster("Rift Worm", pos, false, true);
        end
    else
        for i =1, count do
            doCreateMonster('Rift Worm', m_posi[math.random(1,#m_posi)]);
        end
    end
    addEvent(FirstWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end

local function SecondWave(count, replaceazerus)
    if(getStorage(isEvent) < 1)then
        return;
    end
    replaceazerus = replaceazerus or false;
    if(replaceazerus)then
        local tmp = getCreatureByName("Azerus");
        if(tmp > 0)then
            doRemoveCreature(tmp);
        end
        doCreateMonster("Azerus1", m_posi[math.random(1,#m_posi)]);
     
        for _,pos in pairs(m_posi) do
          -- doCreateMonster("Rift Brood", pos, false, true);
        end
    else
        for i =1, count do
          -- doCreateMonster("Rift Brood", m_posi[math.random(1,#m_posi)]);
        end
    end
    addEvent(SecondWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end

local function ThirdWave(count, replaceazerus)
    if(getStorage(isEvent) < 1)then
        return;
    end
    replaceazerus = replaceazerus or false;
    if(replaceazerus)then
        local tmp = getCreatureByName("Azerus");
        if(tmp > 0)then
            doRemoveCreature(tmp);
        end
        doCreateMonster("Azerus2", m_posi[math.random(1,#m_posi)]);
        for _,pos in pairs(m_posi) do
          -- doCreateMonster("Rift Scythe", pos, false, true);
        end
    else
        for i =1, count do
        --  doCreateMonster("Rift Scythe", m_posi[math.random(1,#m_posi)]);
        end
    end
    addEvent(ThirdWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end

local function FourthWave(count, replaceazerus)
    if(getStorage(isEvent) < 1)then
        return;
    end
    if(replaceazerus)then
        local tmp = getCreatureByName("Azerus");
        if(tmp > 0)then
            doRemoveCreature(tmp);
        end
        tmp = doCreateMonster("Azerus3", m_posi[math.random(1,#m_posi)]);
        registerCreatureEvent(tmp, "AzerusDeath");
     
        for _,pos in pairs(m_posi) do
            doCreateMonster("War Golem", pos, false, true);
        end
    else
        for i =1, count do
            doCreateMonster("War Golem", m_posi[math.random(1,#m_posi)]);
        end
    end
    addEvent(FourthWave,math.random(ttime[1],ttime[2])*1000,math.random(1,#m_posi));
end

local function fixGlobe()
    doItemSetAttribute(getTileItemById(glo, 9767).uid, "aid", 58261)
end

local function checkArea()
    if(getStorage(isEvent) > 0)then
        local players = getCreaturesFromArea(topLeft, buttomRight, isPlayer);
        if(#players < 1)then
            doSetStorage(isEvent,0);
            endAzerusFightA();
            addEvent(fixGlobe, 60*1000);
        else
            addEvent(checkArea, 10*1000);
        end
    end
end

function endAzerusFightA()
    local monsters = getCreaturesFromArea(topLeft,buttomRight,isMonster);
    while(#monsters > 0)do
        for _,m in pairs(monsters)do
            doRemoveCreature(m);
        end
        monsters = getCreaturesFromArea(topLeft,buttomRight,isMonster);
    end
    doCreateTeleport(1387, tpin[2],tpin[1]);
    doCreateTeleport(1387, tpout[2],tpout[1]);
end

function onUse(cid, item, fromPosition, itemEx, toPosition)
    if item.actionid == 58261 then
        doItemSetAttribute(item.uid, "aid", 58263)
    else
        doCreatureSay(cid, "You have to wait some time before this globe will charge.", TALKTYPE_ORANGE_1)
        return;
    end

    local tp = getTileItemById(tpin[1],1387).uid;
    if(tp > 0)then
        doRemoveItem(tp)
    end
    tp = getTileItemById(tpout[1],1387).uid;
    if(tp > 0)then
        doRemoveItem(tp)
    end
 
    doSetStorage(isEvent,1);
    checkArea();
    FirstWave(0,true)
    addEvent(SecondWave, math.random(60,70)*1000,0,true)
    addEvent(ThirdWave, math.random(100,130)*1000,0,true)
    addEvent(FourthWave, math.random(190,210)*1000,0,true)
    return true
end
 
There is nothing wrong with the script, it clearly cant find the monsters, it trying to create make sure you have them and they are registerd on monster.xml. Could you post monster.xml
 
Monsters xml is too long

Code:
        <!-- Azerus -->
    <monster name="Azerus"    file="8.4/Azerus.xml"/>
    <monster name="Azerus1" file="8.4/Azerus1.xml"/>
    <monster name="Azerus2" file="8.4/Azerus2.xml"/>
    <monster name="Azerus3" file="8.4/Azerus3.xml"/>

Code:
    <!-- Rifts -->
    <monster name="Rift Worm" file="Rifts/rift worm.xml"/>
    <monster name="Rift Scythe" file="Rifts/rift scythe.xml"/>
    <monster name="Rift Brood" file="Rifts/rift brood.xml"/>
 
still I get this bug

Code:
[16/10/2013 16:08:26] [Error - Action Interface]
[16/10/2013 16:08:26] In a timer event called from:
[16/10/2013 16:08:26] data/actions/scripts/quests/azerus.lua:onUse
[16/10/2013 16:08:26] Description:
[16/10/2013 16:08:26] (luaDoCreateMonster) Monster with name '' not found

[16/10/2013 16:08:26] [Error - Action Interface]
[16/10/2013 16:08:26] In a timer event called from:
[16/10/2013 16:08:26] data/actions/scripts/quests/azerus.lua:onUse
[16/10/2013 16:08:26] Description:
[16/10/2013 16:08:26] (luaDoCreateMonster) Monster with name '' not found

[16/10/2013 16:08:26] [Error - Action Interface]
[16/10/2013 16:08:26] In a timer event called from:
[16/10/2013 16:08:26] data/actions/scripts/quests/azerus.lua:onUse
[16/10/2013 16:08:26] Description:
[16/10/2013 16:08:26] (luaDoCreateMonster) Monster with name '' not found

[16/10/2013 16:08:26] [Error - Action Interface]
[16/10/2013 16:08:26] In a timer event called from:
[16/10/2013 16:08:26] data/actions/scripts/quests/azerus.lua:onUse
[16/10/2013 16:08:26] Description:
[16/10/2013 16:08:26] (luaDoCreateMonster) Monster with name '' not found

[16/10/2013 16:08:26] [Error - Action Interface]
[16/10/2013 16:08:26] In a timer event called from:
[16/10/2013 16:08:26] data/actions/scripts/quests/azerus.lua:onUse
[16/10/2013 16:08:26] Description:
[16/10/2013 16:08:26] (luaDoCreateMonster) Monster with name '' not found

[16/10/2013 16:08:26] [Error - Action Interface]
[16/10/2013 16:08:26] In a timer event called from:
[16/10/2013 16:08:26] data/actions/scripts/quests/azerus.lua:onUse
[16/10/2013 16:08:26] Description:
[16/10/2013 16:08:26] (luaDoCreateMonster) Monster with name '' not found
 
Last edited:
And if you change the monsters name for a common monster that certainly works, like an Skeleton.
Like:
LUA:
doCreateMonster("Skeleton", pos)

It could be that something is bugged in Azerus(1,2 and 3).xml, Rift Brood.xml or Rift Scythe.xml. Check if they exist in your folder
data\monster\8.4 and data\monster\rifts.
 
Back
Top