Ghmattibanking 1.1.2

This scripts looks awesome :slight_smile:

i´ve added the signin in my es_extended script.
it works and added my Account in the DB, the banks are working ingame, i can create a account but i can´t withdraw/deposit money.

in console i can see this error:

AssertionError [ERR_ASSERTION]: unexpected PromiseRejectEvent
Uncaught AssertionError [ERR_ASSERTION]: unexpected PromiseRejectEvent
internal/errors.js(102,11): AssertionError
assert.js(42,9): innerFail
assert.js(56,3): fail
internal/process/promises.js(27,25):
server.js(8,76175): d.query
server.js(1,5301): Sequence.end
server.js(8,94606): Query.ErrorPacket
server.js(8,164526): Protocol._parsePacket
server.js(8,168555): a
server.js(8,160803): Protocol.write

AssertionError [ERR_ASSERTION]: unexpected PromiseRejectEvent

is there anyway to fix it? or did this script not working with essentialmode?

I get the error:

Error loading script server.js in resource ghmattibanking: TypeError: Cannot read property ‘mysqlUser’ of null
stack:
TypeError: Cannot read property ‘mysqlUser’ of null
at Object.exports.BIG5_CHINESE_CI (server.js:8:75719)
at webpack_require (server.js:1:245)
at Object.exports.EE_CANTCREATEFILE (server.js:8:136336)
at webpack_require (server.js:1:245)
at Object.exports.EE_CANTCREATEFILE (server.js:8:133125)
at webpack_require (server.js:1:245)
at server.js:1:1610
at server.js:1:1658

I run a test FXServer pls help

What’s the best way with this resource so be triggering a pay check so every XX minutes the player gets XX amount?

How would I get this working for ESX? I added it. No errors just doesn’t work in-game.

as he explains in the documentation you will have to change all the exports for money, payouts, rewards etc, for the new exports

Hey,

thanks for this release but i am having some issues! I updated my Maria DB to 10.4.6, the database installs correctly but it seems when someone is trying to either withdraw money or either deposit money it just does nothing and it freezes the client’s game (When i say freezes i mean the game runs smoothly as before but he can’t press anything either move his mouse as it becomes a cursor). Any ideas on how to fix?

Thanks for reading,
Chris

anyone tested this in a full server without issues ? . i did update the api , and the only issue i had once was the fact that the close button doesnt register so the bank UI stays open .


How i can fix this things. I can’t see any blips on my map or any menu if i go to a bank.

i can get it to work but when i open the NUI, i just get this screen and al lthe text is gone.

i set the language to en-US (default) and the file contains all the stuff but not the nui.

how did you get it to work i put in my resource folder and run it on startup and it says Deprecated warning and when in bank i dont see any notifcation for enter bank