overextended / ox_inventory

Slot-based inventory with metadata.
https://overextended.dev/ox_inventory
GNU General Public License v3.0
442 stars 687 forks source link

Dumpster searching #1524

Open zf-development opened 10 months ago

zf-development commented 10 months ago

Describe the bug After about 50 dumpsters players cannot open them anymore.

Framework QB-Core

Resource version 2.34.3

To Reproduce Steps to reproduce the behavior:

  1. Search +50 dumpsters
  2. See error

Screenshots image

SneakyAF commented 9 months ago

Same thing happened to me. I'm running ESX so it's not framework dependent

SneakyAF commented 7 months ago

Some update on this one:

We've also noticed that a bunch of other scripts start spitting same kind of warnings after you can no longer search dumpster. Certain props stop syncing and/or became visible only for a single client. It looks to me as if we are hitting some sort of networked object limit but at the same time ~50 seems a bit low. If anyone has any ideas or more insights how to tackle this it would be very helpful

thelindat commented 7 months ago

hitting some sort of networked object limit

It is but synced dumpsters are somewhat difficult to achieve without networking them or turning them into immovable objects, and I didn't want to just outright remove them.

See this eternal todo: https://github.com/overextended/ox_inventory/commit/a58a280608b04cc8b90e6ae941d28c3809895933#diff-1b8f97d898e63162c92a0f09152d067cbe6a053a3fe5d96b96d751cbacce5786R115-R116

zf-development commented 7 months ago

Instead of registering the entity to the network would entity state bags fix it?