+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 20 of 27

Thread: Relations bug figured out

  1. #1
    AI Programmer Paradox Dev Team Wiz's Avatar
    Arsenal of DemocracyHearts of Iron 2: ArmageddonCrusader Kings IIDarkest HourDeus Vult
    East India CompanyEuropa Universalis 3Divine WindFor The GloryHearts of Iron III Collection
    HOI3: Their Finest HourHeir to the ThroneEuropa Universalis III: In NomineEU3 Napoleon's AmbitionVictoria: Revolutions
    Europa Universalis: RomeSengokuVictoria 2Victoria II: A House DividedVictoria II: Heart of Darkness
    Rome: Vae VictisMount & Blade: Warband

    Join Date
    Nov 2007
    Location
    Sweden
    Posts
    5,163

    Relations bug figured out

    I'm not sure if anyone did this already, or if Paradox is aware of the exact nature of the bug, but just in case, I'm posting this.

    The relations bug in CKDV where your relations go up each time you load a save is caused by the starting relations of each country being added to current relations whenever you load a save game. In essence, every time you load the game, it believes you are starting it for the first time, and loads the starting relations. So if your starting relation with a county is +30, the first time you reload the game it will be +60, next time +90 and so on.

    Here is the data I collected to draw this conclusion. It's ordered so that the first number under each is when the game started, next is after 1 reload, then 2 reloads, etc:

    Code:
    Data sampled using County of Schleisen
    
    **LIEGES**
    Liege
    +43
    +86 (+43)
    +129 (+43)
    +172 (+43)
    
    King 
    +42
    +83 (+41)
    +125 (+42)
    +167 (+42)
    
    **SAME REALM**
    St. Gallen (Neighbour)
    +45
    +90 (+45)
    +135 (+45)
    
    Padua (Close)
    +44
    +87 (+43)
    +131 (+44)
    
    Hainaut (Far) 
    +31
    +61 (+31)
    +92 (+31)
    
    **OTHER REALM**
    Venice (Independent)
    +31
    +62 (+31)
    +93 (+31)
    
    Chalons (France) 
    +31
    +62 (+31)
    +93 (+31)
    
    Surrey (England)
    +30
    +60 (+30)
    +90 (+30)
    
    **ORTHODOX**
    Nikomedia (Byzantium)
    -14
    -29 (-15)
    -43 (-14)
    
    **MUSLIM**
    Palermo (Sicily)
    -15
    -30 (-15)
    -45 (-15)
    See any patterns?

    Just to be super-certain I also did another 20 or so comparisions with counties all over the map using a different starting country (Kingdom of Sweden), and sure enough, every single save the starting relations were added onto current relations.

    The variance where it sometimes adds +1 less is, I believe, because relations has a hidden decimal point. Using this info, it shouldn't be hard to develop a save game parser until Paradox releases a patch.
    Last edited by Wiz; 02-03-2008 at 13:26.

  2. #2
    Buckler of Wales Drachenfire's Avatar
    Deus VultEU3 CompleteDivine WindHeir to the Throne

    Join Date
    Dec 2004
    Location
    Ocean View, Norfolk, Virginia
    Posts
    2,081
    Quote Originally Posted by Wiz
    I'm not sure if anyone did this already, or if Paradox is aware of the exact nature of the bug, but just in case, I'm posting this.

    The relations bug in CKDV where your relations go up each time you load a save is caused by the starting relations of each country being added to current relations whenever you load a save game. In essence, every time you load the game, it believes you are starting it for the first time, and loads the starting relations. So if your starting relation with a county is +30, the first time you reload the game it will be +60, next time +90 and so on.

    Here is the data I collected to draw this conclusion. It's ordered so that the first number under each is when the game started, next is after 1 reload, then 2 reloads, etc:

    Code:
    Data sampled using County of Schleisen
    
    **LIEGES**
    Liege
    +43
    +86 (+43)
    +129 (+43)
    +172 (+43)
    
    King 
    +42
    +83 (+41)
    +125 (+42)
    +167 (+42)
    
    **SAME REALM**
    St. Gallen (Neighbour)
    +45
    +90 (+45)
    +135 (+45)
    
    Padua (Close)
    +44
    +87 (+43)
    +131 (+43)
    
    Hainaut (Far) 
    +31
    +61 (+31)
    +92 (+31)
    
    **OTHER REALM**
    Venice (Independent)
    +31
    +62 (+31)
    +93 (+31)
    
    Chalons (France) 
    +31
    +62 (+31)
    +93 (+31)
    
    Surrey (England)
    +30
    +60 (+30)
    +90 (+30)
    
    **ORTHODOX**
    Nikomedia (Byzantium)
    -14
    -29 (-14)
    -43 (-14)
    
    **MUSLIM**
    Palermo (Sicily)
    -15
    -30 (-15)
    -45 (-15)
    See any patterns?

    Just to be super-certain I also did another 20 or so comparisions with counties all over the map using a different starting country (Kingdom of Sweden), and sure enough, every single save the starting relations were added onto current relations.

    The variance where it sometimes adds +1 less is, I believe, because relations has a hidden decimal point. Using this info, it shouldn't be hard to develop a save game parser until Paradox releases a patch.

    Good Catch!!!


    Pleidiol wyf i'm gwlad
    True I am to my country


    Damsels Not In Distress mode (allows female inheritance in CK I) & Crusader Queens, Cool-toxic's CK Clone
    Jordarkelf's DV Improvement Pack, Looking for a Good Starting County? Gwynedd FTW!
    Christianity, Social Tolerance, and Homosexuality during the middle ages discussion thread.

  3. #3
    Minister of Peace for Europe Moderator Grosshaus's Avatar
    Europa Universalis 3EU3 CompleteHearts of Iron IIIHeir to the ThroneSemper Fi
    Victoria 2Victoria II: A House Divided

    Join Date
    May 2003
    Posts
    10,389
    I doubt you'll mind that I copied this thread to the CK beta forum to bring it to the attention of the developers.
    Pity comes for free, but jealousy must be earned - Lauri Tähkä

    Hearts of Iron II beta AAR Guardian of Democracy

  4. #4
    AI Programmer Paradox Dev Team Wiz's Avatar
    Arsenal of DemocracyHearts of Iron 2: ArmageddonCrusader Kings IIDarkest HourDeus Vult
    East India CompanyEuropa Universalis 3Divine WindFor The GloryHearts of Iron III Collection
    HOI3: Their Finest HourHeir to the ThroneEuropa Universalis III: In NomineEU3 Napoleon's AmbitionVictoria: Revolutions
    Europa Universalis: RomeSengokuVictoria 2Victoria II: A House DividedVictoria II: Heart of Darkness
    Rome: Vae VictisMount & Blade: Warband

    Join Date
    Nov 2007
    Location
    Sweden
    Posts
    5,163
    Quote Originally Posted by Grosshaus
    I doubt you'll mind that I copied this thread to the CK beta forum to bring it to the attention of the developers.
    Not in the least! All I want is for this to be fixed.

  5. #5
    Resident Opportunist King of Men's Avatar
    Arsenal of DemocracyHearts of Iron 2: ArmageddonCrusader Kings IIDeus VultEuropa Universalis 3
    Divine WindHearts of Iron IIIHeir to the ThroneEuropa Universalis III: In NomineEU3 Napoleon's Ambition
    Victoria 2Victoria II: A House Divided

    Join Date
    Mar 2002
    Location
    I was banned from religion threads before it was cool. And after it was cool.
    Posts
    6,865
    Good work.
    MP Megacampaigns :
    The Great Game: CK, EU2, EU2 stats, Vicky, Doomsday.
    There Will Be War: CK, EU3, Vicky, Arma.
    Children of the Fatherland: Crusader Kings. Divine Wind I II Victoria 2
    Final update 22-January-2013: Final Overview

  6. #6
    First Lieutenant Scaith's Avatar
    A Game of DwarvesCities in MotionCrusader Kings IIEU3 CompleteDivine Wind
    Hearts of Iron IIIKing Arthur IIMagickaMajesty 2Penumbra - Black Plague
    Semper FiShip Simulator ExtremesVictoria 2Mount & Blade: WarbandWarlock: Master of the Arcane
    Mount & Blade: With Fire and Sword

    Join Date
    May 2004
    Location
    Bremen, Germany
    Posts
    205
    Have you checked new countries? I mean if a country gets created during game which wasn't there in a normal game, like the Teutonic Order, are their values changed?

  7. #7
    AI Programmer Paradox Dev Team Wiz's Avatar
    Arsenal of DemocracyHearts of Iron 2: ArmageddonCrusader Kings IIDarkest HourDeus Vult
    East India CompanyEuropa Universalis 3Divine WindFor The GloryHearts of Iron III Collection
    HOI3: Their Finest HourHeir to the ThroneEuropa Universalis III: In NomineEU3 Napoleon's AmbitionVictoria: Revolutions
    Europa Universalis: RomeSengokuVictoria 2Victoria II: A House DividedVictoria II: Heart of Darkness
    Rome: Vae VictisMount & Blade: Warband

    Join Date
    Nov 2007
    Location
    Sweden
    Posts
    5,163
    Quote Originally Posted by Scaith
    Have you checked new countries? I mean if a country gets created during game which wasn't there in a normal game, like the Teutonic Order, are their values changed?
    I haven't checked that. Do new countries get starting relations?

  8. #8
    First Lieutenant Scaith's Avatar
    A Game of DwarvesCities in MotionCrusader Kings IIEU3 CompleteDivine Wind
    Hearts of Iron IIIKing Arthur IIMagickaMajesty 2Penumbra - Black Plague
    Semper FiShip Simulator ExtremesVictoria 2Mount & Blade: WarbandWarlock: Master of the Arcane
    Mount & Blade: With Fire and Sword

    Join Date
    May 2004
    Location
    Bremen, Germany
    Posts
    205
    I don't know. But if a new country is created he will get a relation to every other country and those will get one new value which points towards to the new one. When those are always created with a 0 in all relations they shouldn't be affected by the bug.

    But if the starting relations are determined by other means (distance, loyalty, diplomatic relation, culture, religion), they are.

    What happens to those changes in relation when your country changes religion or culture? Have you checked that? Should be easy to test by editing the savegame.

  9. #9
    Don't mean to pester, but is there any fix in sight?

  10. #10
    Field Marshal Nick B II's Avatar
    Crusader Kings IIDeus VultEuropa Universalis III: In Nomine

    Join Date
    Dec 2005
    Location
    Detroit, USA
    Posts
    4,408
    Quote Originally Posted by Dagda
    Don't mean to pester, but is there any fix in sight?
    Johan is working on it for the next patch, which won't appear for a few months.

    Nick

  11. #11
    Crazy Crusader Kings Creator jordarkelf's Avatar
    59 games registered

    59

    200k clubAchtung PanzerA Game of DwarvesHoI AnthologyArsenal of Democracy
    Hearts of Iron 2: ArmageddonCities in MotionCrusader Kings IICommander: Conquest of the AmericasDarkest Hour
    East India CompanyEast India Company CollectionElven Legacy CollectionEU3 CompleteDivine Wind
    For The GloryFor the MotherlandHearts of Iron IIIHOI3: Their Finest HourHeir to the Throne
    Europa Universalis III: In NomineIron CrossKing Arthur IILead and GoldLegio
    MagickaMajesty 2March of the EaglesNaval War: Arctic CirclePirates of Black Cove
    Victoria: RevolutionsEuropa Universalis: RomeRome GoldSemper FiSengoku
    Ship Simulator ExtremesSword of the Stars IISupreme Ruler 2020 GoldSupreme Ruler 2020Victoria 2
    Victoria II: A House DividedRome: Vae VictisMount & Blade: WarbandWarlock: Master of the ArcaneMount & Blade: With Fire and Sword
    War of the Roses

    Join Date
    Jul 2005
    Location
    Holy Roman Empire
    Posts
    6,711
    Quote Originally Posted by Johan
    Current Patch Priority Schedule
    1) HOI2DD: Armageddon
    2) CK: Deus Vult


    Next patch.. ETA middle of March.
    http://forum.paradoxplaza.com/forum/...d.php?t=337273

  12. #12
    Tribuni plebis that_sweed's Avatar
    Arsenal of DemocracyHearts of Iron 2: ArmageddonCrusader Kings IIDarkest HourDeus Vult
    Divine WindHearts of Iron IIIHeir to the ThroneEuropa Universalis III: In NomineEU3 Napoleon's Ambition
    Victoria: RevolutionsEuropa Universalis: RomeVictoria 2Victoria II: A House DividedMount & Blade: Warband
    Mount & Blade: With Fire and Sword

    Join Date
    Sep 2005
    Location
    Stockholm
    Posts
    398
    Wouldn't it work to simply change all the starting relations to zero? Would this stop relations from being changed every time you reload?

  13. #13
    Crazy Crusader Kings Creator jordarkelf's Avatar
    59 games registered

    59

    200k clubAchtung PanzerA Game of DwarvesHoI AnthologyArsenal of Democracy
    Hearts of Iron 2: ArmageddonCities in MotionCrusader Kings IICommander: Conquest of the AmericasDarkest Hour
    East India CompanyEast India Company CollectionElven Legacy CollectionEU3 CompleteDivine Wind
    For The GloryFor the MotherlandHearts of Iron IIIHOI3: Their Finest HourHeir to the Throne
    Europa Universalis III: In NomineIron CrossKing Arthur IILead and GoldLegio
    MagickaMajesty 2March of the EaglesNaval War: Arctic CirclePirates of Black Cove
    Victoria: RevolutionsEuropa Universalis: RomeRome GoldSemper FiSengoku
    Ship Simulator ExtremesSword of the Stars IISupreme Ruler 2020 GoldSupreme Ruler 2020Victoria 2
    Victoria II: A House DividedRome: Vae VictisMount & Blade: WarbandWarlock: Master of the ArcaneMount & Blade: With Fire and Sword
    War of the Roses

    Join Date
    Jul 2005
    Location
    Holy Roman Empire
    Posts
    6,711
    Starting relation offsets are not defined in a file we can edit. At scenario start, no country has relations set to another country. How you start is inferred from the above values, as well as traits, family relationships, and friendships or rivalries.

    The problem is that relations are increased each time the save is loaded. It should either only do so when loading a new scenario, or never at all.

  14. #14
    Sergeant h0138731's Avatar
    Crusader Kings IIDeus VultEuropa Universalis 3EU3 CompleteEU3 Napoleon's Ambition
    Victoria: RevolutionsRome GoldVictoria 2Victoria II: A House Divided

    Join Date
    Feb 2007
    Location
    America
    Posts
    71
    Quote Originally Posted by Nick B II
    Johan is working on it for the next patch, which won't appear for a few months.

    Nick
    I am terribly disappointed at this......I wish DV had never been released.

  15. #15
    Field Marshal ulmont's Avatar
    200k clubHearts of Iron 2: ArmageddonCrusader Kings IIDarkest HourDeus Vult
    DiplomacyEuropa Universalis 3Hearts of Iron IIIHeir to the ThroneEuropa Universalis III: In Nomine
    EU3 Napoleon's AmbitionVictoria: RevolutionsEuropa Universalis: RomeVictoria 2Victoria II: A House Divided
    Rome: Vae Victis

    Join Date
    May 2001
    Location
    Atlanta, Georgia, USA
    Posts
    2,744
    Quote Originally Posted by h0138731
    I am terribly disappointed at this......I wish DV had never been released.
    Well, that's your opinion, but personally, I think DV breathed some much-needed new life into CK.

  16. #16
    Quote Originally Posted by ulmont
    Well, that's your opinion, but personally, I think DV breathed some much-needed new life into CK.
    The ledger was nice, but it made the game + expansion unplayable with all the crashes and broken gameplay features.

  17. #17
    First Lieutenant Scaith's Avatar
    A Game of DwarvesCities in MotionCrusader Kings IIEU3 CompleteDivine Wind
    Hearts of Iron IIIKing Arthur IIMagickaMajesty 2Penumbra - Black Plague
    Semper FiShip Simulator ExtremesVictoria 2Mount & Blade: WarbandWarlock: Master of the Arcane
    Mount & Blade: With Fire and Sword

    Join Date
    May 2004
    Location
    Bremen, Germany
    Posts
    205
    Then don't play it. Wait till the next patch is out. No one enforces you do play with the expansion.

  18. #18
    Legendary Conqueror Ironking's Avatar
    Mount & Blade: Warband

    Join Date
    Apr 2006
    Location
    Europe
    Posts
    29
    Quote Originally Posted by Dagda
    The ledger was nice, but it made the game + expansion unplayable with all the crashes and broken gameplay features.
    Been playing DV for a while now, sometimes even all day long and i can honestly say i never had a single crash at all.
    So it must be your hard/software im afraid.
    I play with the beta patch btw. No mods.

  19. #19
    No dancing in the turret. MichOrion's Avatar
    Hearts of Iron 2: ArmageddonCrusader Kings IIDeus VultEuropa Universalis: ChroniclesFor The Glory
    Rome GoldMount & Blade: WarbandMount & Blade: With Fire and Sword

    Join Date
    Sep 2002
    Location
    USA-Vermont
    Posts
    700
    No problems here either, except for the relation bug.

    Good work Wiz, I'll put you in for a medal.
    "Ultimately they will become empty, mindless spectres; stripped of will and soul, only their thirst for freedom gives them hunger for vengeance..."
    Rush-The Necromancer
    Without trucks, America stops!
    "Three-quarters of a soldier's life is spent in aimlessly waiting about." -Eugen Rosenstock-Huessy

  20. #20
    Quote Originally Posted by Ironking
    Been playing DV for a while now, sometimes even all day long and i can honestly say i never had a single crash at all.
    So it must be your hard/software im afraid.
    I play with the beta patch btw. No mods.
    I'm sorry your wrong. The crashes were cofirmed by Paradox themselves.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts