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

Colossal_Elk

Unspecified Cervid
24 Badges
Dec 10, 2013
1.320
1.545
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • 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
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
Recently, I've been working on porting over various CBs, clearing out vanilla-specific religion, culture and title references. Unfortunately, I've run into a problem that causes random but fairly reliable CTDs, and I cannot figure out a way to correct the issue. There's two closely-related reasons for this. The first reason is that I cannot find any references to these errors anywhere. The second is that I do not know what files the 00_cb_types file is connected to, which files it depends on, and which files are dependent on it.

Here's a sample of the error logs, originally posted in the Quick Questions thread:

Code:
[messagehandler.cpp:423]: Failed to find message type: ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT
[messagehandler.cpp:423]: Failed to find message type: ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT
[messagehandler.cpp:423]: Failed to find message type: ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT
[messagehandler.cpp:423]: Failed to find message type: ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT
[effectimplementation.cpp:18321]: Assert failed for 'break_alliance': false && "Characters not allied in CBreakAllianceEffect"
[event.cpp:526]: Previous assert occured in Event 'ZE.8013'.
[messagehandler.cpp:423]: Failed to find message type: ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT
[effectimplementation.cpp:18321]: Assert failed for 'break_alliance': false && "Characters not allied in CBreakAllianceEffect"
[event.cpp:526]: Previous assert occured in Event 'ZE.8013'.
[effectimplementation.cpp:18321]: Assert failed for 'break_alliance': false && "Characters not allied in CBreakAllianceEffect"
[event.cpp:526]: Previous assert occured in Event 'ZE.8013'.
[effectimplementation.cpp:18321]: Assert failed for 'break_alliance': false && "Characters not allied in CBreakAllianceEffect"
[event.cpp:526]: Previous assert occured in Event 'ZE.8013'.
[messagehandler.cpp:423]: Failed to find message type: ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT
[messagehandler.cpp:423]: Failed to find message type: ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT

The first of these messages, [messagehandler.cpp:423]: Failed to find message type: ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT, is the one that I'm really having the problems with. I've narrowed the problem down as being connected to the 00_cb_types file--deleting this file stops the error message from appearing in the error logs, and also prevents the game from crashing. With the file, the game will rarely last more than 100 years or so.

In order to correct this problem, I think there's two things I need to know:

1. What, specifically, does the error message in question refer to? Has anyone seen this before, and if so, what did you do to fix it?

2. What files in vanilla are 00_cb_types connected to?


My thanks to anyone who could help me correct this problem or provide me with some information so that I can correct it.
 
Last edited:

Rylock

Field Marshal
64 Badges
Mar 10, 2008
11.618
2.427
  • Crusader Kings II: Charlemagne
  • Stellaris - Path to Destruction bundle
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • 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
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Shadowrun: Hong Kong
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Reapers Due
  • PDXCon 2017 Awards Winner
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Pride of Nations
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Did you change the 00_cb_types file at all?

We can hardly assist you without knowing what you did. If I had to guess, I'd say you probably removed a cb which is supposed to be there.
 

Colossal_Elk

Unspecified Cervid
24 Badges
Dec 10, 2013
1.320
1.545
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • 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
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
Did you change the 00_cb_types file at all?

We can hardly assist you without knowing what you did. If I had to guess, I'd say you probably removed a cb which is supposed to be there.

I did, yes. Should I post part or the entirety of the 00_cb_types file?

To your second point, that's why I wanted to know what the vanilla dependencies are. That way I don't merely know what not to do, I know why not to do it. :p
 

Rylock

Field Marshal
64 Badges
Mar 10, 2008
11.618
2.427
  • Crusader Kings II: Charlemagne
  • Stellaris - Path to Destruction bundle
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • 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
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Shadowrun: Hong Kong
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Reapers Due
  • PDXCon 2017 Awards Winner
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Pride of Nations
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT is one of the on_action types for the diplo actions -- so if there's a conflict with the cb_types file, then it's probably the game code looking for a standard cb that it expects to find in that file but currently doesn't. There's no direct correlation that I'm aware of, however.

The way to find the exact cause would be to make one change at a time to the vanilla cb_types file until you narrow down which one of your changes is causing the issue. Obviously it's something you did, and since you already narrowed it down to the file responsible it's easy enough to continue.
 

Colossal_Elk

Unspecified Cervid
24 Badges
Dec 10, 2013
1.320
1.545
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • 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
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT is one of the on_action types for the diplo actions -- so if there's a conflict with the cb_types file, then it's probably the game code looking for a standard cb that it expects to find in that file but currently doesn't. There's no direct correlation that I'm aware of, however.

The way to find the exact cause would be to make one change at a time to the vanilla cb_types file until you narrow down which one of your changes is causing the issue. Obviously it's something you did, and since you already narrowed it down to the file responsible it's easy enough to continue.

For what it's worth, plugging the vanilla 00_cb_types file in will also cause the error message to show up, and can cause crashes. I'm not sure if the crashes are because of the vanilla-specific (religion, culture, title) entries, but taking them out of the file doesn't seem to help me much.

That's why I'm not sure if it's actually the file itself or one of the files that 00_cb_types is connected to. Deleting it and thus removing CBs removes the issue, but using the vanilla file or attempting to clean up the CB file itself doesn't appear to do much to prevent the crashes.
 

Rylock

Field Marshal
64 Badges
Mar 10, 2008
11.618
2.427
  • Crusader Kings II: Charlemagne
  • Stellaris - Path to Destruction bundle
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • 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
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Shadowrun: Hong Kong
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Reapers Due
  • PDXCon 2017 Awards Winner
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Pride of Nations
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
For what it's worth, plugging the vanilla 00_cb_types file in will also cause the error message to show up, and can cause crashes. I'm not sure if the crashes are because of the vanilla-specific (religion, culture, title) entries, but taking them out of the file doesn't seem to help me much.

That's why I'm not sure if it's actually the file itself or one of the files that 00_cb_types is connected to. Deleting it and thus removing CBs removes the issue, but using the vanilla file or attempting to clean up the CB file itself doesn't appear to do much to prevent the crashes.

I'm not sure I understand. If you delete your cb_types file, it should be using the vanilla file. Or are you modding the vanilla files directly?

If so, don't do that.

I would suggest starting by using the Validator, as it sounds like you haven't actually narrowed down what the cause of the issue is. Personally, I've been modding CK2 for quite some time, and I've never seen an error involving ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT -- especially considering it's not actually called anywhere in the files, it's something that's invoked via the defines.lua file. So whatever your issue is, it very likely goes a lot deeper than you think, and the ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT issue is only an indirect symptom.
 

Colossal_Elk

Unspecified Cervid
24 Badges
Dec 10, 2013
1.320
1.545
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • 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
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
I'm not sure I understand. If you delete your cb_types file, it should be using the vanilla file. Or are you modding the vanilla files directly?

If so, don't do that.

I would suggest starting by using the Validator, as it sounds like you haven't actually narrowed down what the cause of the issue is. Personally, I've been modding CK2 for quite some time, and I've never seen an error involving ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT -- especially considering it's not actually called anywhere in the files, it's something that's invoked via the defines.lua file. So whatever your issue is, it very likely goes a lot deeper than you think, and the ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT issue is only an indirect symptom.

I have the .mod file set to replace_path for the CBs folder, and the file I'm using is 00_cb_types within the mod folders, as opposed to changing anything in vanilla directly (I know better than to do that. :p ). It's when I have no CBs whatsoever that the game runs fine.

I get the error messages and a CTD whether I'm using the vanilla version of the CBs file or I'm using our mod's version of it.
 

Rylock

Field Marshal
64 Badges
Mar 10, 2008
11.618
2.427
  • Crusader Kings II: Charlemagne
  • Stellaris - Path to Destruction bundle
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • 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
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Shadowrun: Hong Kong
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Reapers Due
  • PDXCon 2017 Awards Winner
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Pride of Nations
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
I get the error messages and a CTD whether I'm using the vanilla version of the CBs file or I'm using our mod's version of it.

Then, like I said, your issue isn't the cb_types file, is it?

Start with the Validator. Track down your problem. I know you were probably hoping that your ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT log event would be some kind of smoking gun, but it's really not.
 

Colossal_Elk

Unspecified Cervid
24 Badges
Dec 10, 2013
1.320
1.545
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • 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
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
Then, like I said, your issue isn't the cb_types file, is it?

Start with the Validator. Track down your problem. I know you were probably hoping that your ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT log event would be some kind of smoking gun, but it's really not.

That's why I'm trying to figure out what the dependencies are. I understand that the CB file is connected to other things but what those other things are, I do not know.

In the Validator, the only error messages I can find (other than localization keys, but localization doesn't use a replace_path so I don't know why that would be a problem) are all messages that appear when I validate the vanilla 00_cb_types file as well.
 

Rylock

Field Marshal
64 Badges
Mar 10, 2008
11.618
2.427
  • Crusader Kings II: Charlemagne
  • Stellaris - Path to Destruction bundle
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • 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
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Shadowrun: Hong Kong
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Reapers Due
  • PDXCon 2017 Awards Winner
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Pride of Nations
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
That's why I'm trying to figure out what the dependencies are. I understand that the CB file is connected to other things but what those other things are, I do not know.

I don't know what you imagine a "dependency" is, but there are none that I know of.

In the Validator, the only error messages I can find (other than localization keys, but localization doesn't use a replace_path so I don't know why that would be a problem) are all messages that appear when I validate the vanilla 00_cb_types file as well.

Then you only have one alternative. Take things out of your mod, one small section at a time. After each removal, fire up the mod and check the log. The moment the warning disappears, you know your issue is in the part you just removed (and I would also check if the replace_path is your issue -- meaning take out the replace_path for the cb_types folder, putting in a blank file with the vanilla file if you truly have to, and see if that changes anything).

That kind of methodical approach will track down your bug, guaranteed. Failing that, you are SOL.
 

Colossal_Elk

Unspecified Cervid
24 Badges
Dec 10, 2013
1.320
1.545
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • 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
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
I don't know what you imagine a "dependency" is, but there are none that I know of.



Then you only have one alternative. Take things out of your mod, one small section at a time. After each removal, fire up the mod and check the log. The moment the warning disappears, you know your issue is in the part you just removed (and I would also check if the replace_path is your issue -- meaning take out the replace_path for the cb_types folder, putting in a blank file with the vanilla file if you truly have to, and see if that changes anything).

That kind of methodical approach will track down your bug, guaranteed. Failing that, you are SOL.

I refer to the files that depend on 00_cb_types in some way, or that 00_cb_types depends on. Any sorts of file that the CB file is directly connected to, one way or the other. Since not having a CB file means no crash, then it'd almost certainly have to be something connected to the CB file if it isn't the CB file itself, wouldn't it?
 

Divine

Tech Lead
Paradox Staff
33 Badges
Dec 26, 2005
582
1.011
  • Semper Fi
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • For the Motherland
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Magicka: Wizard Wars Founder Wizard
  • Magicka 2 - Signup Campaign
  • Stellaris Sign-up
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Diplomacy
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • 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
Do you get anything in your exception log on your crashes? What I'm thinking is that one thing that CB's enable are conquests and that enables some large chunks of code being run to handle title transfers where things can go wrong if not set up correctly. So it doesn't have to be related to the CB's even if the CBs are necessary to create the CTD.
 

Colossal_Elk

Unspecified Cervid
24 Badges
Dec 10, 2013
1.320
1.545
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • 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
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
Do you get anything in your exception log on your crashes? What I'm thinking is that one thing that CB's enable are conquests and that enables some large chunks of code being run to handle title transfers where things can go wrong if not set up correctly. So it doesn't have to be related to the CB's even if the CBs are necessary to create the CTD.

What steps should I follow to produce an exception log? I have -debug and -debugscripts enabled in the launch options, but I've never seen an exception log.

A little more information in case this helps narrow things down a bit. Just to test the CBs file, I've set up a mod where that's the only file included, and have it set to replace_path over Vanilla (so everything except the CBs are vanilla files). I've gotten a huge number of error messages including the familiar ASK_TO_DECLARE_WAR_INTERACTION_ACCEPT, however, the game is just 40 years shy of going for a 300 year duration without a single crash.
 

richvh

Preserver of the Light
63 Badges
Dec 1, 2001
14.691
1.999
Visit site
  • Stellaris: Leviathans Story Pack
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Age of Wonders II
  • Crusader Kings II: Jade Dragon
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • 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
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2 Collection
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
Exceptions, if generated, will be in Documents/Paradox Interactive/Crusader Kings II/logs/exceptions.log. They are also likely to produce a .dmp file in /dumps.
 
  • 1
Reactions: