• 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.

Prometheus421

Second Lieutenant
10 Badges
Apr 19, 2014
158
38
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Victoria 2
Okay, so I attempted to add events of my own contrivance to the Grand Campaign mod but whenever I load the game it crashes. Here are the events just in case someone wants to investigate. (The FRA_defeat flag was added on to the end of the ahistorical Versailles Peace Event and it previously worked)

event = {
id = 8888889
random = no
country = FRA
style = 2

trigger = {
flag = FRA_defeat
}

date = { day = 1 month = january year = 1914 }
offset = 30
deathdate = { day = 1 month = january year = 1920 }

name = "Post-War Turmoil"
desc = "With our coffers depleted, our people starving, and our country enmeshed in utter ruin, it seems painfully evident to many that the losses incurred in the Great War can never be fully regained."
picture = "Riots"

action_a ={
ai_chance = 75
name = "We are the Third Republic, dammit, and will continue to be so!"
command = { type = setflag which = FRA_demstrug }
command = { type = dissent value = 10 }
}

action_b = {
ai_chance = 25
name = "Military administration is appropriate...at least for a little while."
command = { type = setflag which = FRA_junta }
command = { type = dissent value = 15 }
}
}

event = {
id = 8888890
random = no
country = FRA
style = 2

trigger = {
flag = FRA_demstrug
}

date = { day = 1 month = january year = 1914 }
offset = 30
deathdate = { day = 1 month = january year = 1920 }

name = "Preserving a Decaying Republic"
desc = "Riots are breaking out."
picture = "Riots"

action_a ={
ai_chance = 75
name = "The government collapses due to no confidence!"
command = { type = dissent value = 10 }
command = { type = event which = 88888891 }
}

action_b = {
ai_chance = 25
name = "A government of National Unity is formed!"
command = { type = dissent value = -5 }
}
}

event = {
id = 8888891
random = no
country = FRA
style = 2

date = { day = 1 month = january year = 1914 }
offset = 30
deathdate = { day = 1 month = january year = 1920 }

name = "Elections for Post-War France"
desc = "Shortly after the dissolution of the government, new elections were held in France for the first time since the outbreak of the Great War."
picture = "Riots"

action_a ={
ai_chance = 55
name = "Party of Order Coalition"
command = { type = dissent value = 10 }
command = { type = setflag which = FRA_order }
command = { type = headofstate = 5304 }
command = { type = headofgovernment which = 5285 }
command = { type = armamentminister which = 5317 }
command = { type = ministerofsecurity which = 55703 }
command = { type = ministerofintelligence which = 55693 }
command = { type = chiefofair which = 5227 }
command = { type = foreignminister which = 5275 }
command = { type = domestic which = democratic value = 4 }
command = { type = domestic which = political_left value = -3 }
}

action_b = {
ai_chance = 30
name = "Communard Bloc"
command = { type = dissent value = 15 }
command = { type = setflag which = FRA_Commune }
command = { type = headofstate = 5303 } #Louis Frossard
command = { type = headofgovernment which = 5290 } #Marcel Cachin
command = { type = armamentminister which = 5324 } #Marcel Cachin
command = { type = ministerofsecurity which = 5335 } #Alfred Rosmer
command = { type = ministerofintelligence which = 5354 } #Charles Joseph Dupont
command = { type = chiefofstaff which = 5251 } #Maurice Sarrail
command = { type = foreignminister which = 5265 } #Jean Cruppi
command = { type = domestic which = democratic value = 4 }
command = { type = domestic which = political_left value = 6 }
}

action_c = {
ai_chance = 15
name = "Radical-SFIO Coalition"
command = { type = dissent value = 20 }
command = { type = setflag which = FRA_Rasoc }
command = { type = headofstate = 5302 } #Jules Pams
command = { type = headofgovernment which = 5287 } #Georges Clemenceau
command = { type = armamentminister which = 5319 } #Charles Dumont
command = { type = ministerofsecurity which = 5336 } #Aristice Briand
command = { type = ministerofintelligence which = 5354 } #Charles Joseph Dupont
command = { type = chiefofstaff which = 5250 }
command = { type = chiefofarmy which = 5234 }
command = { type = chiefofnavy which = 5242 }
command = { type = chiefofair which = 5227 }
command = { type = foreignminister which = 5275 }
command = { type = domestic which = democratic value = 7 }
command = { type = domestic which = political_left value = 5 }
}
}

event = {
id = 8888892
random = no
country = FRA
style = 2

trigger = {
flag = FRA_order
}

date = { day = 1 month = january year = 1914 }
offset = 30
deathdate = { day = 1 month = january year = 1920 }

name = "The Authoritarian Republic"
desc = "Hoping to avert the ascension of radical leftists to political power, conservative parties formed a coalition with almost all major parties situated on the Right."
picture = "Riots"

action_a ={
ai_chance = 80
name = "Press freedom must be curtailed to preserve the state!"
command = { type = dissent value = 15 }
}

action_b = {
ai_chance = 20
name = "If we are to remain a republic, censorship must be avoided at all costs!"
command = { type = dissent value = -5 }
}
}
 

NikephorosSonar

For Steiner!
23 Badges
Nov 19, 2009
1.653
26
  • Hearts of Iron II: Armageddon
  • Semper Fi
  • Rome Gold
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Darkest Hour
  • Arsenal of Democracy
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Tyranny: Archon Edition
  • BATTLETECH
Do you have your save debug?
 

JackTheRed

Recruit
37 Badges
Jun 19, 2013
7
0
  • Darkest Hour
  • Crusader Kings II
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Holy Fury
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • Sengoku
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Conquest of Paradise
I got a similar problem. Any help would be appreciated.

Upon loading it says. missing eventdatabase:{ and then crashes.

Then in the savedebug it says:

ERROR : (Illegal top level object) 'id = 89103' Line = 5 file = Mods/.....
 

MartinBG

Darkest Hour Developer
2 Badges
Nov 16, 2007
5.634
257
  • Hearts of Iron II: Beta
  • Hearts of Iron IV Sign-up
All the info you need is already given in the savedebug.txt file. :)
Check files that are reported there with errors for something missing or extra. The error report gives the type of the error and even the approximate line at which the error was found, but usually you have to check few lines before that one too to find the problem.

If you cannot find it by yourself, post here affected files and the savedebug.txt file.