Mount & Blade II: Bannerlord

Mount & Blade II: Bannerlord

Calradia At War
Crazy mans
Hey, i have an error with trying to update some of crazy mans. 3 of them doesnt have required pd to update them in the options i guess? It says i need 0 pd to update them, when i try to do that there is an error. Im speaking about "experienced madman", "mad man" and third from the bottom of the list - encyclopedia says i need 0 pd to update them and as i said when im trying to do that there is an error which is closing the game. Maybe its because im using translation for the mod? When i press the reasons button in the error it says " Source: mscorlib
Exception has been thrown by the targe"
< >
Showing 1-4 of 4 comments
Cegee Apr 27, 2023 @ 7:01pm 
Similar Problem, 3 tiers have incorrect leveling, you can level them manually one at a time, for 0 gold and xp, however doing so in cheat mode, after already upgrading in the same menu, or attempting to level multiple at the same time causes a hard crash. this applies only to 3 of the tiers. They additionally will not notify you of their ability to upgrade, and must be upgraded by clicking on their slot in menu, not through mass upgrade menu.
The crash is still there.
https://ufile.io/np7t4pag
Here is the report.
Last edited by Papa OurSSSSSSSSSSSSSSSSSSSS; Jan 7, 2024 @ 3:48pm
So I did a bit of research and I believe a few things :
- I think Cegee is right about the 0 xp causing the crash : the crash log mention a divide by 0 error. I think that somewhere in TW's code there is a line along the line of "ammountOfTroopsToUpgrade = troopXp/xpToLevelUp". Since xpToLevelUp is 0, it's crashing the game
- The 0 xp bug is due to the fact that the tier of the troop is the same as the upgraded troop. Crazed man is tier 0, decend crazed man is also 0 : it cost 0 xp to upgrade. I think this bug is caused by the extra long troop tree and the fact that the game don't have more than 7 tiers (?)
- I made a quick and dirty fix to the crash : https://ufile.io/idpfe732
Replace "customTroops.xml" in \Steam\steamapps\workshop\content\261550\2878689343\ModuleData

What the fix do is skip some troops in the upgrade tree.

Old tree : Crazed man --> Decent crazed man --> Competent crazed man --> Trained crazed man --> Drilled crazed man --> Madman --> Competent Madman --> Trained Madman --> Drilled Madman --> Fearless man --> Indominatable man

Fixed tree : Crazed man --> Competent crazed man --> Drilled crazed man --> Madman --> Trained Madman --> Drilled Madman --> Indominatable man

You should still be able to find the removed troops in madmen stacks and they will upgrade as usual. For instance, if you find a fearless man, he will upgrade to Indominatable man.

I hope that the dev of this mod will see this and fix it for everyone.
Last edited by Papa OurSSSSSSSSSSSSSSSSSSSS; Jan 7, 2024 @ 4:58pm
Originally posted by Papa OurSSSSSSSSSSSSSSSSSSSS:
So I did a bit of research and I believe a few things :
- I think Cegee is right about the 0 xp causing the crash : the crash log mention a divide by 0 error. I think that somewhere in TW's code there is a line along the line of "ammountOfTroopsToUpgrade = troopXp/xpToLevelUp". Since xpToLevelUp is 0, it's crashing the game
- The 0 xp bug is due to the fact that the tier of the troop is the same as the upgraded troop. Crazed man is tier 0, decend crazed man is also 0 : it cost 0 xp to upgrade. I think this bug is caused by the extra long troop tree and the fact that the game don't have more than 7 tiers (?)
- I made a quick and dirty fix to the crash : https://ufile.io/idpfe732
Replace "customTroops.xml" in \Steam\steamapps\workshop\content\261550\2878689343\ModuleData

What the fix do is skip some troops in the upgrade tree.

Old tree : Crazed man --> Decent crazed man --> Competent crazed man --> Trained crazed man --> Drilled crazed man --> Madman --> Competent Madman --> Trained Madman --> Drilled Madman --> Fearless man --> Indominatable man

Fixed tree : Crazed man --> Competent crazed man --> Drilled crazed man --> Madman --> Trained Madman --> Drilled Madman --> Indominatable man

You should still be able to find the removed troops in madmen stacks and they will upgrade as usual. For instance, if you find a fearless man, he will upgrade to Indominatable man.

I hope that the dev of this mod will see this and fix it for everyone.
Your file is locked off please help
< >
Showing 1-4 of 4 comments
Per page: 1530 50