I'm getting a weird, severe lag in fights where at least one enemy commander is present. It makes the game completely unplayable, and gets even worse when there are more commanders present on the battlefield, making force-closing the game the only option. And if the commander gets knocked out, game immediately returns to full fluidity. Game, and graphic options have absolutely no impact on this, beside this one thing everything works perfectly.
I've checked the logs and what is causing it are irrecognizable lines in the script mst_lead_charge in mission_templates file. The values causing problems are 2073 2076(3rd value) 1073744547 2707 (2nd value) and 2723. If even one of them remains unchanged, the lag persists. I've tried changing their values, if i set any to 0 the game doesn't load at all, if i change it to some random number it usually crashes at the start of combat. But when i changed everything to 1, it works great at first, but crashes after about a minute from the start of the combat, also i've gotten some weird bugs like the game asking me 50 times at once if i want to disembark from combat, or at trying to help allied army teleporting me to the cove with necromancer (galadriel's quest) who i killed previously already...
I have no idea what those values mean, the game files haven't been changed, my version of TLD is the latest, 3.3.7 with warband patch, and latest nightly update. The version of the game itself is 1.158. I will be thankfull for any ideas of resolving it.