[Release] [WIP] ESX 2

Okay so spawning in the last location is working, but just before I get my normal Online NPC model I’m spawning as Hipster from fivem-map-hipster for like 3-4 seconds. Do you know how to disable that? I can’t delete fivem-map-hipster because when I do that I’m just stuck at loading screen. I have seen on some servers you can just spawn as “invisible” NPC for that loading normal skin time.

How do u get this working? it doesnt seem to want to work for me.

could someone make a zip with the files already in the correct position?

I have a problem with the last es_extended relase. If I log in the server is all ok, but when I log off, a mysql problem appear:

Error: (node:31886) UnhandledPromiseRejectionWarning: AssertionError [ERR_ASSERTION]: unexpected PromiseRejectEvent
at process. (internal/process/promises.js:27:25)
at
at Query.db.query [as _callback] (mysql-async.js:4973:13)
at Query.Sequence.end (mysql-async.js:280:24)
at Query.ErrorPacket (mysql-async.js:2122:8)
at Protocol._parsePacket (mysql-async.js:5941:23)
at Parser.write (mysql-async.js:6198:12)
at Protocol.write (mysql-async.js:5701:16)
at Socket. (mysql-async.js:693:28)
at emitOne (events.js:116:13)
Error: (node:31886) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
Error: (node:31886) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Error: (node:31886) UnhandledPromiseRejectionWarning: Error: ER_DATA_TOO_LONG: Data too long for column ‘position’ at row 1
at Query.Sequence._packetToError (mysql-async.js:244:14)
at Query.ErrorPacket (mysql-async.js:2109:18)
at Protocol._parsePacket (mysql-async.js:5941:23)
at Parser.write (mysql-async.js:6198:12)
at Protocol.write (mysql-async.js:5701:16)
at Socket. (mysql-async.js:693:28)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
--------------------
at Pool.query (mysql-async.js:4728:23)
at Promise (mysql-async.js:4970:12)
at new Promise ()
at execute (mysql-async.js:4967:26)
at Object.global.exports [as callback] (mysql-async.js:4985:5)
at citizen:/scripting/v8/main.js:87:41
Error: (node:31886) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

It’s an unknow bug?

Hello! Im having trouble with ESX and its base scripts.
I have a Zap server and installed it and it didnt work so I decided to delete the entire server and install ESX and essentialmode manually.

Ok so the problem comes here, esx was working fine 1 day ago, but today it suddenly stopped working correctly and i dont know what is happening.

Here are some pics of the erros im noticing

Here, at the top right it should say the job i currently have, but it doesnt display, also when i delete my character from the database i cant register him

As shown here, the register doesnt appear and no error appears neither in the console or the game

Here is the console

Started resource sessionmanager 
Started resource mapmanager 
Started resource chat 
Started resource spawnmanager 
Started gametype Freeroam 
Started resource fivem 
Started resource hardcap 
Started resource ■■■■■■■ 
Started resource scoreboard 
Started resource playernames 
Started resource mysql-async 
Started resource essentialmode 
Started resource esplugin_mysql 
Started resource es_admin2 
Started resource async 
Started resource es_extended 
Started resource instance 
Started resource cron 
Started resource skinchanger 
Started resource esx_skin 
Started resource esx_menu_default 
Started resource esx_menu_list 
Started resource esx_menu_dialog 
e[93mCouldn't find resource esx_phone.e[0m 
Started resource esx_addonaccount 
Started resource esx_addoninventory 
Started resource esx_datastore 
Started resource esx_society 
Started resource esx_service 
Started resource esx_billing 
Started resource esx_jobs 
Started resource esx_joblisting 
Started resource esx_taxijob 
e[93mCouldn't find resource esx_mecanojob.e[0m 
Started resource esx_policejob 
Started resource esx_property 
Started resource esx_realestateagentjob 
Started resource esx_bankerjob 
Started resource esx_vehicleshop 
Started resource esx_ambulancejob 
Started resource esx_status 
Started resource esx_basicneeds 
Started resource esx_clotheshop 
Started resource esx_garage 
Started resource esx_holdup 
Started resource esx_drugs 
Started resource esx_atm 
Started resource esx_legacyfuel 
Started resource mapbuilder 
Started resource bob74_ipl 
Started resource Custom_Scripts 
Started resource InteractSound 
Loaded vMenuShared.net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_343647590 
Loaded vMenuServer.net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_343647590 
Instantiated instance of script GHMatti.Http.RequestInternal. 
Instantiated instance of script GHMatti.Http.Request. 
Instantiated instance of script vMenuServer.BanManager. 
Loaded Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed into ScriptDomain_343647590 
Instantiated instance of script vMenuServer.MainServer. 
Instantiated instance of script vMenuServer.UpdateChecker. 
Started resource vMenu 
Started resource RealisticVehicleFailure 
e[93mCouldn't find resource sound.e[0m 
Started resource policevw 
Started resource britishmaps 
Started resource sheriff-meliodas 
Started resource sheriff2-meliodas 
Started resource policet-meliodas 
Started resource police-meliodas 
Started resource policeb-meliodas 
Started resource police2-meliodas 
Started resource police3-meliodas 
Started resource fbi-dante 
Started resource fbi2-dante 
Started resource firetruck-meliodas 
Started resource ambulance-meliodas 
Started resource bus-meliodas 
Started resource taxi-meliodas 
Started resource meliodas_loading 
Stopping resource sessionmanager 
Started resource sessionmanager 
Authenticating server license key... 
Server license key authentication succeeded. Welcome! 
cfx> Sending heartbeat to live-internal.fivem.net:30110 
Started map fivem-map-hipster 
Started resource fivem-map-hipster 
Performing version check against: https://api.kanersps.pw/em/version?version=6.0.2&uuid=unknown 

hitch warning: frame time of 461 milliseconds 

[EssentialMode] Current version: 6.0.2 
[EssentialMode] Updater version: 6.0.2 

Access denied for command sets. 
Access denied for command sets. 
[EssentialMode] Everything is nice and updated! 


e[36m[vMenu] Checking for updates.e[0m 
e[36m[vMenu] New version is available again :D whoo!e[97m 
e[32m[vMenu] Your version of vMenu is up to date! Good job!e[0m 

Connecting: Dantee[0m 
Sending heartbeat to live-internal.fivem.net:30110 
Sending heartbeat to live-internal.fivem.net:30110 
Sending heartbeat to live-internal.fivem.net:30110 
[SAVED] Dante 
Connecting: Dantee[0m 
Sending heartbeat to live-internal.fivem.net:30110

And here is the load order

set es_enableCustomData 1 
set mysql_connection_string "server=server;database=database;userid=root;password=PASSWORD" 
endpoint_add_tcp "my tcp"  #This is set by default on Zap i changed it here for reasons
endpoint_add_udp "my udp" 
sv_maxclients 3
# You probably don't want to change these!
# Only change them if you're using a server with multiple network interfaces.



add_ace resource.essentialmode command.add_principal allow
exec resources/vMenu/config/permissions.cfg

# These resources will start by default.
start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start ■■■■■■■
start scoreboard
start playernames

#ESSENTIALMODE Y ESX
start mysql-async
start essentialmode
start esplugin
start es_admin2
start es_extended
start async
start cron
start esx_phone3
start esx_accessories
start esx_addonaccount
start esx_addoninventory
start esx_society
start esx_ambulancejob
start esx_animations
start esx_atm
start esx_bankerjob
start esx_barbershop
start esx_billing
start esx_boilerplate
start esx_clotheshop
start esx_cruisecontrol
start esx_checkdeathcause
start esx_datastore
start esx_dmvschool
start esx_drugs
start esx_eden_garage
start esx_holdup
start esx_identity
start esx_joblisting
start esx_jobs
start esx_license
start esx_lscustom
start esx_mechanicjob
start esx_menu_default
start esx_menu_dialog
start esx_menu_list
start esx_optionalneeds
start esx_policejob
start esx_property
start esx_realestateagentjob
start esx_rpchat
start esx_service
start esx_shops
start esx_sit
start esx_skin
start esx_status
start esx_taxijob
start esx_vehicleshop
start esx_voice
start esx_weashops
start es_camera
start instance
start skinchanger
#start esx_whitelist
start esx_legacyfuel

##Start everything non ESX

Also im not really sure but i think it has to do with essentialmode 6, i read that it had compatibility problems in mysql but im not sure.

It would mean a lot if someone could help me

over blip limit, try disabling some blips that are everywhere

Nice, ESX suddenly stopped saving and loading infos from database like last location, job, money, skin etc.

This is what happens when I want to manually save a skin by /skinsave to dabatase:

And this is what happens when I try to give myself a weapon by admin command:

Edit: The problem is definitely es_extended because I disabled other additional esx scripts and it gives same errors. I have even downloaded ESX again. Still nothing.

Solution: Problem solved. I forgot to delete one value from items list.

could I have some help on start up optimization?\

set mysql_connection_string “server=localhost;database=essentialmode;userid=root;”
set es_enableCustomData 1

start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start ■■■■■■■
start scoreboard
start playernames
start baseevents

####################### ESX Base
start mysql-async
start essentialmode
start esplugin_mysql

start es_extended

start esx_menu_default
start esx_menu_list
start esx_menu_dialog
start instance

####################### BASIC

start cron

####################### ESX compatable addons
start esx_identity
start esx_rpchat
start esx_status
start esx_datastore
start esx_license
start esx_legacyfuel
start esx_vehicleshop
start new_banking
start esx_skin
start skinchanger
start esx_locksystem
start esx_society
start esx_billing
start esx_addonaccount
start esx_addoninventory
start esx_phone3
start esx_blackberry
start esx_basicneeds
start esx_voice
start esx_clotheshop
start esx_shops
start esx_atm
start esx_accessories
start esx_property
start esx_weaponshop
start esx_advancedgarage
start esx_lscustom
start esx_animations
start esx_optionalneeds
start esx_barbershop

##Jobs##
start esx_drugs
start esx_joblisting
start esx_jobs
start esx_policejob
start esx_ambulancejob
start esx_mechanicjob
start esx_taxijob
start esx_service

sv_scriptHookAllowed 0

So i got the resource working, but the money and job isnt showing. anyone know why?

Started resource chat
Started resource spawnmanager
Started gametype Freeroam
Started resource fivem
Started resource hardcap
Started resource ■■■■■■■
Started resource scoreboard
Started resource playernames
Started resource baseevents
Started resource mysql-async
Started resource essentialmode
Started resource esplugin_mysql
Started resource async
Failed to load script common/modules/math.lua.
Failed to load script common/functions.lua.
Started resource es_extended
Started resource esx_menu_default
Started resource esx_menu_list
Started resource esx_menu_dialog
Started resource instance
Started resource cron
Started resource esx_identity
Started resource esx_rpchat
Started resource esx_status
Started resource esx_datastore
Started resource esx_license
Started resource esx_legacyfuel
Started resource esx_vehicleshop
Started resource new_banking
Started resource skinchanger
Started resource esx_skin
Started resource esx_addonaccount
Started resource esx_society
Started resource esx_billing
Started resource esx_addoninventory
Started resource esx_phone3
Started resource esx_basicneeds
Started resource esx_voice
Started resource esx_clotheshop
Started resource esx_shops
Started resource esx_atm
Started resource esx_accessories
Started resource esx_property
Started resource esx_weaponshop
Started resource esx_animations
Started resource esx_optionalneeds
Started resource esx_barbershop
Started resource esx_drugs
Started resource esx_joblisting
Started resource esx_jobs
Started resource esx_policejob
Started resource esx_ambulancejob
Started resource esx_mechanicjob
Started resource esx_taxijob
Started resource esx_service```

Hey there, so i am having an issue with the inventory menu’s showing this image

How can i remove it from showing the SPAN STYLE=COLOR:GREEN;

So i have 2 things over lapping anyone know how to fix it?
i would like to remove the one at the back, so the one with the credit card logo.

ok so the HUD has completely stop working

its not working i cant install it

What is problem? I got this error: https://pastebin.com/0LPZwsqg

When im setting up the esx plugins and starting server then all setting are reset…

Does anyone know a fix for this error? or a work-around? it happens whenever i do /setjob and enter in the credentials it needs, i am stumped on this. Any advice or help would be greatly appreciated.

Hello. I need help with WEAPON_PETROLCAN (which is Jerry can).
As soon as I got the Petrol can, I can carry it, but I’m not able to use it to spill petrol around.
The moment I’m starting to use it just drops the used petrol can on the ground, I loose it from my inventory and none of the petrol was actually used.
The same is for FIRE extinguisher as well.

I need both to work…
Already tried to disable all other resources beside ESX, but had no luck to solve this issue …
I will really appreciate ANY help!!!

Hello there!

I am receiving this error. (I am the Server Owner).

Could I get any assistance please?

Many thanks,
ZINKS.

Setjob command isn’t working for me.

I have all the required resources and jobs

image

When i join the server it gives me this error, and i cannot load my skin, the HUD of the Money, Bank and Blackmoney with the job and F2 Inventory is not showing up. Everything broken. Can someone help me please?

Hello, this before did not happen to me. I create a new server and I do not see the ico of money in hand, nor does the amount appear. Only the bank and dirty money, but I can buy things.
help me plsokno