Kamil KureK
New Member
- Joined
- Apr 17, 2018
- Messages
- 24
- Reaction score
- 1
HI
after turning on tfs, I get this error HELP !
[19:22:20.582] [Error - GlobalEvent Interface]
[19:22:20.582] domodlib("config_jungle")
[19:22:20.582] domodlib("lib_jungle")
[19:22:20.582] local daysOpen = {}
[19:22:20.582] for k, v in pairs(configJungleStormEvent.days) do
[19:22:20.582] table.insert(daysOpen, k)
[19:22:20.582] end
[19:22:20.582] function onThink(interval)
[19:22:20.582] if isInArray(daysOpen, os.date('%A')) then
[19:22:20.582] if isInArray(configJungleStormEvent.days[os.date('%A')], os.date('%X', os.time())) then
[19:22:20.582] if getStorage(configJungleStormEvent.storages.joining) ~= 1 then
[19:22:20.582] doJungleStart(0)
[19:22:20.583] for _, pid in ipairs(getPlayersOnline()) do
[19:22:20.583] if getCreatureStorage(pid, configJungleStormEvent.storages.player) > 0 then
[19:22:20.583] doCreatureSetStorage(pid, configJungleStormEvent.storages.player, -1)
[19:22:20.583] doTeleportThing(pid, getTownTemplePosition(getPlayerTown(pid)), true)
[19:22:20.583] end
[19:22:20.583] end
[19:22:20.583] doSetStorage(configJungleStormEvent.storages.joining, 1)
[19:22:20.583] addEvent(doStartJungleEvent, configJungleStormEvent.delayTime * 60 * 1000)
[19:22:20.583] end
[19:22:20.583] end
[19:22:20.583] end
[19:22:20.583] return true
[19:22:20.583] end
[19:22:20.583] nThink
[19:22:20.583] Description:
[19:22:20.583] [string "LuaInterface::loadBuffer"]:8: attempt to call global 'isInArray' (a nil value)
[19:22:20.583] stack traceback:
[19:22:20.584] [string "LuaInterface::loadBuffer"]:8: in function <[string "LuaInterface::loadBuffer"]:7>
[19:22:20.584] [Error - GlobalEvents::think] Couldn't execute event: JUNGLE_EVENT
^C
after turning on tfs, I get this error HELP !
[19:22:20.582] [Error - GlobalEvent Interface]
[19:22:20.582] domodlib("config_jungle")
[19:22:20.582] domodlib("lib_jungle")
[19:22:20.582] local daysOpen = {}
[19:22:20.582] for k, v in pairs(configJungleStormEvent.days) do
[19:22:20.582] table.insert(daysOpen, k)
[19:22:20.582] end
[19:22:20.582] function onThink(interval)
[19:22:20.582] if isInArray(daysOpen, os.date('%A')) then
[19:22:20.582] if isInArray(configJungleStormEvent.days[os.date('%A')], os.date('%X', os.time())) then
[19:22:20.582] if getStorage(configJungleStormEvent.storages.joining) ~= 1 then
[19:22:20.582] doJungleStart(0)
[19:22:20.583] for _, pid in ipairs(getPlayersOnline()) do
[19:22:20.583] if getCreatureStorage(pid, configJungleStormEvent.storages.player) > 0 then
[19:22:20.583] doCreatureSetStorage(pid, configJungleStormEvent.storages.player, -1)
[19:22:20.583] doTeleportThing(pid, getTownTemplePosition(getPlayerTown(pid)), true)
[19:22:20.583] end
[19:22:20.583] end
[19:22:20.583] doSetStorage(configJungleStormEvent.storages.joining, 1)
[19:22:20.583] addEvent(doStartJungleEvent, configJungleStormEvent.delayTime * 60 * 1000)
[19:22:20.583] end
[19:22:20.583] end
[19:22:20.583] end
[19:22:20.583] return true
[19:22:20.583] end
[19:22:20.583] nThink
[19:22:20.583] Description:
[19:22:20.583] [string "LuaInterface::loadBuffer"]:8: attempt to call global 'isInArray' (a nil value)
[19:22:20.583] stack traceback:
[19:22:20.584] [string "LuaInterface::loadBuffer"]:8: in function <[string "LuaInterface::loadBuffer"]:7>
[19:22:20.584] [Error - GlobalEvents::think] Couldn't execute event: JUNGLE_EVENT
^C