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

Yaroslav The Wise

Corporal
25 Badges
May 20, 2015
32
11
  • Crusader Kings II: Charlemagne
  • 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: Sons of Abraham
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV Sign-up
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: Pre-order
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis III
I'm trying to change the history for the county of Oshrusana in the duchy of Samarkand, but even if you make one small change things start acting weird. At the start screen the county becomes ruled by the king of Transoxiana, and if you check the county's history in-game, all other rulers disappear. There seems to be a similar problem with the counties in the duchy of Fergana, but I've never seen this problem anywhere else. Is there something hardcoded?
 
No, it's probably a case of mismatched brackets, or incorrect script that causes the game to misinterpret stuff. Please provide your modified script here.
 
No, it's probably a case of mismatched brackets, or incorrect script that causes the game to misinterpret stuff. Please provide your modified script here.
Code:
710.1.1={
    liege=d_samarkand
}

767.1.1 = {
    holder = 217325 # Kharakhurugh Afshin
}
793.10.5 = {
    holder = 217324 # Kawus Afshin
}
827.10.5 = {
    holder = 217323 # Khaydhar Afshin
}
841.5.15 = {
    holder = 217326 # Fazl Afshin # brother of Khaydhar # Assumed inheritance
}
854.1.24 = {
    holder = 217327 # Al-Kawus Afshin # fictional son of Fazl
}
864.1.1={
    #holder = 163099
    liege=k_khiva
}
936.1.1 = {
    holder = 261069
}
1052.1.1={
    holder = 806
    liege = 0
}
1068.1.1=
{
    holder = 3016
}
1080.1.1=
{
    holder = 3018
}
1081.1.1=
{
    holder = 3020
}
1089.1.1=
{
    holder = 3022
}
1095.1.1=
{
    holder = 3024
}
1097.1.1=
{
    holder = 144110
}
1097.6.1=
{
    holder = 144108
}
1099.1.1=
{
    holder = 144109
}
1102.1.1=
{
    holder = 144111
}
1129.1.1=
{
    holder = 144112
}
1129.6.1=
{
    holder = 144113
}
1130.1.1={
    holder = 144116
}
1132.1.1=
{
    holder = 144117
}
1132.6.1=
{
    holder = 144118
}
1141.1.1={
    liege=d_samarkand # Kara Khitan expansion
    holder = 188905 # Yelü-Dashi
}
1143.1.1={
    holder = 188907 # Yelü-Yilie
}
1163.1.1={
    holder = 188908 # Pusuwan
}
1177.1.1={
    holder = 188912 # Yelü-Zhilugu
}
1212.1.1={
    liege=d_khiva
    holder=93053
}
1220.2.1={
    liege=e_mongol_empire
    holder = 125501
}
1227.12.2={
    holder = 93062
}
1228.1.1={
    liege=e_chagatai
    holder = 248181
}
1250.1.1={
    holder = 248182
}
1290.1.1={
    holder = 248184
}
1305.1.1={
    holder = 248186
}
1330.1.1={
    holder = 248188
}

And here is the original:
Code:
710.1.1={
    liege=d_samarkand
}

767.1.1 = {
    holder = 217325 # Kharakhurugh Afshin
}
793.10.5 = {
    holder = 217324 # Kawus Afshin
}
827.10.5 = {
    holder = 217323 # Khaydhar Afshin
}
841.5.15 = {
    holder = 217326 # Fazl Afshin # brother of Khaydhar # Assumed inheritance
}
854.1.24 = {
    holder = 217327 # Al-Kawus Afshin # fictional son of Fazl
}
864.1.1={
    #holder = 163099
    liege=k_khiva
}
936.1.1 = {
    holder = 261069
}
1052.1.1={
    holder=3014
}
1068.1.1=
{
    holder = 3016
}
1080.1.1=
{
    holder = 3018
}
1081.1.1=
{
    holder = 3020
}
1089.1.1=
{
    holder = 3022
}
1095.1.1=
{
    holder = 3024
}
1097.1.1=
{
    holder = 144110
}
1097.6.1=
{
    holder = 144108
}
1099.1.1=
{
    holder = 144109
}
1102.1.1=
{
    holder = 144111
}
1129.1.1=
{
    holder = 144112
}
1129.6.1=
{
    holder = 144113
}
1130.1.1={
    holder = 144116
}
1132.1.1=
{
    holder = 144117
}
1132.6.1=
{
    holder = 144118
}
1141.1.1={
    liege=d_samarkand # Kara Khitan expansion
    holder = 188905 # Yelü-Dashi
}
1143.1.1={
    holder = 188907 # Yelü-Yilie
}
1163.1.1={
    holder = 188908 # Pusuwan
}
1177.1.1={
    holder = 188912 # Yelü-Zhilugu
}
1212.1.1={
    liege=d_khiva
    holder=93053
}
1220.2.1={
    liege=e_mongol_empire
    holder = 125501
}
1227.12.2={
    holder = 93062
}
1228.1.1={
    liege=e_chagatai
    holder = 248181
}
1250.1.1={
    holder = 248182
}
1290.1.1={
    holder = 248184
}
1305.1.1={
    holder = 248186
}
1330.1.1={
    holder = 248188
}

As you can see, all I did was change the ruler in 1052. There is nothing else in this mod. It's the only file.
 
I'm not seeing what you describe. I see Oshrusana ruled by the Khagan of Cumania in 1066, and all works as expected.
Thanks for trying to help. I've attached a screenshot so you'll see that the ruler in 1066 is a man who's been dead for over a hundred years. Do you have any idea what else could be the cause of this issue? I have no other mods loaded. My game version is 3.3.5.1 (SOHY). I've tried "verify game files" on Steam.
20221015203958_1.jpg
 
If it's not unmatched brackets in the county file, check for any in the relevant character history file(s), as well as other unexpected characters, broken quotes, improperly stacked brackets (e.g. one date clause inside another), or similar issues.
 
If it's not unmatched brackets in the county file, check for any in the relevant character history file(s), as well as other unexpected characters, broken quotes, improperly stacked brackets (e.g. one date clause inside another), or similar issues.
Right. As I said, there is only one file in the mod at the moment, and I changed only one line. The code is posted above. First I was working on a larger mod, trying to make the Nomadic ruler of that realm a vassal of the Cumans (understanding that he would no longer be Nomadic because clans must be of the same culture) and I encountered this sort of issue with k_khiva. Then I tried making this simple mod that only deals with c_oshrusana so I could pinpoint the exact problem.
 

Just like Whizzer probably I just used a modified county file as yours and also get Saru thecumanian khagan as ruler of Oshrusana
in 1066 in the selection window as it should. The history of the county is also existing once i started.
 
What could it be then? I have this one c_oshrusana file inside a titles folder inside a history folder inside the [mod name] folder, and there's nothing else. Should I try reinstalling CK2? I've seen a similar problem when I tried giving the county of York to the count of Norfolk, and it ended up giving it to an Anglo-Saxon character with the default "pagan" religion. Very odd.