• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

VilcCasty

Recruit
Jun 28, 2020
1
0
Hi everyone,

Does anyone know the status of the bug for the imperial incident King in prussia ?

I still have this part on the file : SteamLibrary\steamapps\common\Europa Universalis IV\common\imperial_incidents\00_imperial_incidents.txt

Code:
incident_king_in_prussia = {
    event = king_in_prussia.2
    default_option = 1
    
    can_stop = {
        OR = {
            NOT = {
                exists = PRU
            }
            PRU = {
                is_subject = yes
            }
            PRU = {
                government_rank = 2
            }
        }
    }
    
    0 = { # grant
        factor = 1
        modifier = {
            factor = 100
            OR = {
                ai_attitude = {
                    who = PRU
                    attitude = attitude_friendly
                }
                ai_attitude = {
                    who = PRU
                    attitude = attitude_loyal
                }
                ai_attitude = {
                    who = PRU
                    attitude = attitude_allied
                }
            }
        }
    }
    
    1 = { # compromise
        factor = 1
        modifier = {
            factor = 100
            ai_attitude = {
                who = PRU
                attitude = attitude_neutral
            }
        }
    }
    
    1 = { # deny
        factor = 1
        modifier = {
            factor = 100
            OR = {
                ai_attitude = {
                    who = PRU
                    attitude = attitude_rivalry
                }
                ai_attitude = {
                    who = PRU
                    attitude = attitude_hostile
                }
                ai_attitude = {
                    who = PRU
                    attitude = attitude_threatened
                }
                ai_attitude = {
                    who = PRU
                    attitude = attitude_outraged
                }
                ai_attitude = {
                    who = PRU
                    attitude = attitude_disloyal
                }
                ai_attitude = {
                    who = PRU
                    attitude = attitude_rebellious
                }
            }
        }
    }
}

There is still two times the same id of resolution, so the game crash each time.
I tried to modify it to put 2 as deny.
 

grotaclas

Field Marshal
54 Badges
Aug 7, 2019
5.056
4.616
  • Victoria 3 Sign Up
  • Battle for Bosporus
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Europa Universalis 4: Emperor
  • Cities: Skylines
Are you playing the game in French? Then the game crashes when the incident ends, but that has nothing to do with the code that you posted. It is because of a bug in the localization. You can work around it by passing the end date of the incident while running the game in english, or you can use a mod that fixes the translation. An author of a mod which improves the french localization said that they fixed the bug in their mod. But I don't know which mod it is.