Stability Not Persisting After Restart Destroys Tree House

Papster

Supporter
Yesterday I built a tree house and one of the add ons were the Chinese Lanterns. Just now I noticed one not where I wanted it so picked it up and the entire base disintegrated. The only thing left was the grey boxes that had fallen to the ground with the resources from the tool cupboard and one large box with some random stuff. Pretty strange

This also gets me back to the question of how much much actual time until a tree can be reclaimed ? This tree is not buildable atm and certainly not claimable again.

Unfortunately I am going to have to unload the plugin. I still love it but something sure is not quite right.
 
This also gets me back to the question of how much much actual time until a tree can be reclaimed ? This tree is not buildable atm and certainly not claimable again.
As of now, only newly spawned trees are considered for claimability based on the configured percentage, and existing trees are scanned when the plugin loads. So if a tree loses its platform while the plugin isn't reloaded, nothing will happen to it. I'll definitely need to handle that case, thanks for pointing it out
 
This still seems to be an issue. Built a tree house yesterday and added some Chinese Lanterns. Logged in this morning and removing one lantern destroyed the entire base. I was able to duplicate this by making a small tree house with some angled roof pieces and some Chinese Lanterns on the bottom. Stopped the server, then restarted it and removing a single Chinese Lantern caused the entire tree house to be destroyed.
 

Attachments

This still seems to be an issue. Built a tree house yesterday and added some Chinese Lanterns. Logged in this morning and removing one lantern destroyed the entire base. I was able to duplicate this by making a small tree house with some angled roof pieces and some Chinese Lanterns on the bottom. Stopped the server, then restarted it and removing a single Chinese Lantern caused the entire tree house to be destroyed.
I just tested it again and everything seemed fine. Are you sure the plugin was loaded after the server restart and you saw this in the console?
Code:
[Tree House] 41/46 trees marked claimable (100)
[Tree House] Re-applied stability to 55 entities.
 
Can't say I have ever seen those two lines in Console. Even after this last server restart the only line for Tree House is:

[Tree House] 1684/1686 trees marked claimable (35)
 
I have spent far too much time on this without any success so think I will unload the plugin for the time being. Thanks for your support and efforts to resolve things
 
Can't say I have ever seen those two lines in Console. Even after this last server restart the only line for Tree House is:
[Tree House] 1684/1686 trees marked claimable (35)
If you're not seeing the stability message, it could mean you're not running the latest version, or you just need to wait a bit for the plugin to scan the trees with entities and apply stability. Also the message won't appear if you haven't built a tree house yet

I have spent far too much time on this without any success so think I will unload the plugin for the time being. Thanks for your support and efforts to resolve things
I'm not sure what else to say, every issue that's been reported I have been fixing within a day, often within hours, and always try to work with anyone having trouble, even when it's something that only seems to happen on their end. I'm happy to keep looking into it with you, but if you'd rather stop using the plugin, that's totally fine
 
If you're not seeing the stability message, it could mean you're not running the latest version, or you just need to wait a bit for the plugin to scan the trees with entities and apply stability. Also the message won't appear if you haven't built a tree house yet


I'm not sure what else to say, every issue that's been reported I have been fixing within a day, often within hours, and always try to work with anyone having trouble, even when it's something that only seems to happen on their end. I'm happy to keep looking into it with you, but if you'd rather stop using the plugin, that's totally fine
Your support may be the best I have ever had to request help from. I have zero criticism or complaint about any of that. Your suport is outstanding ! I am frustrated and felt that perhaps taking a break would let me get some fresh perspective.

I am using the current version of Tree House.
I use Timed Execute to automatically restart the server twice daily.
You said the message would not appear if I had not built a tree house but I did build one which is what wound up being disintegrated.
I built another tree house
manually ran the restart command
did not see both of these lines:
[Tree House] 41/46 trees marked claimable (100)
[Tree House] Re-applied stability to 55 entities.

What I did get returned in Console was a single line:
[Tree House] 1684/1686 trees marked claimable (35) [That line is from yesterday]

Which makes me wonder if there may be an issue with how Timed Execute restarts the server and perhaps, for one, it does not fully restart the Tree House plugin.

I will continue to try different things.

Any suggestions or guides of how you want me to troubleshoot this would be appreciated.
 
Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Ensure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart