Mount & Blade II: Bannerlord

Mount & Blade II: Bannerlord

(RBM) Realistic Battle Mod
RBM AI Module Crashes at Start of Battle
I've been bashing my head against the wall trying to get the RBM AI module to work with Bannerlord v1.03.

The only mod I have installed is RBM v1.0.3 from Nexus. When I try to load a battle (IE, fight looters, start a tournament), the game will crash. It works fine if I disable the AI module from the RBM Configuration Menu. It occurs in a new campaign or a saved game.

Here is a screenshot[i.imgur.com] of my mod load order.

I have installed Unblock DLL and executed LaunchMe.bat. I have also attempted to unblock all of the DLL files manually using powershell with gci - recurse | Unblock-File. I have checked the properties of the RBM DLL files and I do not see any issues.

If I install Harmony and Better Exception Window, I get the following exception:

- Reasons
Source: 0Harmony
Patching exception in method virtual System.Void TaleWorlds.MountAndBlade.BehaviorProtectFlank::CalculateCurrentOrder()

- Inner exception
Source: 0Harmony
No such field defined in class TaleWorlds.MountAndBlade.BehaviorProtectFlank, TaleWorlds.MountAndBlade, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null Parameter name: _behaviorSide

Here is the Callstack

Inner exception callstack:
at HarmonyLib.MethodPatcher.EmitCallParameter(MethodInfo patch, Dictionary`2 variables, LocalBuilder runOriginalVariable, Boolean allowFirsParamPassthrough, LocalBuilder& tmpObjectVar, List`1 tmpBoxVars)
at HarmonyLib.MethodPatcher.<>c__DisplayClass35_0.b__0(MethodInfo fix)
at HarmonyLib.CollectionExtensions.Do[T](IEnumerable`1 sequence, Action`1 action)
at HarmonyLib.MethodPatcher.CreateReplacement(Dictionary`2& finalInstructions)
at HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo)
at HarmonyLib.PatchClassProcessor.ProcessPatchJob(Job job)Outer exception callstack:
at HarmonyLib.PatchClassProcessor.ReportException(Exception exception, MethodBase original)
at HarmonyLib.PatchClassProcessor.Patch()
at HarmonyLib.CollectionExtensions.Do[T](IEnumerable`1 sequence, Action`1 action)
at RBMAI.RBMAiPatcher.DoPatching() in D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\RealisticBattleProject\RealisticBattleAiModule\RBMAIPatcher.cs:line 16
at RBMAI.Tactics.CampaignMissionComponentPatch.Postfix() in D:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\RealisticBattleProject\RealisticBattleAiModule\AiModule\Tactics.cs:line 352
at TaleWorlds.MountAndBlade.Mission.AfterStart()
at TaleWorlds.MountAndBlade.MissionState.FinishMissionLoading_Patch1(MissionState this)
at TaleWorlds.MountAndBlade.MissionState.TickLoading(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_Patch1(Module this, Single dt)


Thanks in advance for any assistance with this bug.
< >
Showing 1-1 of 1 comments
generalBG 21 Mar, 2023 @ 12:52pm 
same here
< >
Showing 1-1 of 1 comments
Per page: 1530 50