• We will be taking the forums down for scheduled maintenance on Tuesday, May 22nd 2023 at around 8:00 CDT / 13:00 UTC for up to an hour hour.
  • 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.

Kevyinus

Sensei
113 Badges
Jul 27, 2002
1.827
51
  • War of the Roses
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Supreme Ruler 2020
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Europa Universalis III Complete
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Hearts of Iron II: Beta
  • Magicka: Wizard Wars Founder Wizard
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Stellaris: Nemesis
  • Diplomacy
  • Hearts of Iron II: Armageddon
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Hearts of Iron Anthology
  • East India Company
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III
Does anyone know why when i add this event to a event file (the MDS_u17.txt file to be exact) why the game CTD's on load up, but if I remove this event and resave that file it will load up properly!

heres the event:

Code:
[color=silver]
#Moscow Coup August 19th 1991
#by Kevyn "Kevyinus" Taylor

event = {
	id = 90824
	trigger = {}
	random = no
	country = U17
	name = "The Coup that wasnt to be"
	desc = "On 19 August 1991 a coup was launched by a reactionary alliance of leaders of the Communist Party, the military industrial complex, the KGB, and the armed forces. It was declared in the early hours of the morning that President Gorbachev was ill and that Vice President Gennady Yanayev would take over as president, as part of an eight person emergency committee, which also included Pavlov, the defence minister Dmitri Yazov, KGB chief Vladimir Kryuchkov, and interior minister Boris Pugo. The committee assumed control over radio and television, banned demonstrations and all but eight newspapers, imposed a curfew, and sent tanks into Moscow. On Wednesday morning, having failed to win either international or unionwide acknowledgement of the change of regime, and having endured large demonstrations in Moscow, St Petersburg, Chisinau, and Lviv on Tuesday, the coup disintegrated."
	style = 1
	date = { day = 19 month = august year = 1991 }

	action_a ={
		name = "Dont Support the Coup, it will fail"
		command = { type = stability value = -1 }
                command = { type = relation   which = usa value = 20 }
                command = { type = relation   which = gra value = 20 }
                command = { type = relation   which = fra value = 20 }
                command = { type = relation   which = geo value = 20 }
                command = { type = relation   which = lat value = 20 }
                command = { type = revolt   which = 275 }
                command = { type = revolt   which = 270 }
                command = { type = revolt   which = 297 }
                command = { type = revolt   which = 298 }
	}
	action_b ={
		name = "Coup? What Coup? ;)"
                command = { type = revolt   which = 275 }
                command = { type = revolt   which = 270 }
                command = { type = revolt   which = 297 }
                command = { type = revolt   which = 298 }
		command = { type = revolt   which = -1 }
                command = { type = revolt   which = -1 }
		command = { type = revolt   which = -1 }
                command = { type = revolt   which = -1 }
		command = { type = revolt   which = -2 }
                command = { type = revolt   which = -2 }
                command = { type = sleepevent   which = 90800 }
		command = { type = casusbelli   which = LAT value = 36 }
                command = { type = casusbelli   which = GEO value = 36 } 
		command = { type = stability value = -5 }
		command = { type = sleepmonarch which = 99000 }
		command = { type = wakemonarch which = 99002 }

	}
}
[/color]

its annoying. Also before it started to CTD the event used to give an lhs error in line 1 billion+ in file oscow...which their isnt a line 1 billion+ or a oscow file, so lol any ideas?

Edit: ive tried adding a deathdate it still doesnt work.