Changing the skin of the snowmobile will eliminate the stash.
Use spray can and change snowmobile skin, box will be gone. What should I do?
Changing the skin of the snowmobile will eliminate the stash.
Use spray can and change snowmobile skin, box will be gone. What should I do?
I'm aware of this issue but honestly it's pretty low priority on my todo list since nobody had reported it yet. I implemented a new Oxide hook recently so that I could fix this issue, and made a corresponding fix in Vehicle Deployed Locks (to make sure the lock didn't get removed). The implementation of that fix was a bit complicated so I wasn't looking forward to doing it in this plugin since it will be even more complicated.
I'll see if I can work on it now.
Understood, I will wait patiently. I reported it because it is a big deal from my point of view. Thanks for your prompt reply. Take care of yourself.
I pushed some changes to the development branch which you can test. It was annoying and took several hours.
https://github.com/WheteThunger/VehicleStorage/tree/develop
Here's how it works in detail:
Some caveats:
For best results, ensure that both types of snowmobiles have Container Presets with the same names and prefabs (different positions and rotation are OK), and make the rulesets for both types of snowmobiles share the same number of containers and capacity.
Also, one thing I realized late is that you didn't specifically mention that the items were lost, just that the container is gone. It sounds like you are using the permission profiles for snowmobiles, rather than using the DefaultProfile feature. This is relevant because when the snowmobile is reskinned, it basically gets respawned, so some data is lost, including the OwnerID. It's out of scope for this plugin to transfer the OwnerID, but that could probably be achieved directly in Oxide in the future, or via another plugin such as Claim Vehicle Ownership in the future. Fortunately, the way this feature was implemented, you probably don't have to worry about OwnerID transfer because the containers will transfer regardless of the OwnerID.
Thank you very much. Sorry to interrupt your few hours.
Thank you for writing a very good description. From my point of view, I didn't think that the items falling to the side was a particular problem, just the loss of the box when the snowmobile skin is changed. Since both have the same type of permissions set and the same amount of boxes set, the issue does not affect me.
My apologies for continuing to bother you, as I am not in the habit of checking the authors of plugins.