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

Nivve

General
14 Badges
May 7, 2011
1.773
1
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
  • Magicka
  • Naval War: Arctic Circle
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
I just tried it with your mod files, and I'm getting all 952 provinces in the history folder. What happens when you specify the seed used for generation, and use the same one multiple times?

I simply get four versions which all have 949 provinces and crash consistently..
Funny thing is, in the log file there are 952 provinces mentioned, so why it would only generate 949 is a mystery to me.
edit: The working files also have 949 provinces, so although it's weird, it's probably not the cause of the crash.
 
Last edited:

Nivve

General
14 Badges
May 7, 2011
1.773
1
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
  • Magicka
  • Naval War: Arctic Circle
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
Could you send me two log files, please? One of a generation that works, and one of a generation that crashes.

I have created two new mod file sets. Coincedently again the first one worked and the second one crashed (in the loading after selecting a character).
I also entered the seed of the working one and generated new files, which ended up working also. Not sure whether this is useful information or not..
I also added the mod files, in case they are useful.

Working 2.0.10
Crashing 2.0.10
 

Necal

Colonel
29 Badges
Nov 8, 2012
1.078
135
  • Europa Universalis IV: Common Sense
  • Europa Universalis 4: Emperor
  • Crusader Kings III
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Third Rome
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV
  • Mount & Blade: With Fire and Sword
  • Pride of Nations
  • Europa Universalis IV: El Dorado
  • Europa Universalis III: Collection
  • 500k Club
  • Warlock: Master of the Arcane
  • Victoria 2
  • Europa Universalis IV: Art of War
Noticing an issue with Diadochi Kings. Attempting to generate history will cause the progress bar to hang on "Checking Empires". If titles are generated as well, it gets stuck on Kingdom Tables.

Interestingly, despite this, it appears to make some progress on character creation (based on checking in game and checking the log), but only slowly. For instance; the average mod/game of CK2 takes like ten seconds for history to generate, in ten minutes DK is roughly halfway done.
 

Measter

Major
70 Badges
Jan 2, 2011
612
4
  • Crusader Kings II
  • Europa Universalis IV: Pre-order
  • Sword of the Stars II
  • Sword of the Stars
  • Sengoku
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Magicka
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Cities in Motion 2
  • Crusader Kings II: Charlemagne
  • 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: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Conclave
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Age of Wonders III
  • 500k Club
  • Teleglitch: Die More Edition
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Nivve, I downloaded your files, and did a generation with the same version of the mods and generator, with exactly the same settings, and it works fine. I can't, however, properly compare the history because the mod files I downloaded from your thread are not the same as you used. There is an extra title in the version I downloaded: c_podlasie, and a flag for d_podlasia which isn't defined.

The crashing files you provided seem to have the same issue as before, in that there's a Duchy of Europa republic with several republic's worth of patricians. The same issue also appears in the working version. In 2.0.10, I added some options to the rule set's "misc" section, one of which will prevent that by forcing the generator to use custom duchy titles. You'll need to use that if you want to have republics, because the generator will always attempt to create playable republics.

Necal, the problem was in the character creation. The problem is that the generator ran out of unique dynasties to use, and got stuck in an infinite loop. Sounds like the UI didn't get updated properly making it look like it got stuck elsewhere. I've uploaded 2.0.11 which fixes the loop issue.

Version 2.0.11
- Fixed infinite loop when generator has run out of dynasties.
 

Nivve

General
14 Badges
May 7, 2011
1.773
1
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
  • Magicka
  • Naval War: Arctic Circle
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
Nivve, I downloaded your files, and did a generation with the same version of the mods and generator, with exactly the same settings, and it works fine. I can't, however, properly compare the history because the mod files I downloaded from your thread are not the same as you used. There is an extra title in the version I downloaded: c_podlasie, and a flag for d_podlasia which isn't defined.

The crashing files you provided seem to have the same issue as before, in that there's a Duchy of Europa republic with several republic's worth of patricians. The same issue also appears in the working version. In 2.0.10, I added some options to the rule set's "misc" section, one of which will prevent that by forcing the generator to use custom duchy titles. You'll need to use that if you want to have republics, because the generator will always attempt to create playable republics.

Necal, the problem was in the character creation. The problem is that the generator ran out of unique dynasties to use, and got stuck in an infinite loop. Sounds like the UI didn't get updated properly making it look like it got stuck elsewhere. I've uploaded 2.0.11 which fixes the loop issue.

Version 2.0.11
- Fixed infinite loop when generator has run out of dynasties.
Which files did you use of my thread? I used 2.63a (ck2+) of my own mod and 2.03.1 of CK2+.
I will look at podlasie, maybe there is something wrong with the title/history. I will also look at the republic of europa thing; Could it be that the generator will see the 'minimal republics = 10' and then spread the ten republican characters over all duchies (which is only europe, so they all end up there).
 

Measter

Major
70 Badges
Jan 2, 2011
612
4
  • Crusader Kings II
  • Europa Universalis IV: Pre-order
  • Sword of the Stars II
  • Sword of the Stars
  • Sengoku
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Magicka
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Cities in Motion 2
  • Crusader Kings II: Charlemagne
  • 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: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Conclave
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Age of Wonders III
  • 500k Club
  • Teleglitch: Die More Edition
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Those are the mod files I used; I went and re-downloaded them from your thread, just to make sure.

And yes, the generator is trying to use the De Jure liege of the republic's county. In normal cases this works fine, but in yours they all end up sharing the same title, which appears to cause problems.
 

unmerged(365702)

Private
2 Badges
Aug 17, 2011
20
0
  • Crusader Kings II
  • Victoria 2: A House Divided
When i install this mod I get 1 of 2 errors, it either cant find the install directory or an unhandled exception occurs in my application. Anyone know how to fix this?
2nd error says
object reference not set to an instance of an object
Sometimes it will say that it cannot find the install directory even though its in my steam folder
 
Last edited:

unmerged(365702)

Private
2 Badges
Aug 17, 2011
20
0
  • Crusader Kings II
  • Victoria 2: A House Divided
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at TitleGenerator.DataUI.PopulateControls()
at TitleGenerator.DataUI.LoadCK2()
at TitleGenerator.DataUI.CheckCKDir(String selectedPath)
at TitleGenerator.DataUI.btnCKFolder_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5472 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TitleGenerator
Assembly Version: 2.0.11.0
Win32 Version: 2.0.11
CodeBase: file:///C:/Program%20Files%20(x86)/Steam/SteamApps/common/Crusader%20Kings%20II/TitleGenerator.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.5420 built by: Win7SP1
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
CKIIUtils
Assembly Version: 1.11.9.0
Win32 Version: 1.11.9
CodeBase: file:///C:/Program%20Files%20(x86)/Steam/SteamApps/common/Crusader%20Kings%20II/CKIIUtils.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 

Nivve

General
14 Badges
May 7, 2011
1.773
1
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
  • Magicka
  • Naval War: Arctic Circle
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
For some reason all four (edit: six) generations I have done with the latest version (2.0.11) have no crashing at all. This is with the republic change in the ruleset, so probably that could have been the cause.

Edit: still weird why some actually worked if that was/is the problem.
 
Last edited:

unmerged(365702)

Private
2 Badges
Aug 17, 2011
20
0
  • Crusader Kings II
  • Victoria 2: A House Divided
Kingdoms Abound Titular Title Generator Version 2.0.11
CK2 Utility Library Version 1.11.9
Logging started at 2013-10-02 15:26:05

---- DataLog ----

Checking Directory: C:\Program Files (x86)\Steam\SteamApps\common\Crusader Kings II
Loading Mods
Splitting Selected Rules List
Listing Allows Scripts
--DefaultAllows
Listing Gains Scripts
--DefaultGains
Listing Rule Sets
--KeepRepublicsRuleSet
--VanillaRuleSet
Fetching Mods
Splitting Selected Mods List
Filtering and Listing Mods

---- Error Log ----

System.NullReferenceException: Object reference not set to an instance of an object.
at TitleGenerator.DataUI.PopulateControls()
at TitleGenerator.DataUI.LoadCK2()
at TitleGenerator.DataUI.CheckCKDir(String selectedPath)
 
Last edited:

Measter

Major
70 Badges
Jan 2, 2011
612
4
  • Crusader Kings II
  • Europa Universalis IV: Pre-order
  • Sword of the Stars II
  • Sword of the Stars
  • Sengoku
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Magicka
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Cities in Motion 2
  • Crusader Kings II: Charlemagne
  • 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: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Conclave
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Age of Wonders III
  • 500k Club
  • Teleglitch: Die More Edition
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis III Complete
  • Europa Universalis III Complete
I've uploaded version 2.0.12, which adds some missing logging, and now uses a custom settings file. I'm sure I'm not the only one who got fed up with the UI settings getting wiped every version change, even when the settings to save haven't changed at all.

DDM12, this version will not fix your problem, but I believe the missing logging should help me find where the problem is. Could you download it and paste the log file here again, please?

Version 2.0.12
- Now outputs data loader errors when selecting the CK2 directory.
- Now using a custom settings file.
 

unmerged(365702)

Private
2 Badges
Aug 17, 2011
20
0
  • Crusader Kings II
  • Victoria 2: A House Divided
Kingdoms Abound Titular Title Generator Version 2.0.12
CK2 Utility Library Version 1.11.9
Logging started at 2013-10-03 20:56:12

---- DataLog ----

Checking Directory: C:\Program Files (x86)\Steam\SteamApps\common\Crusader Kings II
Loading Mods
Splitting Selected Rules List
Listing Allows Scripts
--DefaultAllows
Listing Gains Scripts
--DefaultGains
Listing Rule Sets
--KeepRepublicsRuleSet
--VanillaRuleSet
Fetching Mods
Splitting Selected Mods List
Filtering and Listing Mods

---- Error Log ----

Errors encountered during mod loading:

Folder not found: C:\Users\Chris\Documents\Paradox Interactive\Crusader Kings II\mod


System.NullReferenceException: Object reference not set to an instance of an object.
at TitleGenerator.DataUI.PopulateControls()
at TitleGenerator.DataUI.LoadCK2()
at TitleGenerator.DataUI.CheckCKDir(String selectedPath)
 

doccarnby

Sergeant
17 Badges
Aug 28, 2011
52
7
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III Complete
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • Heir to the Throne
  • Victoria: Revolutions
  • Victoria 2: A House Divided
  • Stellaris Sign-up
  • Mount & Blade: Warband
  • Europa Universalis IV: Pre-order
  • 500k Club
  • Victoria 2
  • Teleglitch: Die More Edition
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
I'm getting a crash every time I use this since I update to the most recent version.

Code:
Kingdoms Abound Titular Title Generator Version 2.0.12
CK2 Utility Library Version 1.11.9
Logging started at 2013-10-04 13:36:29

 --Culture Limit: None
 --Religion Limit: None
 --County Limit: 3
 --Duchy Limit: 4
 --Kingdom Limit: 3
 --CreateDuchies: False
 --Create Kingdoms: True
 --Create Empires: True
 --Mod Name: Kingdoms Abound
 --Use Mod: False
 --Replace De Jure: True
 --Kingdom Short Names: False
 --Empire Short Names: False
 --History clear: County
 --History Create: Full Random 
    --Create Kings: True
    --Max Characters: 250
    --Min Characters: 70
    --Min Republics: 3
    --Max Republics: 5
    --Min Theocracies: 3
    --Max Theocracies: 10
 --Start Date: 867
 --Rule set:
 --Ignored Titles:

---- Error Log ----

System.NullReferenceException: Object reference not set to an instance of an object.
   at TitleGenerator.HistoryRules.LawRules.GetLawSet(Culture cul, Religion rel, Random rand)
   at TitleGenerator.Tasks.History.CreateHistoryShared.CreateRandomCharacter(CharacterOption charOptions, Dictionary`2 availDynasties)
   at TitleGenerator.Tasks.History.FullHistoryTask.MakeRepublicChars(List`1 owners, Int32 reps)
   at TitleGenerator.Tasks.History.FullHistoryTask.MakeRepublicRealms()
   at TitleGenerator.Tasks.History.FullHistoryTask.GenerateCharacters()
   at TitleGenerator.Tasks.History.FullHistoryTask.CreateHistory(StreamWriter charWriter)
   at TitleGenerator.Tasks.History.CreateHistoryShared.Execute()
   at TitleGenerator.Tasks.SharedTask.Run()

Am I accidentally doing something wrong? I think this should be all the necessary information, but tell me if you need more.