• Please note that we've updated the Mount & Blade II: Bannerlord save file system which requires you to take certain steps in order for your save files to be compatible with e1.7.1 and any later updates. You can find the instructions here.

BL Coding Weird situation - encountering an enemy party with no troops

Users who are viewing this thread

So someone reported a bug on Surrender Tweaks where after winning a battle a menu comes up with the options "Capture the enemy", "Try to get away" and "Surrender". This is the first time it has ever been reported and I suspect it could be due to a particular combination of mods. The user did not provide a save file and I was unable to replicate the bug on my end.

After digging a little through the game code, I found that those menu options can only appear if the player is on the defending side. Later on, @MRay advised that this could occur if all the members of the enemy parties were wounded. Surrender Tweaks does not cause any casualties in enemy parties, but there is a part which calls DestroyPartyAction.Apply(), and I suspected it could be the cause.

I was able to replicate the bug:

unknown.png


However, in the same method, I also call PlayerEncounter.LeaveEncounter = true, which makes the player leave the encounter; therefore they will never see those menu options.

Can I confirm that this is the case?
 

MArdA TaleWorlds

Community Support & Localization
Community Support
M&BWBWF&SNWVC
Forwarded to the QA team for further investigation. We will reach out again if we need more information. Thanks for reporting and sorry for any inconvenience!
 
Upvote 0
This bug was not encountered by me and I don't have a save file. All that I know is that the bug happens after a large battle, so my guess is it only happens in certain rare situations.
 
Upvote 0
Top Bottom