EMFTeam / EMF

Extended Mechanics & Flavor
34 stars 18 forks source link

emf_create_outremer may be bugged. #634

Closed zijistark closed 5 years ago

zijistark commented 5 years ago

User said:

I have the decision "form empire of outremer" active. I am an emperor of Jerusalem which I have formed. I have kings assigned 12 viceroys in the area. I control all the counties in Kingdom of Jerusalem myself. 12 other kingdoms via 12 King vassals.

The problem; If I click the decision to form the Outremer, my Kings under my command become independent rulers. > Because, the Empire of Jerusalem is forfeit. And I am also reduced to Viceroy of Jerusalem. Losing all of my vassals...

Outremer becomes a de jure Empire, just no grabbers.

Then, upon asking for more information to help troubleshooting:

I uploaded the save file, uncompressed. I hope that's what you needed. Thanks for looking into it. Decision is active, you can try for yourself.

Save Game on ParadoxPlaza

He seemed confused about where to find the corresponding version.txt, so I don't know if this actually corresponds to the save properly, but it's the best we've got:

[HIP Release 2019-02-14 (Furry1)]
EMF: Extended Mechanics & Flavor (v9.0 - 2019-02-14)
Arumba and Internal Tab Shortcuts (2019-01-15)
SWMH (v3.2 - 2019-02-13)
ARKO Armoiries (2019-02-13)
LTM (C - 2012-02-03)
CPRplus (v3.0.1 - 2019-02-06)
zijistark commented 5 years ago

I was able to reproduce the issue as described on the user's save (though first I had to make the decision available -- must not have been quite the right save, but that's all right). Here was the tooltip shown for the decision before I enacted it:

image

Afterward, indeed his previous empire was destroyed and he lost his vassal kings. Obviously, that means he didn't receive e_outremer either.

zijistark commented 5 years ago

Logs from taking decision:

EVENT [1335.9.4]:WARNING: emf_make_primary_title: could not proceed for Jerusalem / e_dyn_13327197, held by  (#e_outremer)
EVENT [1335.9.4]:-> title has no holder
EVENT [1335.9.4]:DEBUG: emf_destroy_title: Jerusalem / e_dyn_13327197, held by Emperor Arsenios Ardengheschi of the Empire of Jerusalem (#10869158/e_dyn_13327197)

Strange.