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

Solved Error shows up from nothing

Thorn

Spriting since 2013
Joined
Sep 24, 2012
Messages
2,203
Solutions
1
Reaction score
923
Location
Chile
Hello, i have a server 9.83 and tfs 0.3, well i have an error that shows up from nothing, and i believe is the error that lags the spells sometimes, cos is the only error i have
Code:
[8/6/2015 17:22:0] [Error - GlobalEvent Interface]
[8/6/2015 17:22:0] domodlib('TeamBattleIslandEvent_conf')
[8/6/2015 17:22:0] function onTime(time)
[8/6/2015 17:22:0] if isCorrectDate(eventDate) then
[8/6/2015 17:22:1]     return doSetStorage(5000, -1) and setPandoraBox(pandoraBox)
[8/6/2015 17:22:1] end
[8/6/2015 17:22:1] return true
[8/6/2015 17:22:1] end
[8/6/2015 17:22:1] :onTime
[8/6/2015 17:22:1] Description:
[8/6/2015 17:22:1] [string "LuaInterface::loadBuffer"]:3: attempt to call global 'isCorrectDate' (a nil value)
[8/6/2015 17:22:1] stack traceback:
[8/6/2015 17:22:1]     [string "LuaInterface::loadBuffer"]:3: in function <[string "LuaInterface::loadBuffer"]:2>
[8/6/2015 17:22:1] [Error - GlobalEvents::timer] Couldn't execute event: pandoraTime

plz tell me what to post and i will post it, cos it talks about two different events
 
Change domodlib('TeamBattleIslandEvent_conf') to domodlib('pandoraBox_conf')
thank you man!!! well like i said, the error appears out of nowhere, so now i will have my server open for a few hours and let you know in here if it worked!
thanks man :D!!
 
now i got this error while event was on
Code:
[16/6/2015 12:16:14] [Error - Action Interface]
[16/6/2015 12:16:14] In a timer event called from:
[16/6/2015 12:16:14] domodlib('pandoraBox_conf')
[16/6/2015 12:16:14] function onUse(cid, item, fromPosition, itemEx, toPosition)
[16/6/2015 12:16:14] if item.itemid == pandoraBox.boxId and not getItemAttribute(item.uid, 'pandoraBox') then
[16/6/2015 12:16:14]     doItemSetAttribute(item.uid, 'pandoraBox', 500)
[16/6/2015 12:16:14]     addEvent(checkMonsters, pandoraBox.timeOnKillAllMonsters * 1000 * 60, pandoraBox, 0)
[16/6/2015 12:16:14]     return setPandoraBoxMonsters(pandoraBox)
[16/6/2015 12:16:14] elseif item.itemid == pandoraBox.boxId and getItemAttribute(item.uid, 'pandoraBox') == 1000 then
[16/6/2015 12:16:14]     if getCreatureStorage(cid, 150) ~= -1 then
[16/6/2015 12:16:14]         return doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'It\'s empty.')
[16/6/2015 12:16:14]     end
[16/6/2015 12:16:14]     if pandoraBoxRewards[getPlayerVocation(cid)] then
[16/6/2015 12:16:14]         doCreatureSetStorage(cid, 150, 0)
[16/6/2015 12:16:14]         msg = 'You have found '
[16/6/2015 12:16:14]         for i = 1, #pandoraBoxRewards[getPlayerVocation(cid)]/2 do
[16/6/2015 12:16:14]             msg = msg .. getItemNameById(pandoraBoxRewards[getPlayerVocation(cid)][i*2-1]) .. (i < #pandoraBoxRewards[getPlayerVocation(cid)]/2-1 and ', ' or i == #pandoraBoxRewards[getPlayerVocation(cid)]/2-1 and ' and ' or '.')
[16/6/2015 12:16:14]             doPlayerAddItem(cid, pandoraBoxRewards[getPlayerVocation(cid)][i*2-1], pandoraBoxRewards[getPlayerVocation(cid)][i*2])
[16/6/2015 12:16:14]         end
[16/6/2015 12:16:14]         return doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg)
[16/6/2015 12:16:14]     end
[16/6/2015 12:16:14] end
[16/6/2015 12:16:14] return false
[16/6/2015 12:16:14] end
[16/6/2015 12:16:14] :onUse
[16/6/2015 12:16:14] Description:
[16/6/2015 12:16:14] (LuaInterface::luaDoCreateMonster) Cannot create monster: dragon

maybe cos in the area are trees?

ok i removed all trees and it worked :)
 
Last edited:
Back
Top