Items disappear in back pack randomly

Lots of reports on the back pack losing items randomly

Can you provide more information?

  • Have you checked the server/oxide logs for any errors related to the Backpacks plugin?
  • Are players seeing the entire contents of the backpack disappear?
  • Are players seeing specific pages of the backpack disappear?
  • Are players seeing that select items disappear from their backpack?
  • Is there any pattern around when the items disappear? For example, while the player is online, or does the player discover items missing only after being disconnected for some time? Does the timing of server restarts appear to be a factor?

Are you  creating a physical box anywhere on top/under map which could make my bots see it an loot it

There are physical boxes thousands of meters under the map. They have no colliders so they cannot be detected by bots. They are not networked so they cannot be detected by players.

Where is the setting so I can make it go further down because my bots are finding it

NKXTQs24ExGTuL8.jpg WhiteThunder

There are physical boxes thousands of meters under the map. They have no colliders so they cannot be detected by bots. They are not networked so they cannot be detected by players.

Our bots use Query.Server.GetInSphereFast and in rare instances (glitch), they could force TP to loot the box. Can we please ask you to make sure Query.Server.GetInSphereFast is not catching any of your boxes? Thank You!

BaseEntity[] results = new BaseEntity[64];
Query.Server.GetInSphereFast(bot.GetPosition(), radius, results, entity => IsValidEnt(entity, radius > subScanRadius));

Radius is usually 50f and I do use as well:

BaseEntity.IsVisible(fromPos, targetPos, radius)

To validate visibility, but I assume there could be some instances of false positive that return the boxes.

Currently, the boxes are spawned at all height of -500. Unless your bots are within range, the query won't return them. I'm not explicitly removing the boxes from the query grid, but I can do that, though I expect that to make zero impact here.

NKXTQs24ExGTuL8.jpg WhiteThunder

Currently, the boxes are spawned at all height of -500. Unless your bots are within range, the query won't return them. I'm not explicitly removing the boxes from the query grid, but I can do that, though I expect that to make zero impact here.

Are you considering the underground tunnels where some boxes might actually be very close to the locations, potentially falling within the query grid if a bot is nearby?

Can we have a configuration option to adjust their positions? I know entities below -500f are usually destroyed, so I’m unsure what approach would work here.

That said, we might be chasing the wrong issue entirely. Some players mentioned that when backpack slots change (up or down), items disappear from available slots.

I may need to manually debug this, as it’s strange if this issue is isolated to our server.

The underground tunnels tend to be around -100, and they were even raised higher some updates ago. They should not be in range.

There is no need to make the position configurable. I can simply remove the boxes from the query grid so that the query cannot find them. I've pushed a change to this GitHub repo which removes the boxes from the query grid after spawning them.

https://github.com/WheteThunger/Backpacks

Please feel free to do whatever debugging on your side that will help. As I don't operate your server and I cannot reproduce the issue, I can simply provide troubleshooting suggestions and possibly add debug logging. Efficient debugging often requires a developer to have access to the environment where the issue can be reproduced.

Im also wondering if its a glitch, I have vip set to 98 slots and nonvip set to 48
They report that the 98 will go down in number in slots then go back up and the items are lost in the slots that were temp reduced or glitched.

Can you provide exact transcripts of all conversations with players who claimed items went missing? There may be details in those conversations which can help me generate or rule out hypotheses.

Can you provide more information about the backpack size reduction issue? Does the player no longer see the button to access page 2, or do they face some problem when trying to access page 2?