adikus95
New Member
- Joined
- May 17, 2009
- Messages
- 29
- Reaction score
- 0
Hello,
Linux Debian 7.6 wheezy
I compiled [8.6] TFS 0.3 - 0.3.7-r5916-v8.60 and i have problems with NPC and MODS.
On windows all works but on linux with ./configure --enable-mysql i have these errors:
MODS:
and more errors with all events.
NPC:
Errors in all scripts.
Can any help me?
Linux Debian 7.6 wheezy
I compiled [8.6] TFS 0.3 - 0.3.7-r5916-v8.60 and i have problems with NPC and MODS.
On windows all works but on linux with ./configure --enable-mysql i have these errors:
MODS:
Code:
[10:46:19.264] [Error - GlobalEvent Interface]
[10:46:19.264] domodlib("config_run_event")
[10:46:19.264] domodlib("lib_run_event")
[10:46:19.264] local daysOpen = {}
[10:46:19.264] for k, v in pairs(configRunEvent.days) do
[10:46:19.264] table.insert(daysOpen, k)
[10:46:19.264] end
[10:46:19.264] function onThink(interval)
[10:46:19.264] if isInArray(daysOpen, os.date("%A")) then
[10:46:19.264] if isInArray(configRunEvent.days[os.date("%A")], os.date("%X", os.time())) then
[10:46:19.264] if getStorage(configRunEvent.storages.joining) ~= 1 then
[10:46:19.264] doSetStorage(configRunEvent.storages.joining, 1)
[10:46:19.264] addEvent(doStartEventRun, configRunEvent.delayTime * 60 * 1000)
[10:46:19.264] doStartCountingRunEvent(0)
[10:46:19.264] for _, pid in ipairs(getPlayersOnline()) do
[10:46:19.264] if getCreatureStorage(pid, configRunEvent.storages.player) > 0 then
[10:46:19.264] doCreatureSetStorage(pid, configRunEvent.storages.player, -1)
[10:46:19.264] doPlayerSetGroupId(pid, math.max(1, getCreatureStorage(pid, configRunEvent.storages.group)))
[10:46:19.264] doChangeSpeed(pid, getCreatureBaseSpeed(pid) - configRunEvent.players.speed)
[10:46:19.264] doTeleportThing(pid, getTownTemplePosition(getPlayerTown(pid)), true)
[10:46:19.264] end
[10:46:19.264] end
[10:46:19.264] end
[10:46:19.264] end
[10:46:19.264] end
[10:46:19.264] return true
[10:46:19.264] end
[10:46:19.264] :onThink
[10:46:19.264] Description:
[10:46:19.264] [string "LuaInterface::loadBuffer"]:10: attempt to call global 'isInArray' (a nil value)
[10:46:19.264] stack traceback:
[10:46:19.264] [string "LuaInterface::loadBuffer"]:10: in function <[string "LuaInterface::loadBuffer"]:9>
[10:46:19.264] [Error - GlobalEvents::think] Couldn't execute event: Run_Event_Days
[10:46:20.291] [Error - GlobalEvents::think] Couldn't execute event: LMS_Event_Days
[10:46:20.291] [Error - GlobalEvent Interface]
[10:46:20.291] domodlib("config_run_event")
[10:46:20.291] domodlib("lib_run_event")
[10:46:20.291] local daysOpen = {}
[10:46:20.291] for k, v in pairs(configRunEvent.days) do
[10:46:20.291] table.insert(daysOpen, k)
[10:46:20.291] end
[10:46:20.291] function onThink(interval)
[10:46:20.291] if isInArray(daysOpen, os.date("%A")) then
[10:46:20.291] if isInArray(configRunEvent.days[os.date("%A")], os.date("%X", os.time())) then
[10:46:20.291] if getStorage(configRunEvent.storages.joining) ~= 1 then
[10:46:20.291] doSetStorage(configRunEvent.storages.joining, 1)
[10:46:20.291] addEvent(doStartEventRun, configRunEvent.delayTime * 60 * 1000)
[10:46:20.291] doStartCountingRunEvent(0)
[10:46:20.291] for _, pid in ipairs(getPlayersOnline()) do
[10:46:20.291] if getCreatureStorage(pid, configRunEvent.storages.player) > 0 then
[10:46:20.291] doCreatureSetStorage(pid, configRunEvent.storages.player, -1)
[10:46:20.291] doPlayerSetGroupId(pid, math.max(1, getCreatureStorage(pid, configRunEvent.storages.group)))
[10:46:20.291] doChangeSpeed(pid, getCreatureBaseSpeed(pid) - configRunEvent.players.speed)
[10:46:20.291] doTeleportThing(pid, getTownTemplePosition(getPlayerTown(pid)), true)
[10:46:20.291] end
[10:46:20.292] end
[10:46:20.292] end
[10:46:20.292] end
[10:46:20.292] end
[10:46:20.292] return true
[10:46:20.292] end
[10:46:20.292] :onThink
[10:46:20.292] Description:
[10:46:20.292] [string "LuaInterface::loadBuffer"]:10: attempt to call global 'isInArray' (a nil value)
[10:46:20.292] stack traceback:
[10:46:20.292] [string "LuaInterface::loadBuffer"]:10: in function <[string "LuaInterface::loadBuffer"]:9>
[10:46:20.292] [Error - GlobalEvents::think] Couldn't execute event: Run_Event_Days
NPC:
Code:
[10:45:47.669] [Error - NpcScript Interface]
[10:45:47.669] data/npc/scripts/exp.lua
[10:45:47.669] Description:
[10:45:47.669] data/npc/scripts/exp.lua:2: attempt to index global 'KeywordHandler' (a nil value)
[10:45:47.669] [Warning - NpcEvents::NpcEvents] Cannot load script: data/npc/scripts/exp.lua
[10:45:47.669] [Error - NpcScript Interface]
[10:45:47.669] data/npc/scripts/addons.lua
[10:45:47.669] Description:
[10:45:47.669] data/npc/scripts/addons.lua:1: attempt to index global 'KeywordHandler' (a nil value)
[10:45:47.669] [Warning - NpcEvents::NpcEvents] Cannot load script: data/npc/scripts/addons.lua
[10:45:47.673] [Error - NpcScript Interface]
[10:45:47.673] data/npc/scripts/runes.lua
[10:45:47.673] Description:
[10:45:47.673] data/npc/scripts/runes.lua:1: attempt to index global 'KeywordHandler' (a nil value)
[10:45:47.673] [Warning - NpcEvents::NpcEvents] Cannot load script: data/npc/scripts/runes.lua
[10:45:47.684] [Error - NpcScript Interface]
[10:45:47.684] data/npc/scripts/Parcel Seller.lua
[10:45:47.684] Description:
[10:45:47.684] data/npc/scripts/Parcel Seller.lua:1: attempt to index global 'KeywordHandler' (a nil value)
[10:45:47.684] [Warning - NpcEvents::NpcEvents] Cannot load script: data/npc/scripts/Parcel Seller.lua
[10:45:47.685] [Error - NpcScript Interface]
[10:45:47.685] data/npc/scripts/food.lua
[10:45:47.685] Description:
[10:45:47.685] data/npc/scripts/food.lua:1: attempt to index global 'KeywordHandler' (a nil value)
[10:45:47.685] [Warning - NpcEvents::NpcEvents] Cannot load script: data/npc/scripts/food.lua
Can any help me?