hey, so I ran stardew with your mod again, it worked fine (as you said) so i think it must've been either a conflict, or a different one of my mods that was causing the problem. I'm so sorry to have bothered you 😅
I have this and Self Serve. So I went into Clints shop after having handed off my axe to him for the steel upgrade the day before. When I hit the store menu, it came up WITH the tool upgrade item still on the menu. So just to see what would happen I went for the copper pick upgrade. He gave me a copper pick. I still had my generic pick. Looking at that menu again, it still had the copper pick on there. It did take my 5 copper bars and 2k gold. To see if I could trigger a menu update to acknowledge that I now had a copper pick (AND the original pick still as well) I left the store twice. No dice. Tried it a third time. Walked over to the bridge and back - did not leave the frame. Back into the store. Steel pick was now on the menu. So I went for 5 iron bars and 5k to see what would happen. Again it gave me the steel pick and did not take my copper pick OR my original pick. All while my steel axe was still not done nor supposed to be done until the next day.
Posting it here and in Self Serve just in case. I have no idea what is making this happen. I forgot and played several days after the incident in question (did not exit the game) so I'm not sure what's actually in the log file but here it is in case I didn't ruin it.
just tested it. it is compatible. the only one that doesn't have the times matchup is the Adventures Guild. Still closes at 10. One of two reasons. Either a type on the description page of closing at 1 or more likely because SVE moves it to a different map it doesn't register the change. all other affected shops are changed without any issue.
[Content Patcher] Error preloading content pack '[CP] Shops Open Longer'. Technical details: Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\Content Mods\Shops Open Longer\content.json. Technical details: Error converting value "Action" to type 'ContentPatcher.Framework.ConfigModels.PatchConfig'. Path 'Changes[12]', line 119, position 15. at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 80 at StardewModdingAPI.Framework.ContentPack.ReadJsonFile[TModel](String path) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentPack.cs:line 76 at ContentPatcher.Framework.RawContentPack.TryReloadContent(String& error) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\RawContentPack.cs:line 79 at ContentPatcher.ModEntry.GetContentPacks()+MoveNext() in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\ModEntry.cs:line 411
13 comments
Posting it here and in Self Serve just in case. I have no idea what is making this happen. I forgot and played several days after the incident in question (did not exit the game) so I'm not sure what's actually in the log file but here it is in case I didn't ruin it.
https://smapi.io/log/30259e752904423093fd2be8705518f5
[Content Patcher] Error preloading content pack '[CP] Shops Open Longer'. Technical details:
Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\Content Mods\Shops Open Longer\content.json.
Technical details: Error converting value "Action" to type 'ContentPatcher.Framework.ConfigModels.PatchConfig'. Path 'Changes[12]', line 119, position 15.
at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 80
at StardewModdingAPI.Framework.ContentPack.ReadJsonFile[TModel](String path) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentPack.cs:line 76
at ContentPatcher.Framework.RawContentPack.TryReloadContent(String& error) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\RawContentPack.cs:line 79
at ContentPatcher.ModEntry.GetContentPacks()+MoveNext() in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\ModEntry.cs:line 411
Edit: Made the changes to the file and the issue is resolved. All the shops are open for the correct amount of time now. even the ones modified by SVE