as of 1.6.6 update I get this entry in the SMP log.
[LastDayToPlant] Mod crashed on entry and might not work correctly. Technical details:Newtonsoft.Json.JsonReaderException: Error reading JObject from JsonReader. Current JsonReader item is not an object: Comment. Path '', line 25, position 0. at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings) at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings) at LastDayToPlant.Crop.FromModFile(String cropFilePath) in D:\_Projects\StardewMods\LastDayToPlant\Crop.cs:line 52 at LastDayToPlant.ModEntry.FindAndLoadCrops(String path) in D:\_Projects\StardewMods\LastDayToPlant\ModEntry.cs:line 111 at LastDayToPlant.ModEntry.Entry(IModHelper helper) in D:\_Projects\StardewMods\LastDayToPlant\ModEntry.cs:line 32 at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in SMAPI\Framework\SCore.cs:line 1766
just to let you know I figured out what was causing my crash of your mod was.
I had the mod Spring onion seeds in that is not updated. had to disable the spring onion part cause it gave me the error symbol. figured out how to updated it for my game and it fixed the crashing of your mod. so something in the mod was not working with your mod.
Heya! I really appreciate this mod, and I just wanted to let you know that I'm getting "last day to plant" warnings for powdermelons in Spring instead of Winter.
I am fully updated and every time I launch I get this error:
[LastDayToPlant] Mod crashed on entry and might not work correctly. Technical details: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: “. Path 'Type', line 6, position 12. at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r, JsonLoadSettings settings) at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader, JsonLoadSettings options) at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings) at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings) at LastDayToPlant.Crop.FromModFile(String cropFilePath) in D:\_Projects\StardewMods\LastDayToPlant\Crop.cs:line 52 at LastDayToPlant.ModEntry.FindAndLoadCrops(String path) in D:\_Projects\StardewMods\LastDayToPlant\ModEntry.cs:line 111 at LastDayToPlant.ModEntry.Entry(IModHelper helper) in D:\_Projects\StardewMods\LastDayToPlant\ModEntry.cs:line 32 at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in SMAPI\Framework\SCore.cs:line 1766
Also, the mod is not functional in game. Not sure what to do.
Getting this in SMAPI, do I need to worry about it? Or is it something I need to fix?
[LastDayToPlant] Mod crashed on entry and might not work correctly. Technical details: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: “. Path 'Type', line 6, position 12. at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r, JsonLoadSettings settings) at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader, JsonLoadSettings options) at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings) at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings) at LastDayToPlant.Crop.FromModFile(String cropFilePath) in D:\_Projects\StardewMods\LastDayToPlant\Crop.cs:line 52 at LastDayToPlant.ModEntry.FindAndLoadCrops(String path) in D:\_Projects\StardewMods\LastDayToPlant\ModEntry.cs:line 111 at LastDayToPlant.ModEntry.Entry(IModHelper helper) in D:\_Projects\StardewMods\LastDayToPlant\ModEntry.cs:line 32 at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in SMAPI\Framework\SCore.cs:line 1765
By chance does this say "Tomorrow is the last day to plant X" if the day itself would be a Wednesday (when you can't buy seeds)? I'd actually prefer a "tomorrow" version across the board, but especially for Wednesday issues.
Also would LOVE a message the day before the egg festival reminding me to save money for Strawberry Seeds the next day. Can't tell you how often I've missed strawberries from forgetting that I need to have money saved up!
It currently only pops up when "today" is the last day to plant something - however, I'm working on a new version that includes a custom in-game calendar so you'll always be able to see when the last day to plant a crop for the entire month is
Ive recently downloaded it and it comes up at Generic Mod Support and when opening the file it goes into the file showing the .dlll and .json file and a file labled i18n. Is this normal, it keeps telling me i gotta update the mod even after getting this
66 comments
if not, could I translate this in Chinese?
怎么办
[LastDayToPlant] Mod crashed on entry and might not work correctly. Technical details:Newtonsoft.Json.JsonReaderException: Error reading JObject from JsonReader. Current JsonReader item is not an object: Comment. Path '', line 25, position 0. at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings) at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings) at LastDayToPlant.Crop.FromModFile(String cropFilePath) in D:\_Projects\StardewMods\LastDayToPlant\Crop.cs:line 52 at LastDayToPlant.ModEntry.FindAndLoadCrops(String path) in D:\_Projects\StardewMods\LastDayToPlant\ModEntry.cs:line 111 at LastDayToPlant.ModEntry.Entry(IModHelper helper) in D:\_Projects\StardewMods\LastDayToPlant\ModEntry.cs:line 32 at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in SMAPI\Framework\SCore.cs:line 1766
I had the mod Spring onion seeds in that is not updated. had to disable the spring onion part cause it gave me the error symbol.
figured out how to updated it for my game and it fixed the crashing of your mod.
so something in the mod was not working with your mod.
hope this might help figuring out what caused it.
[LastDayToPlant] Mod crashed on entry and might not work correctly. Technical details:
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: “. Path 'Type', line 6, position 12.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader, JsonLoadSettings options)
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
at LastDayToPlant.Crop.FromModFile(String cropFilePath) in D:\_Projects\StardewMods\LastDayToPlant\Crop.cs:line 52
at LastDayToPlant.ModEntry.FindAndLoadCrops(String path) in D:\_Projects\StardewMods\LastDayToPlant\ModEntry.cs:line 111
at LastDayToPlant.ModEntry.Entry(IModHelper helper) in D:\_Projects\StardewMods\LastDayToPlant\ModEntry.cs:line 32
at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in SMAPI\Framework\SCore.cs:line 1766
Also, the mod is not functional in game. Not sure what to do.
[LastDayToPlant] Mod crashed on entry and might not work correctly. Technical details:
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: “. Path 'Type', line 6, position 12.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader, JsonLoadSettings options)
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
at LastDayToPlant.Crop.FromModFile(String cropFilePath) in D:\_Projects\StardewMods\LastDayToPlant\Crop.cs:line 52
at LastDayToPlant.ModEntry.FindAndLoadCrops(String path) in D:\_Projects\StardewMods\LastDayToPlant\ModEntry.cs:line 111
at LastDayToPlant.ModEntry.Entry(IModHelper helper) in D:\_Projects\StardewMods\LastDayToPlant\ModEntry.cs:line 32
at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in SMAPI\Framework\SCore.cs:line 1765
Also would LOVE a message the day before the egg festival reminding me to save money for Strawberry Seeds the next day. Can't tell you how often I've missed strawberries from forgetting that I need to have money saved up!
[SMAPI] LastDayToPlant uses deprecated code (Constants.ExecutionPath) and will break in the next major SMAPI update.