Items not appearing in storage sometimes
As title says, players are reporting sometimes they open storage on mini heli and the items do not show.

But if they try again or a couple times the items re-appear.

I have the latest version of the plugin. When this is happening there is no error in RCON console output.

Any ideas?
This is not something that should be possible. The storage containers are normal rust containers. How often does this happen, and with how many people?
Well, after I posted I noticed my config file had some stuff that was from previous version. I deleted all files related to the plugin and then reinstalled which appears to have fixed the issue. It was happening on more than one of my servers and reported by different players.

Thanks for the reply, but all seems good now.

Merged post

Well, not sure if it was just coincidence but it started again. Couple of players both reporting that the boxes sometimes don't open, then when they do the items inside are gone. But after a couple of tries the items reappear. The only plugins I have which would otherwise control storage containers in any way is BetterLoot and Scrap Heli Storage.

Any ideas what might be causing this would be greatly appreciated.

That is a strange one, I will have to try and reproduce it might side. 

Is it always the same players? 

5e6f8629518b5.jpg Pho3niX90

That is a strange one, I will have to try and reproduce it might side. 

Is it always the same players? 

My servers are pretty quiet, so yeah. Same two players reporting it. I cannot reproduce it at all no matter how much I try.

this is happening on my server as well. Two of my players have the same issue.
ceyoung75
this is happening on my server as well. Two of my players have the same issue.

May I ask what plugins you have currently that interact/controil containers such as small wodden box etc?

The plugins I have which do this:

BetterLoot
ExtraLoot
MiniCopterOptions
ScrapHeliStorage

i run alphaloot, scraphelistorage 
One hypothesis, without having examined the code for this, is that there are two storage boxes in the same place, and it's inconsistent which one is looted. If this is the case, it's likely caused by issues with the logic in this plugin around adding/removing storage containers.

Merged post

One thing I notice in the code is that if the Reload Storage config option is false, then the 2nd issue mentioned in the following thread can cause storage or turret not to be removed.

https://umod.org/community/mini-copter-options/27094-cant-turn-on-turret

This could happen if multiple boxes are enabled, or if a box and a turret are enabled.

Merged post

I was able to reproduce this problem with the following steps.

  1. Load plugin with "Large Storage Containers": 1 and "Reload Storage": false configuration options.
  2. Spawn a minicopter (this spawns storage as well).
  3. Restart server. There are now 2 storage containers in the same exact position.

This happens because the OnEntitySpawned() hook is called on server restart, and the plugin is coded to always add storage in that hook. Normally plugin authors work around this by checking in that method if it's happening while loading a save (Rust.Application.isLoadingSave), or by unsubscribing to the hook during Init() and resubscribing in OnServerInitialized().
@WhiteThunder you have been a massive help! I haven't had much time to reproduce the error, so the post you wrote is massively appreciated. 

I will make sure to implement your suggestions today. 
Nice one WhiteThunder, that makes sense and explains why I could never reproduce the issue. I never tried it on a mini that remained after a server restart.

Also Pho3niX90 while you're looking at the plug-in, I just wanted to give you heads up about a small typo in the Tail light config text.

See plug-in file for this line:

"GetConfig(ref lightTail, "Light: Add Nightitme Tail Light");

"Nightitme" should be "Nightime"

Looking forward to the update when you get time, I love the plug-in and my players love having storage on the mini.
I have updated to the latest version of the plugin but items are disappearing and reappearing from the minicopter tail storage. It seems like a new storage is created in the exact place as the already exisiting one when the server restarts.
@ZEODE can you confirm that the issue is resolved for you?
Is this only happening for the tail storage?