My new mod crashing after a while. Input on what the issue is?

Users who are viewing this thread

DatBoiCV93

Recruit
Hey, so i'm fairly new to modding and recently made a mod that modifies troops. After a few weaks of ingame-time it crashes. So i was able to play with it for a while. My mod is the "Calradia Overhaul" further down. With EmergencyWindow i get this message:
  1. "Inner exception callstack: No inner exception was thrownOuter exception callstack:
    at TaleWorlds.CampaignSystem.SandBox.GameComponents.Party.DefaultPartyWageModel.GetTotalWage(MobileParty mobileParty, Boolean includeDescriptions) at TaleWorlds.CampaignSystem.MobileParty.get_TotalWage()
    at TaleWorlds.CampaignSystem.ViewModelCollection.Map.MapInfoVM.UpdatePlayerInfo(Boolean updateForced)
    at TaleWorlds.CampaignSystem.ViewModelCollection.MapVM.OnRefresh()
    at TaleWorlds.CampaignSystem.ViewModelCollection.MapVM..ctor(INavigationHandler navigationHandler, IMapStateHandler mapStateHandler, MapBarShortcuts shortcuts, Action openArmyManagement)
    at SandBox.GauntletUI.Map.GauntlerMapBarGlobalLayer.Initialize(MapScreen mapScreen, Single contextAlphaModifider)
    at SandBox.GauntletUI.Map.GauntletMapBar.CreateLayout()
    at SandBox.View.Map.MapScreen.AddMapView[T](Object[] parameters)
    at SandBox.View.Map.MapScreen.OnInitialize()
    at TaleWorlds.Engine.Screens.ScreenBase.HandleInitialize()
    at TaleWorlds.Engine.Screens.ScreenManager.CleanAndPushScreen(ScreenBase screen)
    at TaleWorlds.Core.GameStateManager.OnPushState(GameState gameState)
    at TaleWorlds.Core.GameStateManager.OnCleanAndPushState(GameState gameState)
    at TaleWorlds.Core.GameStateManager.DoGameStateJobs()
    at TaleWorlds.Core.GameStateManager.CleanAndPushState(GameState gameState, Int32 level)
    at SandBox.SandBoxGameManager.OnLoadFinished() at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
    at TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch1(Module this, Single dt)"

    On cultured start i spawn with a companion that has his own party. Could it be that?


    + ButterLib (version: v1.0.33)

    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: Bannerlord.ButterLib
    • Mod Version: v1.0.33
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\Bannerlord.ButterLib\SubModule.xml

    Depends on:

    • Bannerlord.Harmony

    Submodules:

    • Bannerlord.ButterLib.dll
    • Bannerlord.ButterLib.dll
    + Diplomacy (version: v1.1.9)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: Bannerlord.Diplomacy
    • Mod Version: v1.1.9
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\Bannerlord.Diplomacy\SubModule.xml

    Depends on:

    • Bannerlord.Harmony
    • Bannerlord.ButterLib
    • Bannerlord.MBOptionScreen
    • Bannerlord.UIExtenderEx
    • Native
    • SandBoxCore
    • Sandbox
    • StoryMode

    Submodules:

    • Bannerlord.Diplomacy.dll
    + Harmony (version: v2.2.0.75)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: Bannerlord.Harmony
    • Mod Version: v2.2.0.75
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\Bannerlord.Harmony\SubModule.xml

    Depends on:

    • Does not depend with other module

    Submodules:

    • Bannerlord.Harmony.dll
    + Mod Configuration Menu v4 (version: v4.3.17)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: Bannerlord.MBOptionScreen
    • Mod Version: v4.3.17
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\Bannerlord.MBOptionScreen\SubModule.xml

    Depends on:

    • Bannerlord.Harmony
    • Bannerlord.ButterLib
    • Bannerlord.UIExtenderEx

    Submodules:

    • MCMv4.dll
    • MCMv4.dll
    • MCMv4.UI.dll
    • MCMv4.Adapter.MBO.dll
    • ModLib.dll
    • ModLib.Definitions.dll
    • MCMv4.Adapter.ModLib.dll
    • MCMv4.Adapter.MCMv3.dll
    + UIExtenderEx (version: v2.1.:cool:
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: Bannerlord.UIExtenderEx
    • Mod Version: v2.1.8
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\Bannerlord.UIExtenderEx\SubModule.xml

    Depends on:

    • Bannerlord.Harmony

    Submodules:

    • Bannerlord.UIExtenderEx.dll
    + BetterExceptionWindow (version: v3.1.0)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: BetterExceptionWindow
    • Mod Version: v3.1.0
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\BetterExceptionWindow\SubModule.xml

    Depends on:

    • Bannerlord.Harmony

    Submodules:

    • BetterExceptionWindow.dll
    + Calradia Overhaul (version: e1.0.0)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: CalradiaOverhaul
    • Mod Version: e1.0.0
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\CalradiaOverhaul\SubModule.xml

    Depends on:

    • Native
    • SandBoxCore
    • Sandbox
    • CustomBattle
    • StoryMode

    Submodules:

    • Does not contain any DLL module
    + CustomBattle (version: e1.7.0)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: CustomBattle
    • Mod Version: e1.7.0
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\CustomBattle\SubModule.xml

    Depends on:

    • Native
    • SandBoxCore

    Submodules:

    • TaleWorlds.MountAndBlade.CustomBattle.dll
    + Jumania OSA 1.7.0 FINAL (version: v1.6.0)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: JumaniaOSA1.7.0FINAL
    • Mod Version: v1.6.0
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\JumaniaOSA1.7.0FINAL\SubModule.xml

    Depends on:

    • Native
    • SandBoxCore
    • Sandbox
    • CustomBattle
    • StoryMode

    Submodules:

    • Does not contain any DLL module
    + More troops for native (version: v1.6.0)
    Mod manifest data:

    • Mod loaded: NO
    • Mod Id: Moretroopsfornative
    • Mod Version: v1.6.0
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\Moretroopsfornative\SubModule.xml

    Depends on:

    • Native
    • SandBoxCore
    • Sandbox
    • CustomBattle
    • StoryMode

    Submodules:

    • Does not contain any DLL module
    + My Little Warband (version: v1.7.0)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: MyLittleWarband
    • Mod Version: v1.7.0
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\MyLittleWarband\SubModule.xml

    Depends on:

    • Native
    • SandBoxCore
    • Sandbox
    • CustomBattle
    • StoryMode

    Submodules:

    • MyLittleWarband.dll
    + Native (version: e1.7.0)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: Native
    • Mod Version: e1.7.0
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\Native\SubModule.xml

    Depends on:

    • Does not depend with other module

    Submodules:

    • TaleWorlds.MountAndBlade.View.dll
    • TaleWorlds.MountAndBlade.GauntletUI.dll
    • TaleWorlds.MountAndBlade.DedicatedServer.dll (Not loaded in memory)
    • TaleWorlds.MountAndBlade.DedicatedCustomServer.dll (Not loaded in memory)
    • TaleWorlds.MountAndBlade.Platform.PC.dll
    • TaleWorlds.MountAndBlade.Platform.PS.dll (Not loaded in memory)
    • TaleWorlds.MountAndBlade.Platform.GDK.dll (Not loaded in memory)
    + Open Source Armory (version: v1.8.1)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: OpenSourceArmory
    • Mod Version: v1.8.1
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\OpenSourceArmory\SubModule.xml

    Depends on:

    • Native
    • SandBoxCore
    • Sandbox
    • CustomBattle
    • StoryMode

    Submodules:

    • Does not contain any DLL module
    + Realistic Battle AI Module (version: v2.2.5)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: RealisticBattleAiModule
    • Mod Version: v2.2.5
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\RealisticBattleAiModule\SubModule.xml

    Depends on:

    • Native
    • SandBoxCore
    • Sandbox
    • CustomBattle
    • StoryMode

    Submodules:

    • RealisticBattleAiModule.dll
    + RTS Camera (version: e3.10.1)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: RTSCamera
    • Mod Version: e3.10.1
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\RTSCamera\SubModule.xml

    Depends on:

    • Native
    • SandBoxCore
    • Sandbox
    • CustomBattle
    • StoryMode

    Submodules:

    • RTSCamera.dll
    + Sandbox(version: e1.7.0)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: Sandbox
    • Mod Version: e1.7.0
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\SandBox\SubModule.xml

    Depends on:

    • Native
    • SandBoxCore

    Submodules:

    • SandBox.dll
    • SandBox.View.dll
    • SandBox.GauntletUI.dll
    + SandBox Core (version: e1.7.0)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: SandBoxCore
    • Mod Version: e1.7.0
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\SandBoxCore\SubModule.xml

    Depends on:

    • Native

    Submodules:

    • Does not contain any DLL module
    + StoryMode (version: e1.7.0)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: StoryMode
    • Mod Version: e1.7.0
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\StoryMode\SubModule.xml

    Depends on:

    • Native
    • SandBoxCore
    • Sandbox

    Submodules:

    • StoryMode.dll
    • StoryMode.View.dll
    • StoryMode.GauntletUI.dll
    + True Battle Loot (version: v1.1.13)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: TrueBattleLoot
    • Mod Version: v1.1.13
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\TrueBattleLoot\SubModule.xml

    Depends on:

    • Bannerlord.Harmony
    • Bannerlord.ButterLib
    • Bannerlord.UIExtenderEx
    • Bannerlord.MBOptionScreen

    Submodules:

    • TrueBattleLoot.dll
    + Cultured Start (version: v1.2.1)
    Mod manifest data:

    • Mod loaded: YES
    • Mod Id: zCulturedStart
    • Mod Version: v1.2.1
    • Mod Manifest location: D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\zCulturedStart\SubModule.xml

    Depends on:

    • Native
    • SandBoxCore
    • Sandbox
    • CustomBattle
    • StoryMode
    • Bannerlord.Harmony

    Submodules:

    • zCulturedStart.dll
 
Probably a troop without a culture causes the crash. You can test this out by starting a new game and adding new troops by cheat. The game should crash after a little while if that's the case.
 
Upvote 0
Thanks for the reply. I went into the overhaul.xml and they all have cultures (and the correct one at that). I removed the Cultured Start-mod and have 2 months of ingame-time now without a crash. So it seems it was probably that - perhaps it messed with some files regarding to culture. It did after all spawn a companion with the kingdom-start option. Might be something relating to that?

If it crashes again i will add new troops by cheat one by one as you suggested. Again, thank you for the help!
 
Upvote 0
Back
Top Bottom