Rulers in 1.4.1 and e1.4.2 take a very high number of fiefs. The easiest way to reproduce is to simply let a game play out and watch the number of ruler-held fiefs increase continuously.
One user ran through the applicable code and identified the almost-certain cause:
Another user tested it by using a minor fix mod:
In summary, the fief should not be counted in the formula until after the election or else rulers will be given excessive power to get onto the voting ballot, then vote for themselves.
One user ran through the applicable code and identified the almost-certain cause:
...
Rulers have an advantage because of several factors. They are clan tier 6, which directly boosts their scores, but also allows them to keep larger parties which boosts their clan strength bonus. They also get the flat 100 point Ruler Bonus. They often lead the armies that besiege and capture fiefs. Finally, because the fief up for grabs is given to the ruler's clan initially, it is used as 1 of the 2 closest fiefs in the Distance Factor; and because the distance is 0, the average distance just becomes half their next closest fief's distance.
Another user tested it by using a minor fix mod:
I just made a small mod that fixes this, by changing default owner to capturer
And it really works! Other lords began to vote for me.C#:private void OnSettlementOwnerChanged(Settlement settlement, bool openToClaim, Hero newOwner, Hero oldOwner, Hero capturerHero, ChangeOwnerOfSettlementAction.ChangeOwnerOfSettlementDetail detail) { if (settlement.IsFortification && newOwner != capturerHero && detail == ChangeOwnerOfSettlementAction.ChangeOwnerOfSettlementDetail.BySiege) { ChangeOwnerOfSettlementAction.ApplyBySiege(capturerHero, capturerHero, settlement); } }
In summary, the fief should not be counted in the formula until after the election or else rulers will be given excessive power to get onto the voting ballot, then vote for themselves.