[Release] EssentialMode base

Hello,

I got everytime this error and hope here I m right:

[ 679110] Error running call reference function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:351: server/util.lua:31: bad argument #1 to ‘gmatch’ (string expected, got nil)
[ 679110] stack traceback:
[ 679125] [C]: in function ‘string.gmatch’
[ 679125] server/util.lua:31: in function ‘stringsplit’
[ 679125] server/classes/player.lua:20: in function ‘CreatePlayer’
[ 679125] server/player/login.lua:51: in upvalue ‘ref’
[ 679141] citizen:/scripting/lua/scheduler.lua:337: in function citizen:/scripting/lua/scheduler.lua:336
[ 679141] [C]: in function ‘xpcall’
[ 679141] citizen:/scripting/lua/scheduler.lua:336: in function citizen:/scripting/lua/scheduler.lua:335
[ 679141] stack traceback:
[ 679157] [C]: in function ‘error’
[ 679157] citizen:/scripting/lua/scheduler.lua:351: in function citizen:/scripting/lua/scheduler.lua:322
[ 679188] Error running call reference function for resource esplugin_mysql: citizen:/scripting/lua/scheduler.lua:351: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
[ 679188] stack traceback:
[ 679188] [C]: in function ‘error’
[ 679203] citizen:/scripting/lua/MessagePack.lua:830: in method ‘underflow’
[ 679203] citizen:/scripting/lua/MessagePack.lua:465: in field ‘any’
[ 679203] citizen:/scripting/lua/MessagePack.lua:860: in field ‘unpack’
[ 679203] citizen:/scripting/lua/scheduler.lua:563: in upvalue ‘callback’
[ 679219] server.lua:48: in upvalue ‘ref’
[ 679219] citizen:/scripting/lua/scheduler.lua:337: in function citizen:/scripting/lua/scheduler.lua:336
[ 679219] [C]: in function ‘xpcall’
[ 679219] citizen:/scripting/lua/scheduler.lua:336: in function citizen:/scripting/lua/scheduler.lua:335
[ 679219] stack traceback:
[ 679235] [C]: in function ‘error’
[ 679235] citizen:/scripting/lua/scheduler.lua:351: in function citizen:/scripting/lua/scheduler.lua:322
[ 679250] [ERROR] [MySQL] Check the error above, an error happens when executing the callback from the query : "SELECT * FROM users WHERE license=@identifier; {…

What can I do? Maybe tahts wrong?

– Don’t MODIFY, just look, MODIFY IN YOUR SERVER CONFIGURATION! –

ip = GetConvar(‘es_couchdb_url’, ‘127.0.0.1’) – Change to wherever your DB is hosted, use convar
port = GetConvar(‘es_couchdb_port’, ‘5984’) – Change to whatever port you have CouchDB running on, use convar
auth = GetConvar(‘es_couchdb_password’, ‘root:1202’) – “user:password”, if you have auth setup, use convar

We use mysql DB…

1 Like

The download link does not work at the moment. Just wanted to let you know if you didn’t already https://kanersps.pw/files/essential5.zip this is the link that is broken :slight_smile:

i cant find it either

Does anyone know what this means? Never seen it before. To do with javascript…
Seems as though the esx_menu_default is buggy.

does essentialmode go in just resources or does it also go in [essentials]

don’t really matter just [essential] means keeps organised, but good to put in own folder keep all together

2 Likes

How do I use Money in the game, my money is always $0. Even though I’ve done some work, and can’t buy $0 things in game.

Do I need to change some files? or add another plugin

start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start ■■■■■■■
start scoreboard
start playernames
start baseevents
start synn-loadscreen
start essentialmode
start async
start mysql-async
start fs_freemode
start SecurityVans
start vMenu

@Aphex That’s not EssentialMode.
@xylwin Ask the creator of the resource that actually uses/shows money. EssentialMode itself doesn’t contain any content that does such.

Can someone help me?

1 Like

Same issue, same errors, same attitude

Found a post above, haven’t had time to try it but make sure you have imported the sql.sql file into your database.

https://pastebin.com/KFd7mWVZ

What is problem and how to fix?

ES_ERROR: There seems to be an issue while adding money, a different type than number was trying to be added.

need more really like what scripts giving error, but as i know that error …

what script ur useing thats pays money look in .lua file and find where it says

whats messing it up is colon and dot

your missing es_extended

get banking script like es_bank

thanks pdc0001 it worked

1 Like

Does the link not work for anyone else I cant download it for some reason?

InvokeNative: execution failed: Argument at index 0 was null.
Error running call reference function for resource es_admin2: citizen:/scripting/lua/scheduler.lua:351: Execution of native 00000000406b4b20 in script host failed.
stack traceback:
	[C]: in upvalue '_in'
	citizen:/scripting/lua/natives_server.lua:142: in function 'GetPlayerName'
	server.lua:339: in upvalue 'ref'
	citizen:/scripting/lua/scheduler.lua:337: in function <citizen:/scripting/lua/scheduler.lua:336>
	[C]: in function 'xpcall'
	citizen:/scripting/lua/scheduler.lua:336: in function <citizen:/scripting/lua/scheduler.lua:335>
stack traceback:
	[C]: in function 'error'
	citizen:/scripting/lua/scheduler.lua:351: in function <citizen:/scripting/lua/scheduler.lua:322>
Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
stack traceback:
	[C]: in function 'error'
	citizen:/scripting/lua/MessagePack.lua:830: in method 'underflow'
	citizen:/scripting/lua/MessagePack.lua:465: in field 'any'
	citizen:/scripting/lua/MessagePack.lua:860: in field 'unpack'
	citizen:/scripting/lua/scheduler.lua:563: in field 'cmd'
	server/main.lua:114: 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>

After update from 5.0.0 to 5.0.2 i cant use /kick id

Did you try to delete caches.xml and try again?
Yes

Error screenshot (if any)

System specifications
Ubuntu 16.04

What did you do to get this issue?
Started the server

What server did you get this issue on?
My Own

Also add what you already tried so far.

  1. Ensured server.cfg had file structure correct (e.g. mysql-async before essentialmode. esplugin_mysql after essentialmode).
  2. Restarted server
  3. Looked through login.lua in /resources/essentialmode/server/player
  4. Read through this suggestion: [Release] EssentialMode base

have u got this in server.cfg

1