i noticed you said this applies for SVE characters, should this mod also mention where a modded NPC comes from? for example if i used this mod for Sophia, would it say she's from SVE?
trying to find where one of my NPC's is from because i have no idea and the NPC in question is broken lol
[19:43:45 ERROR NPC Info] This mod failed in the Display.RenderedWorld event. Technical details: NullReferenceException: Object reference not set to an instance of an object. at NPCInfo.NPCInfo.CustomNPCManager.CheckGiftsTodayChanged() in C:\Users\narik\source\repos\NPCInfo\NPCInfo\NPCInfo\CustomNPCManager.cs:line 49 at NPCInfo.ModEntry.OnRenderedWorld(Object sender, RenderedWorldEventArgs e) in C:\Users\narik\source\repos\NPCInfo\NPCInfo\ModEntry.cs:line 120 at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101 [19:46:11 ERROR NPC Info] This mod failed in the Display.RenderedWorld event. Technical details: NullReferenceException: Object reference not set to an instance of an object. at NPCInfo.NPCInfo.CustomNPCManager.CheckGiftsTodayChanged() in C:\Users\narik\source\repos\NPCInfo\NPCInfo\NPCInfo\CustomNPCManager.cs:line 49 at NPCInfo.ModEntry.OnRenderedWorld(Object sender, RenderedWorldEventArgs e) in C:\Users\narik\source\repos\NPCInfo\NPCInfo\ModEntry.cs:line 120 at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101The module keeps getting error code in the SPAPI,NPC name can be displayed normally, but the special status icon is not displayed.
Please ensure you have the latest version (1.0.1). I accidentally uploaded a test version which had a bug. This is my first mod so I'm really sorry I messed up - let me know if that doesn't sort it.
Unfortunately Stardew Valley doesn't record the last gift (or if it does I couldn't find it) but you should start seeing gift info the next time you run into an NPC you gifted while the mod was running.
7 comments
trying to find where one of my NPC's is from because i have no idea and the NPC in question is broken lol
[19:43:45 ERROR NPC Info] This mod failed in the Display.RenderedWorld event. Technical details:
The module keeps getting error code in the SPAPI,NPC name can be displayed normally, but the special status icon is not displayed.NullReferenceException: Object reference not set to an instance of an object.
at NPCInfo.NPCInfo.CustomNPCManager.CheckGiftsTodayChanged() in C:\Users\narik\source\repos\NPCInfo\NPCInfo\NPCInfo\CustomNPCManager.cs:line 49
at NPCInfo.ModEntry.OnRenderedWorld(Object sender, RenderedWorldEventArgs e) in C:\Users\narik\source\repos\NPCInfo\NPCInfo\ModEntry.cs:line 120
at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101
[19:46:11 ERROR NPC Info] This mod failed in the Display.RenderedWorld event. Technical details:
NullReferenceException: Object reference not set to an instance of an object.
at NPCInfo.NPCInfo.CustomNPCManager.CheckGiftsTodayChanged() in C:\Users\narik\source\repos\NPCInfo\NPCInfo\NPCInfo\CustomNPCManager.cs:line 49
at NPCInfo.ModEntry.OnRenderedWorld(Object sender, RenderedWorldEventArgs e) in C:\Users\narik\source\repos\NPCInfo\NPCInfo\ModEntry.cs:line 120
at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101
Last Gift Tracking no tests yet.
Other functions,It's working fine for the moment.
Unfortunately Stardew Valley doesn't record the last gift (or if it does I couldn't find it) but you should start seeing gift info the next time you run into an NPC you gifted while the mod was running.