E
Evil Puncker
Guest
here yes.
here yes.
<event type="logout" name="demonOakLogout" event="script" value="custom/demonOakLogout.lua"/>
<event type="death" name="demonOakDeath" event="script" value="custom/demonOakDeath.lua"/>
<event type="attack" name="demonOakAttack" event="script" value="custom/demonOakAttack.lua"/>
registerCreatureEvent(cid, "demonOakDeath")
registerCreatureEvent(cid, "demonOakAttack")
registerCreatureEvent(cid, "demonOakLogout")
return true
end
i can cut it again after death, they just don't got removed and I'm sure that the positions are right, and no console errors
nopeThat's weird :s! There isn't errors on console when server starts?
Did exactly like the picture...
I just keep killing monsters... just killing... and killing haha 34 waves in a row now...
Also, if I use the Hallowed Axe to spawn more monsters while they are still some, they just spawn...
And, if one player is doing the quest, and someone cuts the tree, no msg appears and the second player starts the quest also... ;/
Infos:
oneInArea = true
killAllBeforeCut = true
oakThink = true
What's going on? haha
5/9/2011 3:53:0] [Error - Action Interface]
[5/9/2011 3:53:0] data/actions/scripts/demonOak.lua:onUse
[5/9/2011 3:53:0] Description:
[5/9/2011 3:53:0] (luaDoCreateMonster) Cannot create monster: Dark Torturer
[5/9/2011 3:53:0] [Error - Action Interface]
[5/9/2011 3:53:0] data/actions/scripts/demonOak.lua:onUse
[5/9/2011 3:53:0] Description:
[5/9/2011 3:53:0] (luaDoCreateMonster) Cannot create monster: Banshee
[5/9/2011 3:53:1] [Error - Action Interface]
[5/9/2011 3:53:1] data/actions/scripts/demonOak.lua:onUse
[5/9/2011 3:53:1] Description:
[5/9/2011 3:53:1] (luaDoCreateMonster) Cannot create monster: Betrayed Wraith
[5/9/2011 3:53:1] [Error - Action Interface]
[5/9/2011 3:53:1] data/actions/scripts/demonOak.lua:onUse
[5/9/2011 3:53:1] Description:
[5/9/2011 3:53:1] (luaDoCreateMonster) Cannot create monster: Blightwalker
@darkhaos, good script brother but I have problem with the monsters, when i use the hallowed axe in the Demon Oak the monsters dont appear
Code:5/9/2011 3:53:0] [Error - Action Interface] [5/9/2011 3:53:0] data/actions/scripts/demonOak.lua:onUse [5/9/2011 3:53:0] Description: [5/9/2011 3:53:0] (luaDoCreateMonster) Cannot create monster: Dark Torturer [5/9/2011 3:53:0] [Error - Action Interface] [5/9/2011 3:53:0] data/actions/scripts/demonOak.lua:onUse [5/9/2011 3:53:0] Description: [5/9/2011 3:53:0] (luaDoCreateMonster) Cannot create monster: Banshee [5/9/2011 3:53:1] [Error - Action Interface] [5/9/2011 3:53:1] data/actions/scripts/demonOak.lua:onUse [5/9/2011 3:53:1] Description: [5/9/2011 3:53:1] (luaDoCreateMonster) Cannot create monster: Betrayed Wraith [5/9/2011 3:53:1] [Error - Action Interface] [5/9/2011 3:53:1] data/actions/scripts/demonOak.lua:onUse [5/9/2011 3:53:1] Description: [5/9/2011 3:53:1] (luaDoCreateMonster) Cannot create monster: Blightwalker
i use too string.lower() to convert the name of the monsters but nothing happen the error are fcking my day
doCreateMonster(summons[get][i], pos)
doCreateMonster(summons[get][i]:lower(), pos)
[Error - Action Interface]
data/actions/scripts/mine/quests/Demon Oak/demonOak.luanUse
description:
...a/actions/scripts/mine/quests/Demon Oak/demonOak.lua:85: attempt to compare number with nil
stack traceback:
...a/actions/scripts/mine/quests/Demon Oak/demonOak.lua:85: in function <...a/actions/scripts/mine/quests/Demon Oak/demonOak.lua:1>
Sometimes, comes an console error, take a look:
The line is: " if cbs > 0 then", then i solver put on the top "local cbs = 0", so, there is no more console errors.
But, on the Demon Oak's face, everytime is just POFF, don't matter the time. And the waves never ends, and is don't appearing the message "There are n monster that could not be summoned. Wave has not been counted.".
What should be?
if getCreatureStorage(cid, itemEx.itemid) >= (waves and waves > 0 and waves or #summons) + 1 then
return doSendMagicEffect(toPosition, CONST_ME_POFF)
end
What it does, exactly? (I can read in LUA, but what it does on the meaning of the quest?)if(math.random(100) <= 10) then
doCreatureSetStorage(cid, itemEx.itemid, 12)
return true
end