Issue game Freeze when start new day

Thanks for the log. I'm seeing an error by "Custom NPC exclusions" that's repeating on start of a new day.

The mod seems to be a requirement for some of your other mods; but I'd still try to temporarily remove CustomNPC exclusions, and see if it at least lets you load the save.


Code:
19:28:28    ERROR    game    An error occurred in the base update loop: System.Exception: Error on new day:
---------------
Object reference not set to an instance of an object.
   at StardewValley.Game1.UpdateShopPlayerItemInventory_PatchedBy<Esca.CustomNPCExclusions>(String location_name, HashSet`1 purchased_item_npcs)
   at StardewValley.Game1._newDayAfterFade()+MoveNext()
   at StardewValley.Game1.<>c.<newDayAfterFade>b__716_2()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
---------------

   at StardewValley.Game1._update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 4154
   at StardewValley.Game1.Update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 3974
   at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) in SMAPI\Framework\SCore.cs:line 1089
 

hiepkhachth

Newcomer
Thanks for the log. I'm seeing an error by "Custom NPC exclusions" that's repeating on start of a new day.

The mod seems to be a requirement for some of your other mods; but I'd still try to temporarily remove CustomNPC exclusions, and see if it at least lets you load the save.


Code:
19:28:28    ERROR    game    An error occurred in the base update loop: System.Exception: Error on new day:
---------------
Object reference not set to an instance of an object.
   at StardewValley.Game1.UpdateShopPlayerItemInventory_PatchedBy<Esca.CustomNPCExclusions>(String location_name, HashSet`1 purchased_item_npcs)
   at StardewValley.Game1._newDayAfterFade()+MoveNext()
   at StardewValley.Game1.<>c.<newDayAfterFade>b__716_2()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
---------------

   at StardewValley.Game1._update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 4154
   at StardewValley.Game1.Update(GameTime gameTime) in stardewvalley\Farmer\Farmer\Game1.cs:line 3974
   at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) in SMAPI\Framework\SCore.cs:line 1089
thanks for your reply, but if i remove it, can i still play SVE without this mod ??
 
thanks for your reply, but if i remove it, can i still play SVE without this mod ??
SVE, and any other mods that depend on it will be disabled while it's removed. We just want to attempt to load the save; and see if it actually starts up.
Afterwards, you can re-add the mod back; since we're just trying to verify that's where the error is.

It's just that there's 2 mods in conflict, and both are throwing errors related to the NPCExclusions stuff:
Code:
19:28:27    ERROR    Content Patcher    Two content packs want to load the 'Characters/Mermaid' asset (Dark_Club_CP and Stardew Valley Expanded). Neither will be applied. You should remove one of the content packs, or ask the authors about compatibility.
19:28:27    TRACE    Content Patcher    Affected patches: Dark_Club_CP > Load Characters/Mermaid, Stardew Valley Expanded > Load Characters/Mermaid
19:28:28    TRACE    SMAPI    Content Patcher edited Maps/pirates_tilesheet (for the 'Seasonal Cute Characters' content pack).
19:28:28    TRACE    SMAPI    Custom NPC Exclusions loaded asset 'Data/CustomNPCExclusions'.
19:28:28    TRACE    SMAPI    Content Patcher edited Data/CustomNPCExclusions (for the 'Stardew Valley Expanded' content pack).
19:28:28    TRACE    SMAPI    Content Patcher edited Data/CustomNPCExclusions (for the 'Dark_Club_CP' content pack).
Alternatively, you could try disabling one of these; instead of "CustomNPCExclusions" which would knock out both:
[SDV Expanded or Dark Club]
 

hiepkhachth

Newcomer
SVE, and any other mods that depend on it will be disabled while it's removed. We just want to attempt to load the save; and see if it actually starts up.
Afterwards, you can re-add the mod back; since we're just trying to verify that's where the error is.

It's just that there's 2 mods in conflict, and both are throwing errors related to the NPCExclusions stuff:
Code:
19:28:27    ERROR    Content Patcher    Two content packs want to load the 'Characters/Mermaid' asset (Dark_Club_CP and Stardew Valley Expanded). Neither will be applied. You should remove one of the content packs, or ask the authors about compatibility.
19:28:27    TRACE    Content Patcher    Affected patches: Dark_Club_CP > Load Characters/Mermaid, Stardew Valley Expanded > Load Characters/Mermaid
19:28:28    TRACE    SMAPI    Content Patcher edited Maps/pirates_tilesheet (for the 'Seasonal Cute Characters' content pack).
19:28:28    TRACE    SMAPI    Custom NPC Exclusions loaded asset 'Data/CustomNPCExclusions'.
19:28:28    TRACE    SMAPI    Content Patcher edited Data/CustomNPCExclusions (for the 'Stardew Valley Expanded' content pack).
19:28:28    TRACE    SMAPI    Content Patcher edited Data/CustomNPCExclusions (for the 'Dark_Club_CP' content pack).
Alternatively, you could try disabling one of these; instead of "CustomNPCExclusions" which would knock out both:
[SDV Expanded or Dark Club]
yeah i have remove it but, yeah it work but if i start 2 day on 1 play it still freeze, but if i log out and start game again it still freeze on 2 day play.
P/s: sorry if my english is bad. Here is my new log after remove dark club.
 
yeah i have remove it but, yeah it work but if i start 2 day on 1 play it still freeze, but if i log out and start game again it still freeze on 2 day play.
P/s: sorry if my english is bad. Here is my new log after remove dark club.
No worries, and thanks.
Since you temporarily removed the Dark Club mod, and the error still shows up. That leaves SDV Expanded & its interaction with NPC exclusion that seem to be causing the error.


Code:
10:38:16    TRACE    SMAPI    Synchronizing 'NewDay' task...
10:38:16    TRACE    SMAPI    Content Patcher edited Maps/pirates_tilesheet (for the 'Seasonal Cute Characters' content pack).
10:38:17    TRACE    SMAPI    Custom NPC Exclusions loaded asset 'Data/CustomNPCExclusions'.
10:38:17    TRACE    SMAPI    Content Patcher edited Data/CustomNPCExclusions (for the 'Stardew Valley Expanded' content pack).
10:38:17    TRACE    AntiSocial NPCs    Initially 108 NPCs, removed anti-social ones, returning 56
    repeats 4 times
10:38:17    TRACE    SMAPI       task complete.
10:38:17    TRACE    game    _newDayTask failed with an exception
10:38:17    ERROR    game    NullReferenceException: Object reference not set to an instance of an object.
   at StardewValley.Game1.UpdateShopPlayerItemInventory_PatchedBy<Esca.CustomNPCExclusions>(String location_name, HashSet`1 purchased_item_npcs)
   at StardewValley.Game1._newDayAfterFade()+MoveNext()
You can put Dark Club back in your mods again. For this, you should forward to the SDV Expanded devs.
 

hiepkhachth

Newcomer
No worries, and thanks.
Since you temporarily removed the Dark Club mod, and the error still shows up. That leaves SDV Expanded & its interaction with NPC exclusion that seem to be causing the error.


Code:
10:38:16    TRACE    SMAPI    Synchronizing 'NewDay' task...
10:38:16    TRACE    SMAPI    Content Patcher edited Maps/pirates_tilesheet (for the 'Seasonal Cute Characters' content pack).
10:38:17    TRACE    SMAPI    Custom NPC Exclusions loaded asset 'Data/CustomNPCExclusions'.
10:38:17    TRACE    SMAPI    Content Patcher edited Data/CustomNPCExclusions (for the 'Stardew Valley Expanded' content pack).
10:38:17    TRACE    AntiSocial NPCs    Initially 108 NPCs, removed anti-social ones, returning 56
    repeats 4 times
10:38:17    TRACE    SMAPI       task complete.
10:38:17    TRACE    game    _newDayTask failed with an exception
10:38:17    ERROR    game    NullReferenceException: Object reference not set to an instance of an object.
   at StardewValley.Game1.UpdateShopPlayerItemInventory_PatchedBy<Esca.CustomNPCExclusions>(String location_name, HashSet`1 purchased_item_npcs)
   at StardewValley.Game1._newDayAfterFade()+MoveNext()
You can put Dark Club back in your mods again. For this, you should forward to the SDV Expanded devs.
yeah i think i will wait until SVE get update.
thanks for your help.
 
Top