dojwun / doj-casino

Casino pack for FiveM
GNU General Public License v3.0
143 stars 78 forks source link

casino-slots (reliable network event overflow) #45

Closed rapeurtueur closed 3 months ago

rapeurtueur commented 10 months ago

Disconnect ater few secondes sitting behind the slots machines.

If I do in the console "toggle neteventlog"

As soon as I sit down at a slot machine, it starts spamming in the console.

After a few seconds I disconnected with the error "Reliable network event overflow"

This is because of a wait(0) on line 277 of client.lua

If I modify the value it spams less quickly but we are always disconnected after a few seconds and if I increase it too much the slots machine is no longer usable

image image

rapeurtueur commented 10 months ago

He don't stop calling this trigger QBCore.Functions.TriggerCallback('doj:server:CasinoChipsAmount', function(result) at line 198 from the client.lua (casino-slots)

dojwun commented 3 months ago

ive remove old hacky way of getting chips after years... new casino updated with qbx/ox