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

fanoI

General
2 Badges
Aug 26, 2012
1.870
106
  • Crusader Kings II
  • Europa Universalis IV
A mistery?

The good news is that I've resolved the CTD bug the problem is: I don't know how I've done it :p

The problem was in the history directory as changing its name the game loaded!

The Validator signaled a lot of errors in history the biggest were that some titles were not present and so I added them (strange title as d_denmark that are apparently referenced in history but IMHO are not really used anymore) but the game not loaded in any case, so I decided to use brute force I've reestablished the history directory and rename any of his subdirectories until the game loaded! OK re-adding titles the game didn't load again so the problem was there... I've 78 file there so I used a trick to find the offending one (or ones) I decided to delete the second half of the files and the game loaded so the problem was in the second half so after restoring them I deleted the last quart... and the game continued to load! I was happy as the offending file was 1 of 12 so readded the first six files and the game continued to load :)unsure:) so I add the last six; one after the other and... when added the f*king last file (k_venice) the game continued to load? How is this possible? In the end is as I had renamed the directory and then restored his original name :eek:hmy:

Really strange...

Well I have no idea how I solved the problem but the porting is not finished as the CM bookmark is totally a mess the brother of Karl has not Middle Francia (and he is vassal of Karl, too!) and a lot of areas have random generated characters, I hope to have the time to end this porting this time the last time WOL destroyed my work :blink:

The flag of k_lombardy is wrong, too...
 

fanoI

General
2 Badges
Aug 26, 2012
1.870
106
  • Crusader Kings II
  • Europa Universalis IV
The problem has started to reappear again!
I was editing the k_france.txt file as, apparently, Paradox has found funny to exchange the ID of Charlemagne and his unlucky brother and bam! CTD in creating flags...

Again recreating the folder and readding all the files in it without changing them all is working again, but rechanging the k_france.txt file the game crashes again! Is it possible that the problem is there?

This is the vanilla file:

Code:
100.1.1={
	pentarch = b_roma
}
#Merovingians
481.1.1 = {
	holder=168673 #Clovis Ier
	name = WEST_FRANCIA
	adjective = WEST_FRANCIA_ADJ
}
511.11.27 = {
	holder=168681 #Clotaire Ier
}
561.11.29 = {
	holder=168689 #Chilpéric Ier
}
584.11.1 = {
	holder=168695 #Clotaire II
}
629.10.19 = {
	holder=168696 #Dagobert Ier
}
639.1.19 = {
	holder=168699 #Clovis II, le Fainéant
}
657.10.31 = {
	holder=168701 #Clotaire III
}
673.5.9 = {
	holder=168703 #Thierry III
}
673.12.1 = {
	holder=168699 #Childéric II
}
675.1.1 = {
	holder=168703 #Thierry III
}
691.4.12 = {
	holder=168709 #Clovis IV
}
695.1.1 = {
	holder=168711 #Childebert IV
}
711.4.14 = {
	holder=168712 #Dagobert III
}
715.12.31 = {
	holder=168706 #Chilpéric II
}
717.1.1 = {
	holder=168710 #Clotaire IV
}
719.1.1 = {
	holder=168706 #Chilpéric II
}
721.2.13 = {
	holder=168713 #Thierry IV
}
743.2.15 = {
	holder=168707 #Childéric III
}
#Carolingians
768.9.24={
	holder = 6392 #Charlemagne
	name = WEST_FRANCIA
	adjective = WEST_FRANCIA_ADJ
	law = agnatic_succession
}
769.1.1 = {
	set_global_flag = game_start_charlemagne
}
770.1.1 = {
	clr_global_flag = game_start_charlemagne
}
814.1.28={
	holder = 90095 #Louis Ier le Pieux
}
840.6.20={
#	liege = "e_france"
	holder = 90104 #Charles II le Chauve
	set_global_flag = charlemagne_hre
}
877.10.6={
	holder = 90123 #Louis II le Bègue
}
879.4.10={
	holder = 90154 #Louis III
}
882.8.5={ 
	holder = 90155 #Carloman II
}

#Robertian (=Capetians)
888.1.13={
	liege = 0
	holder = 6448 #Eudes
	reset_name = yes
	reset_adjective = yes
	set_global_flag = west_francia_renamed
}

#Carolingian
893.1.28= {
	holder = 90111 #Charles III le Simple
	name = WEST_FRANCIA
	adjective = WEST_FRANCIA_ADJ
	clr_global_flag = west_francia_renamed
}

#Robertian (=Capetians)
922.6.29={
	holder = 6442 #Robert Ier
	law = agnatic_succession
	law = succ_primogeniture
	law = investiture_law_1
	reset_name = yes
	reset_adjective = yes
	set_global_flag = west_francia_renamed
}

#Bosonids
923.6.15={
	holder = 7995 #Raoul (Rudolph)
}

#Carolingian
936.1.15={
	holder = 90120 #Louis IV d'Outre-mer
	name = WEST_FRANCIA
	adjective = WEST_FRANCIA_ADJ
	clr_global_flag = west_francia_renamed
}
954.11.12={
	holder = 90125 #Lothaire
}
986.6.8={
	holder = 90126 #Louis V le Fainéant
}


#Direct Capetians
987.7.3={
	holder = 200 #Hugues Capet
	reset_name = yes
	reset_adjective = yes
	set_global_flag = west_francia_renamed
}
996.10.24={
	holder = 206 #Robert II le Pieux
}
1031.7.20={
	holder = 208 #Henri Ier
}
1060.8.4={
	holder=214 #Philippe I
}
1108.7.29={
	holder = 205502 #Louis VI le Gros
}
1137.8.1={
	holder = 205500 #Louis VII le Jeune
}
1180.9.18={
	holder=205506 # Philippe II Auguste
}
1223.7.14={
	holder = 455402 #Louis VIII le Lion
}
1226.11.8={
	holder = 455404 #Louis IX (saint Louis)
}
1270.8.25={
	holder = 455528 # Philippe III le Hardi
}
1285.10.5={
	holder = 455526 # Philippe IV le Bel
}
1314.11.29={
	holder = 455836 # Louis V le Hutin
}
1316.6.5={
	holder= 70137 # Jean Ier le Posthume
}
1316.11.19={
	holder= 455509 # Philippe V le Long, son of 455526.
}
1322.1.3={
	holder = 455414 # Charles IV le Bel
}

#House of Valois

1328.2.1={
	holder=455500 # Philippe VI
}

This is my modded file:
Code:
100.1.1={
	pentarch = b_roma
}

#Merovingians
481.1.1 = {
	holder=168673 #Clovis Ier
	name = WEST_FRANCIA
	adjective = WEST_FRANCIA_ADJ
}
511.11.27 = {
	holder=168681 #Clotaire Ier
}
561.11.29 = {
	holder=168689 #Chilpéric Ier
}
584.11.1 = {
	holder=168695 #Clotaire II
}
629.10.19 = {
	holder=168696 #Dagobert Ier
}
639.1.19 = {
	holder=168699 #Clovis II, le Fainéant
}
657.10.31 = {
	holder=168701 #Clotaire III
}
673.5.9 = {
	holder=168703 #Thierry III
}
673.12.1 = {
	holder=168702 #Childéric II
}
675.1.1 = {
	holder=168703 #Thierry III
}
691.4.12 = {
	holder=168709 #Clovis IV
}
695.1.1 = {
	holder=168711 #Childebert IV
}
711.4.14 = {
	holder=168712 #Dagobert III
}
715.12.31 = {
	holder=168706 #Chilpéric II
}
717.1.1 = {
	holder=168710 #Clotaire IV
}
719.1.1 = {
	holder=168706 #Chilpéric II
}
721.2.13 = {
	holder=168713 #Thierry IV
}
743.2.15 = {
	holder=168707 #Childéric III
}

#Carolingians
751.11.1 = {
	holder = 131722 #Pépin le Bref
	name = WEST_FRANCIA
	adjective = WEST_FRANCIA_ADJ
	law = agnatic_succession
}
768.9.24={
	holder = 6392 #Charlemagne
}
769.1.1 = {
	set_global_flag = game_start_charlemagne
}
770.1.1 = {
	clr_global_flag = game_start_charlemagne
}
814.1.28={
	holder = 90095 #Louis Ier le Pieux
}
840.6.20={
#	liege = "e_france"
	holder = 90104 #Charles II le Chauve
	set_global_flag = charlemagne_hre
}
877.10.6={
	holder = 90123 #Louis II le Bègue
}
879.4.10={
	holder = 90154 #Louis III
}
882.8.5={ 
	holder = 90155 #Carloman II
}

#Robertian (=Capetians)
888.1.13={
	liege = 0
	holder = 6448 #Eudes
	reset_name = yes
	reset_adjective = yes
	set_global_flag = west_francia_renamed
        law = succ_feudal_elective
}

#Carolingian
893.1.28= {
	holder = 90111 #Charles III le Simple
        law = succ_primogeniture
	name = WEST_FRANCIA
	adjective = WEST_FRANCIA_ADJ
	clr_global_flag = west_francia_renamed
}

#Robertian (=Capetians)
922.6.29={
	holder = 6442 #Robert Ier
	law = investiture_law_1
	law = agnatic_succession
        law = succ_feudal_elective
	reset_name = yes
	reset_adjective = yes
	set_global_flag = west_francia_renamed
}

#Bosonids
923.6.15={
	holder = 7995 #Raoul (Rudolph)
}

#Carolingian
936.1.15={
	holder = 90120 #Louis IV d'Outre-mer
        law = succ_primogeniture
	name = WEST_FRANCIA
	adjective = WEST_FRANCIA_ADJ
	clr_global_flag = west_francia_renamed
}
954.11.12={
	holder = 90125 #Lothaire
}
978.1.1 = {
	set_global_flag = relique_char_fr
}
986.6.8={
	holder = 90126 #Louis V le Fainéant
        law = succ_feudal_elective
}


#Direct Capetians
987.7.3={
	holder = 200 #Hugues Capet
	reset_name = yes
	reset_adjective = yes
	set_global_flag = west_francia_renamed
        law = agnatic_succession
	law = succ_primogeniture
	
}
996.10.24={
	holder = 206 #Robert II le Pieux
}
1031.7.20={
	holder = 208 #Henri Ier
}
1060.8.4={
	holder=214 #Philippe I
}
1108.7.29={
	holder = 205502 #Louis VI le Gros
}
1137.8.1={
	holder = 205500 #Louis VII le Jeune
	law = centralization_1
}
1180.9.18={
	holder=205506 # Philippe II Auguste
	law = centralization_2        
}
1223.7.14={
	holder = 455402 #Louis VIII le Lion
}
1226.11.8={
	holder = 455404 #Louis IX (saint Louis)

}
1270.8.25={
	holder = 455528 # Philippe III le Hardi
}
1285.10.5={
	holder = 455526 # Philippe IV le Bel
	law = centralization_3
}
1314.11.29={
	holder = 455836 # Louis V le Hutin
}
1316.6.5={
	holder= 70137 # Jean Ier le Posthume
}
1316.11.19={
	holder= 455509 # Philippe V le Long, son of 455526.
}
1322.1.3={
	holder = 455414 # Charles IV le Bel
}

#House of Valois

1328.2.1={
	holder=455500 # Philippe VI
	law = centralization_2
}

What I'm doing wrong? The mine is more correct as Childéric as a wrong ID (of a dead character says the Validator :rofl:) and the father of Charlemagne (Pepin the brief) is not King of France!
Do you have any ideas?

I fear there is some strange bug in the game itself does not make sense that I create a directory put all the files inside it without changing them and the game re-work again :wacko:

Thanks for your help.
 

illathid

Elector Count of Reikland
75 Badges
Feb 22, 2012
2.001
591
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
  • Crusader Kings II
  • Victoria 2: A House Divided
  • Semper Fi
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • 500k Club
  • Europa Universalis IV
  • Crusader Kings II: Reapers Due
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: El Dorado
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis III Complete
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
We've been running into a persistent bug where if you add any characters to the files the game crashes on processing flags.

Here are some of the characters I've been trying to add:

Code:
4750020={
name="Piggolo"
culture=tobaran
religion=myrmidian
martial=10
diplomacy=10
stewardship=10
intrigue=10
learning=10
add_trait="creature_pig"
add_trait="grey_eminence"
add_trait="honest"
add_trait="gregarious"
add_trait="kind"
add_trait="just"
add_trait="diligent"

1871.9.12={birth=yes}
1889.7.2={death = {death_reason= death_accident} }
}

4750021={
name="Tito"
dynasty=41009
culture=tobaran
religion=myrmidian
martial=6
diplomacy=4
stewardship=3
intrigue=9
learning=1
add_trait="creature_human"
add_trait="hedonist"
add_trait="brilliant_strategist"


1851.4.30={birth=yes}
1921.12.2={death=yes}
}

4750022={
name="Lino"
dynasty=41009
father=4750021 
culture=tobaran
religion=myrmidian
martial=6
diplomacy=4
stewardship=3
intrigue=9
learning=1
add_trait="creature_human"
add_trait="hedonist"
add_trait="brilliant_strategist"


1883.7.21={birth=yes}
1950.10.5={death=yes}
}

4750023={
name="Viviano"
dynasty=41009
father=4750022 
culture=tobaran
religion=myrmidian
martial=6
diplomacy=4
stewardship=3
intrigue=9
learning=1
add_trait="creature_human"
add_trait="hedonist"
add_trait="brilliant_strategist"


1940.2.12={birth=yes}
1995.4.5={death=yes}
}

The validator says there are no errors in the file with these characters included. Any idea as to what causing this?