qbcore-framework / qb-shops

Shops For QB-Core
GNU General Public License v3.0
27 stars 214 forks source link

[BUG] Reliable Network event overflow. #144

Closed llamatude closed 1 year ago

llamatude commented 1 year ago

Describe the bug On a fresh install of qbcore from txadmin. If you go into any shop and stand where you can buy something but never hit the E button it will kick you out of the game with Reliable Network event overflow. I found this because while trying to break into a cash register it takes about 10 seconds and if you are close to the E menu when this takes place it will kick you out with the error. I was able to get a network event log and it is SPAMMING the qb-shops:server:setshoplist VERY fast when you get near a shop menu.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'any convince store in the the city. I tried with the one in mirror park or the one next to the pawn shop.'
  2. Stand where it says press E to open shop and just stand there for a few moments.
  3. See error

Expected behavior not kick you out of the server for flooding events.

Screenshots https://i.imgur.com/7baddcG.png

Questions (please complete the following information):