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

Linux executeQuery - TFS 0.4

Freeq132

Member
Joined
Feb 2, 2010
Messages
84
Reaction score
6
Location
Wrocław/Poland
When I turn my tfs 0.4 at the end of charging the engine pops up:

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() .. ");")
 
I transformed 0.3.6 to 8.6 client and the same error....

hmmm, not the same....

Code:
[Error - GlobalEvent Interface]
data/globalevents/scripts/record.lua:onRecord
Description:
data/globalevents/scripts/record.lua:2: attempt to concatenate a nil value
stack traceback:
        data/globalevents/scripts/record.lua:2: in function <data/globalevents/scripts/record.lua:1>

Code:
[Error - GlobalEvent Interface]
data/globalevents/scripts/start.lua:onStartup
Description:
data/globalevents/scripts/start.lua:2: attempt to concatenate a nil value
stack traceback:
        data/globalevents/scripts/start.lua:2: in function <data/globalevents/scripts/start.lua:1>
 
Last edited:
Back
Top