eideehi / valheim-automatics

[Valheim] Mods that automate a variety of tasks
https://www.nexusmods.com/valheim/mods/1700
MIT License
8 stars 4 forks source link

Config file constantly being written in a loop #53

Closed ZenDragonX closed 1 year ago

ZenDragonX commented 1 year ago

Is there an existing issue for this?

Mod version

1.4.4

Is this a bug caused by this mod alone?

The bug was reproduced with this mod alone

List of mods to reproduce bug

No response

What happened?

Watch the config file in a separate editor such as VSCode. It constantly is flushed and rewritten while the game is running. This is wasting needless IO operations. Should not be writing the config file constantly unless something changed.

Steps to reproduce the bug

Run the game with mod installed. Watch the config file rewrite over and over again.

Logs and screenshots

No response

eideehi commented 1 year ago

I investigated this matter and will report the results. This is not a bug, but a specification of the BepInEx. BepInEx overwrites all configurations every time the game is started. If you check the update date of other mod configurations, you will see that they have all been changed to the last time Valheim was started.

eideehi commented 1 year ago

If this issue is about "the configuration being continuously overwritten while the game is running", please provide your configuration. I could not reproduce it in my environment.