@Tyrindor Sorry for the late reply, yes I have noticed that and I will look into it. EDIT: Apon further testing I don't see this happening anymore. May I ask what version of SMAPI are you using?
thakyZ updated [SMAPI] zDailyIncrease with a new update entry: zDailyIncrease for SMAPI 1.2 Read the rest of this update entry...
Yes crash logs, or just the modded SMAPI logs, which if you don't know are located in C:\Users\<Current User Folder>\AppData\Roaming\StardewValley\ErrorLogs\MODDED_ProgramLog.Log_LATEST.txt
Hi! I'm really interested in using this mod, but I'm a little worried that this mod has the same issue as another one that stops decay: talking to villagers no longer causes hearts to go up. I saw one person post it, but it doesn't seem like it was ever resolved. Does anyone know if that problem exists? Thanks!
@thakyZ I think there's a pretty serious bug in the code, especially regarding spouses. I noticed when my spouse (Leah) suddenly went from 13 hearts (stardrop given) to 10 hearts in one day after I installed the mod. You set your default max friendship at 2500 points, but as this log shows, the game's NPC max is actually 2749 points. BUT the max for the spouse is actually 3499 points (since they can go to 13 hearts -- the game's formula appears to be maxHearts*250+249) The problem occurs because if the mod is enabled, regardless of noDecrease or noIncrease values, your code will set any values greater than the "default" max to the max: Code: if (friendshipValue > config.max) { friendshipValue = config.max; } I think in theory this would even prevent you ever getting your spouse to 12/13 hearts. You need to set the default max to 2749 and add an exception for the spouse NPC's max to 3499. I would also suggest that instead of the above routine, you have the "daily increase" part instead check if the friendship is at a max before it increases it. Note to users - temporary fix: change the config file so default maximum is 2749 pts, and after you marry, add your spouse to the config with a maximum of 3499 pts. Example for Leah, adapt to your spouse: Code: "individualConfigs": [ { "name": "Default", "baseIncrease": 2, "talkIncrease": 5, "max": 2749 } { "name": "Leah", "baseIncrease": 2, "talkIncrease": 5, "max": 3499 } ]
Pretty sure that happened to you because you pissed off your spouse in some way. That's how the vanilla game handles it. Never had issues getting spouse to 13 hearts. This mod doesn't have that bug. Confirmed using lookup anything mod.
Here's the relevant portion of the log; compare and contrast line 1 with line 3: Code: [15:52:59 TRACE zDailyIncrease] Leah's starting friendship value is 3499. [15:52:59 TRACE zDailyIncrease] Didn't talk to Leah today. Increasing friendship value by 2. [15:52:59 DEBUG zDailyIncrease] Leah's new friendship value is 2500. Maximum permitted value is 2500.
I have played ~40 hours these past two weeks with the mod and my wife has stayed at 13/10 hearts the entire time. I am also married to Leah. If I look at the log, yes it does say Leah reset to 2500 every day but she doesn't in the actual game. She still gave me kids and gave me a stardrop which requires 13/10 and hovering over her heart shows 13/10 every single day. It's nothing more than the mod's feedback logging being wrong...
Id like to report an issue with the current Beta version of Stardew Valley v1.2.16. I am using the 1.9 Beta 13 of SMAPI.
I've got the same error code with SDV 1.11 and SMAPI 1.9. Any chance of a fix so I can go back to being a misanthrope in game?
thakyZ updated [SMAPI] zDailyIncrease with a new update entry: Update for SMAPI 1.9 Read the rest of this update entry...
thakyZ updated [SMAPI] zDailyIncrease with a new update entry: zDailyIncrease 1.3.4 for SMAPI 1.10 and Stardew Valley 1.2 Read the rest of this update entry...