Discussions
No Database
I have a problem the database is not created and i have no idea how to fix this.
essentialmode erreur
What is causing the server to crash?
What is causing server crashes? Discordbot?
Essentialmode and Freemode Errors
Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/json.lua:397: bad argument #1 to 'strfind' (string expected, got nil)
stack traceback:
/server meeting
i got error on my server /meeting start C]: in for iterator 'for iterator'
server.lua:33: in function 'isAdmin'
server.lua:6: in upvalue 'ref'
citizen:/scripting/lua/scheduler.lua:345: in function <citizen:/scripting/lua/scheduler.lua:344>
[C]: in function 'xpcall'
citizen:/scripting/lua/scheduler.lua:344: in function <citizen:/scripting/lua/scheduler.lua:343>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:359: in function <citizen:/scripting/lua/scheduler.lua:328>
Any idea how to resolve this error?
Error running system event handling function for resource fs_freemode: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server.lua:109: attempt to index a boolean value (local 'freemodeuser')
stack traceback:
server.lua:109: in upvalue 'callback'
libs/db.lua:62: in local 'userCallback'
citizen:/scripting/lua/scheduler.lua:274: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:175: in function <citizen:/scripting/lua/scheduler.lua:174>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:174: in function <citizen:/scripting/lua/scheduler.lua:138>
Error running system event handling function for resource fs_freemode: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server.lua:109: attempt to index a boolean value (local 'freemodeuser')
stack traceback:
server.lua:109: in upvalue 'callback'
libs/db.lua:62: in local 'userCallback'
citizen:/scripting/lua/scheduler.lua:274: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:175: in function <citizen:/scripting/lua/scheduler.lua:174>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:174: in function <citizen:/scripting/lua/scheduler.lua:138>
Error | Help?
Error running call reference function for resource fs_freemode: citizen:/scripting/lua/scheduler.lua:348: libs/db.lua:54: attempt to index a nil value (field '?')
stack traceback:
libs/db.lua:54: in upvalue 'ref'
citizen:/scripting/lua/scheduler.lua:334: in function <citizen:/scripting/lua/scheduler.lua:333>
[C]: in function 'xpcall'
citizen:/scripting/lua/scheduler.lua:333: in function <citizen:/scripting/lua/scheduler.lua:332>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:348: in function <citizen:/scripting/lua/scheduler.lua:319>
[ERROR] [MySQL] Check the error above, an error happens when executing the callback from the query : "SELECT * FROM fs_freemode WHERE identifier = 'steam:11000010faad598' {@identifier=steam:11000010faad598}"
Getting errors with my es_admin2
[ 34172] Error running system event handling function for resource es_admin2: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server.lua:334: attempt to index a nil value (local 'file')
[ 34172] stack traceback:
[ 34172] server.lua:334: in function 'appendNewPos'
[ 34188] server.lua:352: in upvalue 'handler'
[ 34188] citizen:/scripting/lua/scheduler.lua:174: in function <citizen:/scripting/lua/scheduler.lua:173>
[ 34188] stack traceback:
[ 34188] [C]: in function 'error'
[ 34203] citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
[ 34203] citizen:/scripting/lua/scheduler.lua:173: in function <citizen:/scripting/lua/scheduler.lua:138>
[ 39110] Sending heartbeat to live-internal.fivem.net:30110
Mysql support
Can i use this with mysql-async instead of CouchDB?