#Need help on this

1 messages · Page 1 of 1 (latest)

tribal pulsar
#

Hi, i'm new, i just want to try this tablet just to have some fun on my server, I’m experiencing an error with the cw-racingapp script on the server side and I’d like some support.

SCRIPT ERROR: @cw-racingapp/bridge/server/qb.lua:18: attempt to index a nil value (local 'Player')

Stack:
@oxmysql/dist/build.js:26045
node:internal/process/task_queues:96

Framework: QBCore
The qb-core resource is started correctly

Inventory
Qb
Any help or fix would be appreciated, thx

median coral
#

Could you elaborate a bit. When is this error happening?

tribal pulsar
#

the error happens when i put the name the first time i open the tablet, but it doesn't save the created account, and it give's me this error code

#

if you want i can send a clip of it

median coral
#
  1. Are you sure that qb-crypto error isn't related?
  2. I don't use QB core, so the qb bridge is not really something I'd know how to fix if there's an issue with it sadly
tribal pulsar
median coral
#

If it's related to payment method in Racingapp you can try changing to cash or debit for creation

fading walrus
#

hi I am getting this problem but with error 20

#

qbox Lua 20 in the racing app

median coral
fading walrus
#

yes mate

#

and does not move off the player name first screen or create the player in the data base

median coral
#

and you're runnign the latest change released yesterday?

#

Oh uh not yesterday, day before that

#

6.2.4

fading walrus
#

yes I got the one that was replaced 2 days ago

median coral
#

And also enable debug

fading walrus
#

just trying it now

#

no still dont work

#

its something to do with payments i think as thats line 20 in the qbx lua

median coral
#

Could you provide the debug logs also

#

should print alot of stuff if you enabled debug

fading walrus
#

how do i enable debug

median coral
#

check the config file

fading walrus
#

okay

median coral
#

its the logs from server side that are relevant here. Should show just about before the error

fading walrus
#

9:40:39 [ script:cw-racingapp] SCRIPT ERROR: @cw-racingapp/bridge/server/qbox.lua:20: attempt to index a nil value (local 'player')
19:40:39 [ script:cw-racingapp] > new StackDumpError (@oxmysql/citizen:/scripting/v8/main.js:416)
19:40:39 [ script:cw-racingapp] > <unknown> (@oxmysql/citizen:/scripting/v8/main.js:436)
19:40:39 [ script:cw-racingapp] > <unknown> (@oxmysql/citizen:/scripting/v8/main.js:97)
19:40:39 [ script:cw-racingapp] > Number.__cfx_wrap_3152 (@oxmysql/citizen:/scripting/v8/main.js:24)
19:40:39 [ script:cw-racingapp] > <unknown> (@oxmysql/citizen:/scripting/v8/main.js:30)
19:40:39 [ script:cw-racingapp] > <unknown> (@oxmysql/citizen:/scripting/v8/main.js:94)
19:40:39 [ script:cw-racingapp] > rawQuery (@oxmysql/dist/build.js:26512)
19:40:39 [ script:cw-racingapp] > process.processTicksAndRejections (node:internal/process/task_queues:105)

median coral
#

I need the debug prints from before that

#

Should say like "Attempting to charge" and then lots of stuff

broken hazel
#

6.2.4 esx legacy not working AND 6.2.1 no PROBLEMS its working

:28 [ script:cw-racingapp] SCRIPT ERROR: native 000000002f7a49e6: Argument at index 1 was null. [ script:cw-racingapp] > rawQuery (@oxmysql/dist/build.js:26045) [ script:cw-racingapp] > processTicksAndRejections (node:internal/process/task_queues:96)

broken hazel
fading walrus
#

yeah it was mate