Freeq132
Member
When I turn my tfs 0.4 at the end of charging the engine pops up:
Line 79:
When someone are logged in, and record has been changed:
Line 2:
Code:
[13:1:05.572] [Error - GlobalEvent Interface]
[13:1:05.572] data/globalevents/scripts/init.lua:onStartup
[13:1:05.572] Description:
[13:1:05.573] data/globalevents/scripts/init.lua:79: attempt to call field 'executeQuery' (a nil value)
[13:1:05.573] stack traceback:
[13:1:05.573] data/globalevents/scripts/init.lua:79: in function <data/globalevents/scripts/init.lua:8>
Line 79:
Code:
db.executeQuery("UPDATE `players` SET `online` = 0 WHERE `world_id` = " .. getConfigValue('worldId') .. ";")
When someone are logged in, and record has been changed:
Code:
[13:0:07.646] [Error - GlobalEvent Interface]
[13:0:07.646] data/globalevents/scripts/record.lua:onRecord
[13:0:07.646] Description:
[13:0:07.646] data/globalevents/scripts/record.lua:2: attempt to call field 'executeQuery' (a nil value)
[13:0:07.646] stack traceback:
[13:0:07.646] data/globalevents/scripts/record.lua:2: in function <data/globalevents/scripts/record.lua:1>
Line 2:
Code:
db.executeQuery("INSERT INTO `server_record` (`record`, `world_id`, `timestamp`) VALUES (" .. current .. ", " .. getConfigValue('worldId') .. ", " .. os.time() .. ");")