Mount & Blade II: Bannerlord

Mount & Blade II: Bannerlord

Diplomacy
Ayatullah 21 Feb, 2023 @ 12:07am
Crashes randomly
Bannerlord has encountered a problem and needs to close. We are sorry for the inconvenience.
If you were in the middle of something, the progress you were working on might be lost.

If you click attempt to continue, the program will ignore this error and continue running, however there is a risk your game will be in corrupted state.

This error can be caused by a faulty XMLs, manifest (submodule.xml), corrupted save game, module, or programming errors.
If this keeps happening, consider saving the error report and send it to the module authors or run a troubleshoot to solve the issues.

You can control Better Exception Window behaviour by editing config.json in BetterExceptionWindow submodule folder.

Click here to show Butterlib exception.





- Reasons
Source: 0Harmony
Ambiguous match in Harmony patch for Diplomacy.WarExhaustion.WarExhaustionManager:AddCasualtyWarExhaustion

- Inner exception
Source: mscorlib
Ambiguous match found.

- Callstacks
Protip: Use a debugger like dnSpy or Visual studio to trace the source of error, by stepping the program line by line. You can restart with dnSpy attached.

Inner exception callstack:
at System.RuntimeType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers)
at System.Type.GetMethod(String name, BindingFlags bindingAttr)
at HarmonyLib.AccessTools.FindIncludingBaseTypes[T](Type type, Func`2 func)
at HarmonyLib.AccessTools.Method(Type type, String name, Type[] parameters, Type[] generics)Outer exception callstack:
at HarmonyLib.AccessTools.Method(Type type, String name, Type[] parameters, Type[] generics)
at SurrenderTweaks.SurrenderHelper.AddPrisonersAsCasualties(MobileParty defender, MobileParty attacker) in C:\Users\Valarauko\source\repos\SurrenderTweaks\SurrenderTweaks\SurrenderHelper.cs:line 158
at SurrenderTweaks.Behaviors.BribeAndSurrenderBehavior.OnMapEventStarted(MapEvent mapEvent, PartyBase attackerParty, PartyBase defenderParty) in C:\Users\Valarauko\source\repos\SurrenderTweaks\SurrenderTweaks\Behaviors\BribeAndSurrenderBehavior.cs:line 59
at TaleWorlds.CampaignSystem.MbEvent`3.InvokeList(EventHandlerRec`3 list, T1 t1, T2 t2, T3 t3)
at TaleWorlds.CampaignSystem.CampaignEvents.OnMapEventStarted(MapEvent mapEvent, PartyBase attackerParty, PartyBase defenderParty)
at TaleWorlds.CampaignSystem.CampaignEventDispatcher.OnMapEventStarted(MapEvent mapEvent, PartyBase attackerParty, PartyBase defenderParty)
at TaleWorlds.CampaignSystem.MapEvents.MapEvent.Initialize(PartyBase attackerParty, PartyBase defenderParty, BattleTypes mapEventType)
at TaleWorlds.CampaignSystem.MapEvents.MapEventManager.StartBattleMapEvent(PartyBase attackerParty, PartyBase defenderParty)
at TaleWorlds.CampaignSystem.Actions.StartBattleAction.ApplyInternal(PartyBase attackerParty, PartyBase defenderParty, Object subject, StartBattleActionDetails detail)
at TaleWorlds.CampaignSystem.EncounterManager.StartPartyEncounter(PartyBase attackerParty, PartyBase defenderParty)
at TaleWorlds.CampaignSystem.Party.MobileParty.TaleWorlds.CampaignSystem.Map.IMapEntity.OnPartyInteraction(MobileParty engagingParty)
at TaleWorlds.CampaignSystem.EncounterManager.HandleEncounterForMobileParty(MobileParty mobileParty, Single dt)
at TaleWorlds.CampaignSystem.EncounterManager.HandleEncounters(Single dt)
at TaleWorlds.CampaignSystem.Campaign.Tick()
at TaleWorlds.CampaignSystem.GameState.MapState.OnMapModeTick(Single dt)
at TaleWorlds.CampaignSystem.GameState.MapState.OnTick(Single dt)
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_Patch1(Module this, Single dt)- Installed mods
Hide taleworlds mods

Hide unloaded mods

+ UIExtenderEx (version: v2.6.0)
Mod manifest data:
Mod loaded: YES
Mod Id: Bannerlord.UIExtenderEx
Mod Version: v2.6.0
Mod Manifest location: C:\\Program Files (x86)\\Steam\\steamapps\\workshop\\content\\261550\\2859222409\\SubModule.xml
Steamworkshop URL: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2859222409
Depends on:
Bannerlord.Harmony
Submodules:
Bannerlord.UIExtenderEx.dll
Bannerlord.UIExtenderEx.dll
+ ButterLib (version: v2.6.3)
Mod manifest data:
Mod loaded: YES
Mod Id: Bannerlord.ButterLib
Mod Version: v2.6.3
Mod Manifest location: C:\\Program Files (x86)\\Steam\\steamapps\\workshop\\content\\261550\\2859232415\\SubModule.xml
Steamworkshop URL: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2859232415
Depends on:
Bannerlord.Harmony
Submodules:
Bannerlord.ButterLib.dll
Bannerlord.ButterLib.dll
+ Mod Configuration Menu v5 (version: v5.5.5)
Mod manifest data:
Mod loaded: YES
Mod Id: Bannerlord.MBOptionScreen
Mod Version: v5.5.5
Mod Manifest location: C:\\Program Files (x86)\\Steam\\steamapps\\workshop\\content\\261550\\2859238197\\SubModule.xml
Steamworkshop URL: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2859238197
Depends on:
Bannerlord.Harmony
Bannerlord.ButterLib
Bannerlord.UIExtenderEx
Submodules:
MCMv5.dll
MCMv5.dll
MCM.UI.Adapter.MCMv5.dll
MCMv5.UI.dll
+ MoreArenas (version: e1.5.5)
Mod manifest data:
Mod loaded: YES
Mod Id: MoreArenas
Mod Version: e1.5.5
Mod Manifest location: C:\\Program Files (x86)\\Steam\\steamapps\\workshop\\content\\261550\\2875080792\\SubModule.xml
Steamworkshop URL: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2875080792
Depends on:
Does not depend with other module
Submodules:
Does not contain any DLL module
+ Dedicated Custom Server Helper (version: v1.0.3)
Mod manifest data:
Mod loaded: NO
Mod Id: DedicatedCustomServerHelper
Mod Version: v1.0.3
Mod Manifest location: C:\\Program Files (x86)\\Steam\\steamapps\\common\\Mount & Blade II Bannerlord\\Modules\\DedicatedCustomServerHelper\\SubModule.xml
Depends on:
Native
Submodules:
TaleWorlds.MountAndBlade.DedicatedCustomServer.WebPanel.dll (Not loaded in memory)
TaleWorlds.MountAndBlade.DedicatedCustomServer.MapServer.dll (Not loaded in memory)
TaleWorlds.MountAndBlade.DedicatedCustomServer.ClientHelper.dll (Not loaded in memory)
+ Multiplayer (version: v1.0.3)
Mod manifest data:
Mod loaded: NO
Mod Id: Multiplayer
Mod Version: v1.0.3
Mod Manifest location: C:\\Program Files (x86)\\Steam\\steamapps\\common\\Mount & Blade II Bannerlord\\Modules\\Multiplayer\\SubModule.xml
Depends on:
Native
Submodules:
Does not contain any DLL module
+ Native (version: v1.0.3)
Mod manifest data:
Mod loaded: YES
Mod Id: Native
Mod Version: v1.0.3
Mod Manifest location: C:\\Program Files (x86)\\Steam\\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.DedicatedCustomServer.Official.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)
+ Sandbox (version: v1.0.3)
Mod manifest data:
Mod loaded: YES
Mod Id: Sandbox
Mod Version: v1.0.3
Mod Manifest location: C:\\Program Files (x86)\\Steam\\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: v1.0.3)
Mod manifest data:
Mod loaded: YES
Mod Id: SandBoxCore
Mod Version: v1.0.3
Mod Manifest location: C:\\Program Files (x86)\\Steam\\steamapps\\common\\Mount & Blade II Bannerlord\\Modules\\SandBoxCore\\SubModule.xml
Depends on:
Native
Submodules:
Does not contain any DLL module
+ StoryMode (version: v1.0.3)
Mod manifest data:
Mod loaded: YES
Mod Id: StoryMode
Mod Version: v1.0.3
Mod Manifest location: C:\\Program Files (x86)\\Steam\\steamapps\\common\\Mount & Blade II Bannerlord\\Modules\\StoryMode\\SubModule.xml
Depends on:
Native
SandBoxCore
Sandbox
Submodules:
StoryMode.dll
StoryMode.View.dll
StoryMode.GauntletUI.dll
< >
Showing 1-2 of 2 comments
artifixer  [developer] 22 Feb, 2023 @ 3:37am 
Surrender Tweaks has to be updated in order to work with Diplomacy 1.2.X. It's author already updated the mod for v1.1.0. As far as I know he does not plan to update for earlier game versions.
You either have to disable War Exhaustion in Diplomacy or diable Surrender Tweaks. Finally, you can move on to v1.1.0.
Last edited by artifixer; 22 Feb, 2023 @ 3:37am
Ayatullah 22 Feb, 2023 @ 5:04am 
thanks brother.
< >
Showing 1-2 of 2 comments
Per page: 1530 50