When posting bugs please upload log to https://log.smapi.io/ and post link here. Also post it on the bugs section as well if it makes the mod unuse-able
Health and Stamina Regeneration v2.0 is out. (28 May 2019)
since version 2.0.0, a config overhaul happened, all your previous custom values have been reset. You may go into the config.json and re add the values again.
I use the stardew survival project: https://www.nexusmods.com/stardewvalley/mods/14183 which also changes how stamina works.
When using this and that mod together, this one takes priority. So I tried to see what would happen if I removed this mod and only used the survival project mod again.
When starting my save or a new game, my stamina is no longer regenerating based on that mod. Its almost as if this mod destroyed ONLY the stamina functionality of the survival mod, even after removing this mod from the /mods/ folder.
Any idea how to fix that? The problem exists in all saves and new saves, I tried reinstalling the survival mod and everything works except stamina regen, it worked fine before I used this mod with that one.
Hello, I have a problem and I don't know how to solve it my game doesnt give me hp or stamina and the error code is this pls help me! :'( ?[Health & Stamina Regeneration] This mod failed in the GameLoop.UpdateTicked event. Technical details: DivideByZeroException: Attempted to divide by zero. at StardewModdingAPI.Events.UpdateTickedEventArgs.IsMultipleOf(UInt32 number) in SMAPI\Events\UpdateTickedEventArgs.cs:line 26 at HealthStaminaRegen.ModEntry.HealthRegen(UpdateTickedEventArgs e) in C:\Users\jesse\repos\github.com\JessebotX\StardewValleyMods\HealthStaminaRegen\HealthStaminaRegen\ModEntry.cs:line 79 at HealthStaminaRegen.ModEntry.UpdateTicked(Object sender, UpdateTickedEventArgs e) in C:\Users\jesse\repos\github.com\JessebotX\StardewValleyMods\HealthStaminaRegen\HealthStaminaRegen\ModEntry.cs:line 68 at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101
Hello, I don't know why but even after running the game few time no config.json has been generated. Would it be possible for you to add a default one as an optional file to download for people who have my problem? I'll try to create one myself for the time being, but I'm not sure it's a good thing to do.
Edit: Finally the problem came from Vortex which didn't install the mod correctly, intalling it with the manual download resolved this issue.
Not sure if anyone else has this issue, but when I change the regen rates to any value even just 2 the regen never activates so.... no clue what causing this issue though
60 comments
Is the mod compatible with latest version?: Check here at https://mods.smapi.io/
Can i post a working version of the mod if it isnt compatible with latest version?: yes. See source code
since version 2.0.0, a config overhaul happened, all your previous custom values have been reset. You may go into the config.json and re add the values again.
Also see Release Notes and Configuration guide
I use the stardew survival project: https://www.nexusmods.com/stardewvalley/mods/14183 which also changes how stamina works.
When using this and that mod together, this one takes priority. So I tried to see what would happen if I removed this mod and only used the survival project mod again.
When starting my save or a new game, my stamina is no longer regenerating based on that mod. Its almost as if this mod destroyed ONLY the stamina functionality of the survival mod, even after removing this mod from the /mods/ folder.
Any idea how to fix that? The problem exists in all saves and new saves, I tried reinstalling the survival mod and everything works except stamina regen, it worked fine before I used this mod with that one.
Whenever one player uses their tool, it causes both players stop regenerating. Not a HUGE issue, but.
?[Health & Stamina Regeneration] This mod failed in the GameLoop.UpdateTicked event. Technical details:
DivideByZeroException: Attempted to divide by zero.
at StardewModdingAPI.Events.UpdateTickedEventArgs.IsMultipleOf(UInt32 number) in SMAPI\Events\UpdateTickedEventArgs.cs:line 26
at HealthStaminaRegen.ModEntry.HealthRegen(UpdateTickedEventArgs e) in C:\Users\jesse\repos\github.com\JessebotX\StardewValleyMods\HealthStaminaRegen\HealthStaminaRegen\ModEntry.cs:line 79
at HealthStaminaRegen.ModEntry.UpdateTicked(Object sender, UpdateTickedEventArgs e) in C:\Users\jesse\repos\github.com\JessebotX\StardewValleyMods\HealthStaminaRegen\HealthStaminaRegen\ModEntry.cs:line 68
at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101
I'll try to create one myself for the time being, but I'm not sure it's a good thing to do.
Edit: Finally the problem came from Vortex which didn't install the mod correctly, intalling it with the manual download resolved this issue.