[Release][ESX] Base

roleplay
esx

#855

ok thanks, the config for hud is true, but how do I install the es_ui now? just drag and drop in es_extended? thanks for help!


#856

So I started es_ui now as a resource but that does not work so can someone help me there?


#857

ok I fixed it, just made es_ui to resource and worked at the config! thanks for Help!!! :slight_smile:


#858

So,

We recently updates our server. Used al the depency’s and now we get this error. new 1.txt (3.0 KB)

Some help?


#860

Are they working on a fix?


#861

Even after the latest uodate getting this:

Sending player (1) ELS data
Access denied for command add_principal.
Error running call reference function for resource es_extended: citizen:/scripting/lua/scheduler.lua:403: server/main.lua:61: attempt to index a nil value (field ‘?’)
stack traceback:
server/main.lua:61: in upvalue ‘ref’
citizen:/scripting/lua/scheduler.lua:389: in function <citizen:/scripting/lua/scheduler.lua:388>
[C]: in function ‘xpcall’
citizen:/scripting/lua/scheduler.lua:388: in function <citizen:/scripting/lua/scheduler.lua:387>
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:403: in function <citizen:/scripting/lua/scheduler.lua:372>
Error: Unhandled error: Error: BUFFER_SHORTAGE
Error: BUFFER_SHORTAGE
at n.e [as reserve] (citizen:/scripting/v8/msgpack.js:29:12766)
at h (citizen:/scripting/v8/msgpack.js:29:15761)
at n.r [as decode] (citizen:/scripting/v8/msgpack.js:29:13908)
at n.fetch (citizen:/scripting/v8/msgpack.js:29:6972)
at n.u [as read] (citizen:/scripting/v8/msgpack.js:29:12076)
at Object.n [as decode] (citizen:/scripting/v8/msgpack.js:29:7097)
at unpack (citizen:/scripting/v8/main.js:20:33)
at citizen:/scripting/v8/main.js:51:11
at setImmediate (mysql-async.js:4962:9)
at Object.callback (citizen:/scripting/v8/timer.js:56:6)
Error running call reference function for resource lastpostodb: citizen:/scripting/lua/scheduler.lua:403: server.lua:23: attempt to index a nil value (global ‘MySQL’)
stack traceback:
server.lua:23: in upvalue ‘ref’
citizen:/scripting/lua/scheduler.lua:389: in function <citizen:/scripting/lua/scheduler.lua:388>
[C]: in function ‘xpcall’
citizen:/scripting/lua/scheduler.lua:388: in function <citizen:/scripting/lua/scheduler.lua:387>
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:403: in function <citizen:/scripting/lua/scheduler.lua:372>
[C]: in function ‘coroutine.resume’
citizen:/scripting/lua/scheduler.lua:34: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:218: in function <citizen:/scripting/lua/scheduler.lua:182>
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:626: in local ‘cb’
server/player/login.lua:133: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:219: in function <citizen:/scripting/lua/scheduler.lua:218>
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:218: in function <citizen:/scripting/lua/scheduler.lua:182>
Error running call reference function for resource lastpostodb: citizen:/scripting/lua/scheduler.lua:403: server.lua:41: attempt to index a nil value (field ‘coords’)
stack traceback:
server.lua:41: in upvalue ‘ref’
citizen:/scripting/lua/scheduler.lua:389: in function <citizen:/scripting/lua/scheduler.lua:388>
[C]: in function ‘xpcall’
citizen:/scripting/lua/scheduler.lua:388: in function <citizen:/scripting/lua/scheduler.lua:387>
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:403: in function <citizen:/scripting/lua/scheduler.lua:372>
[C]: in function ‘coroutine.resume’
citizen:/scripting/lua/scheduler.lua:34: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:218: in function <citizen:/scripting/lua/scheduler.lua:182>
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:626: in local ‘cb’
server/player/login.lua:133: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:219: in function <citizen:/scripting/lua/scheduler.lua:218>
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:218: in function <citizen:/scripting/lua/scheduler.lua:182>


#862

is there a way to have this take money from the bank instead of pocket? when i change removemony to the removebank it doesn’t seem to function properly if i change the code at all.


#863

I have problem with script because i dont have hud in the upper right corner, hunger and water and my game is lagging


#864

Guys how do i disable the option to revive in the last position i died in es_extended im using esx. I would like to disable that without put esx_ambulancejob.


[HELP] How do i disable the option to revive in the last position i died in es_extended
#865

very nice man good work


#866

You have to allow es_extended to use the add principal command. Its in the Server.cfg where Iu Set up your admins


#867

HELPPPP


#868

when i do /revive or someone dies and bleed out they get stuck in a black screen and it loads forever… this is the error i get

Error running call reference function for resource es_extended: citizen:/scripting/lua/scheduler.lua:351: server/classes/player.lua:419: attempt to get length of a nil value (field ‘components’)
stack traceback:
server/classes/player.lua:419: 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
[C]: in function ‘coroutine.resume’
citizen:/scripting/lua/scheduler.lua:34: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:138
Error running call reference function for resource esx_ambulancejob-master: citizen:/scripting/lua/scheduler.lua:351: 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 ‘removeWeapon’
server/main.lua:53: 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 es_extended: 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 ‘?’
server/functions.lua:33: in field ‘TriggerServerCallback’
server/common.lua:63: 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
hitch warning: frame time of 1370 milliseconds

this is line 419

for j=1, #self.loadout[i].components, 1 do
TriggerClientEvent(‘esx:removeWeaponComponent’, self.source, weaponName, self.loadout[i].components[j])
end

please help


[Moved] Error when trying to respawn
#869

How do you add money to someone’s account when u are a admin


#870

COMMAND /setmoney [id] [type of money = cash or bank] [amount]


#871

Im getting this error with esx ive had this before but io dont remember what i did to fix it. if anyone can figure this out id apreciate it.


#872

What to i do when i disconnect i spawn to some random spot not the spot we i was when i disconnected


#875

No i did not do that yet but do I need to add locales/it.lua then would essientialmode show in the couchdb?


#876

Hi! The drunk effect is too high, where can I reduce its duration? And when I dies, the effect still goes on.


#877

[ERROR] [MySQL] [es_extended] An error happens on MySQL for query “[object Object]”: getaddrinfo ENOTFOUND 127.0.0.01 127.0.0.01:3306
Error: (node:10000) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND 127.0.0.01 127.0.0.01:3306
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
--------------------
at Protocol._enqueue (mysql-async.js:5807:48)
at Protocol.handshake (mysql-async.js:5714:23)
at PoolConnection.connect (mysql-async.js:720:18)
at Pool.getConnection (mysql-async.js:4577:16)
at Pool.query (mysql-async.js:4731:8)
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:4993:5)
at citizen:/scripting/v8/main.js:87:41
Error: (node:10000) 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:10000) [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.
How i can fix this?