K1ngElite Posted October 9, 2021 Share Posted October 9, 2021 Hey all, Not sure whats causing this crash because it looks like it only involves the core game data and I dont know if a mod is causing it. Im crashing mid battle every time the ai tries to spawn a new wave. This is the first major problem I've had with crasing in this modded run and Ive had many large scale battles in my campaign where this wasnt an issue. heres the crash report and mod list. - ExceptionException informationType: System.DivideByZeroExceptionMessage: Attempted to divide by zero.Source: TaleWorlds.CampaignSystemCallStack: at TaleWorlds.CampaignSystem.TroopUpgradeTracker.CalculateReadyToUpgradeSafe(TroopRosterElement& el, PartyBase owner) at TaleWorlds.CampaignSystem.TroopUpgradeTracker.AddTrackedTroop(PartyBase party, CharacterObject character) at SandBox.BattleAgentLogic.OnAgentBuild(Agent agent, Banner banner) at TaleWorlds.MountAndBlade.Mission.SpawnAgent(AgentBuildData agentBuildData, Boolean spawnFromAgentVisuals, Int32 formationTroopCount) at TaleWorlds.MountAndBlade.Mission.SpawnTroop(IAgentOriginBase troopOrigin, Boolean isPlayerSide, Boolean hasFormation, Boolean spawnWithHorse, Boolean isReinforcement, Boolean enforceSpawningOnInitialPoint, Int32 formationTroopCount, Int32 formationTroopIndex, Boolean isAlarmed, Boolean wieldInitialWeapons, Boolean forceDismounted, Nullable`1 initialPosition, Nullable`1 initialDirection, String specialActionSet) at TaleWorlds.MountAndBlade.MissionAgentSpawnLogic.MissionSide.SpawnTroops(Int32 number, Boolean isReinforcement, Boolean enforceSpawningOnInitialPoint) at TaleWorlds.MountAndBlade.MissionAgentSpawnLogic.BattleSizeSpawnTick_Patch1(MissionAgentSpawnLogic this) at TaleWorlds.MountAndBlade.Mission.OnTick(Single dt, Single realDt, Boolean updateCamera) at TaleWorlds.MountAndBlade.MissionState.TickMission(Single realDt) at TaleWorlds.MountAndBlade.MissionState.OnTick(Single realDt) at TaleWorlds.Core.GameStateManager.OnTick(Single dt) at TaleWorlds.Core.Game.OnTick(Single dt) at TaleWorlds.Core.GameManagerBase.OnTick(Single dt) at TaleWorlds.MountAndBlade.Module.OnApplicationTick(Single dt) at TaleWorlds.DotNet.Managed.ApplicationTick_Patch1(Single dt) - Involved ModulesSandboxMethod: virtual System.Void SandBox.BattleAgentLogic::OnAgentBuild(TaleWorlds.MountAndBlade.Agent agent, TaleWorlds.Core.Banner banner)Frame: OnAgentBuild at offset 150 in file:line:column :0:0 - Installed Modules+ Harmony (Bannerlord.Harmony, v2.1.1.65)+ ButterLib (Bannerlord.ButterLib, v1.0.28.0)+ UIExtenderEx (Bannerlord.UIExtenderEx, v2.1.8.0)+ Mod Configuration Menu v4 (Bannerlord.MBOptionScreen, v4.3.14.0)+ Native (Native, e1.6.2.0)+ SandBox Core (SandBoxCore, e1.6.2.0)+ Sandbox (Sandbox, e1.6.2.0)+ StoryMode (StoryMode, e1.6.2.0)+ CustomBattle (CustomBattle, e1.6.2.0)+ Distinguished Service (DistinguishedService, v4.6.5.0)+ Adonnay's Troop Changer (AdonnaysTroopChanger, v1.6.2.0)+ Calradia Expanded (CalradiaExpanded, a1.1.6.0)+ Realistic Battle AI Module (RealisticBattleAiModule, v2.0.4.0)+ EnhancedBattleTest (EnhancedBattleTest, v2.1.3.0)+ Freelancer Template (FreelancerTemplate, v1.6.2.0)+ Calradia Rising Armory (CalradiaRisingArmory, e1.5.7.0)+ New Equipment (new_equipment, e1.5.2.0)+ Open Source Armory (OpenSourceArmory, v1.6.0.0)+ swadian armoury (swadian armoury, v1.0.0.0)+ Vaegir Armoury (Vaegir Armoury, e1.5.2.0)+ Diplomacy (Bannerlord.Diplomacy, v1.1.8.0)+ CustomSpawns (CustomSpawns, v1.4.8.0)+ KillBanditsRaiseRelations (KillBanditsRaiseRelations, v1.6.3.0)+ Responsive Soldiers (ResponsiveSoldiersBoiZoi, v0.2.1.0)+ RTS Camera (RTSCamera, e3.10.0.0)+ More Troops - Aserai (MoreTroopsAserai, v1.0.0.0)+ More Troops - Battania (MoreTroopsBattania, v1.0.0.0)+ More Troops - Empire (MoreTroopsEmpire, v1.0.0.0)+ More Troops - Items (MoreTroopsItems, e1.5.2.0)+ More Troops - Items for RBM (MoreTroopsItemsRBM, e1.5.2.0)+ More Troops - Khuzait (MoreTroopsKhuzait, v1.0.0.0)+ More Troops - Legends (MoreTroopsLegends, v1.0.0.0)+ More Troops - Mercenaries (MoreTroopsMercenaries, v1.0.0.0)+ More Troops - Sturgia (MoreTroopsSturgia, v1.0.0.0)+ More Troops - Vlandia (MoreTroopsVlandia, v1.0.0.0)+ Detailed Character Creation (zzCharacterCreation, v1.2.4.0)+ Vlandian Steel (Vlandiansteel, v0.0.9.0)+ V's Royal Armoury Rewritten - Jiro's Build (VsRoyalArmoryRewritten, v1.2.2.0) Link to comment Share on other sites More sharing options...
Recommended Posts