Help! Game crash on turn 166 of my Baktria campaign (EB2 v2.2b)

Thread: Help! Game crash on turn 166 of my Baktria campaign (EB2 v2.2b)

  1. Daelric said:

    Icon4 Help! Game crash on turn 166 of my Baktria campaign (EB2 v2.2b)

    Please help! I've encountered an "unspecified error" crash on Pahlava's turn during the NPCs turn between turn 165 and 166. I had a look at the log file generated but I can't tell what the error is or even begin to imagine what needs to be done to fix it.

    I had been waiting what felt like ages for v2.2b to release so I could sink my hooks into a good Long campaign and I've really been enjoying it, and am eager to play some more! As always, thanks so much to the EB2 team for the countless hours of enjoyment, and any help with my current error/crash would be VERY appreciated!

    I've included a 7-zip file that contains both the eb.system.log.txt as well as my latest save for my Baktra campaign.Bak037.rar
     
  2. QuintusSertorius's Avatar

    QuintusSertorius said:

    Default Re: Help! Game crash on turn 166 of my Baktria campaign (EB2 v2.2b)

    Looks random, there's nothing unusual happening before the crash:

    Code: [View]
    17:42:20.521 [game.script.exec] [trace] exec <inc_counter> at line 19188 in mods/ebii/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    17:42:20.521 [game.script.counter] [trace] counter <diplomat_counter> = 1
    17:42:20.521 [game.script.exec] [trace] exec <if> at line 19190 in mods/ebii/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    17:42:20.521 [game.script.trigger] [trace] Trigger <UninitializedFamilyMembers> fired
    17:42:20.521 [game.script.trigger] [trace] Trigger <AIBonusMediumDiff> fired
    17:42:20.521 [game.script.trigger] [trace] Trigger <Setting_Spring_TurnStart1> fired
    17:42:20.521 [game.script.trigger] [trace] Trigger <Setting_CelticSpring_TurnStart1> fired
    17:42:20.522 [game.script.trigger] [trace] Trigger <morale_up_in_friendly_territory> fired
    17:42:20.522 [game.script.trigger] [trace] Trigger <Setting_Spring_TurnStart1> fired
    17:42:20.522 [game.script.trigger] [trace] Trigger <Setting_CelticSpring_TurnStart1> fired
    17:42:20.522 [game.script.trigger] [trace] Trigger <General_Not_Initialized_Giving_Rookie_CommandExperience_01> fired
    17:42:20.522 [game.script.trigger] [trace] Trigger <UninitializedFamilyMembers> fired
    17:42:20.522 [game.script.trigger] [trace] Trigger <General_Is_Celtic> fired
    17:42:20.523 [game.script.trigger] [trace] Trigger <morale_up_in_friendly_territory> fired
    17:42:20.523 [game.script.trigger] [trace] Trigger <AIBonusMediumDiff> fired
    17:42:20.523 [game.script.exec] [trace] exec <inc_counter> at line 19188 in mods/ebii/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    17:42:20.523 [game.script.counter] [trace] counter <diplomat_counter> = 2
    17:42:20.523 [game.script.exec] [trace] exec <if> at line 19190 in mods/ebii/data/world/maps/campaign/imperial_campaign/campaign_script.txt
    17:42:20.523 [game.script.trigger] [trace] Trigger <UninitializedFamilyMembers> fired
    17:42:20.523 [game.script.trigger] [trace] Trigger <AIBonusMediumDiff> fired
    17:42:20.523 [game.script.trigger] [trace] Trigger <General_Not_Initialized_Giving_Rookie_CommandExperience_01> fired
    17:42:20.523 [game.script.trigger] [trace] Trigger <UninitializedFamilyMembers> fired
    17:42:20.523 [game.script.trigger] [trace] Trigger <General_Is_Celtic> fired
    17:42:20.524 [game.script.trigger] [trace] Trigger <morale_up_in_friendly_territory> fired
    17:42:20.524 [game.script.trigger] [trace] Trigger <AIBonusMediumDiff> fired
    17:42:20.525 [game.script.trigger] [trace] Trigger <morale_up_in_friendly_territory> fired
    17:42:20.525 [game.script.trigger] [trace] Trigger <Setting_Spring_TurnStart1> fired
    17:42:20.525 [game.script.trigger] [trace] Trigger <Setting_CelticSpring_TurnStart1> fired
    17:42:20.525 [game.script.trigger] [trace] Trigger <Setting_Spring_TurnStart1> fired
    17:42:20.525 [game.script.trigger] [trace] Trigger <Setting_CelticSpring_TurnStart1> fired
    17:42:20.525 [game.script.trigger] [trace] Trigger <morale_up_in_friendly_territory> fired
    17:42:20.525 [game.script.trigger] [trace] Trigger <Setting_Spring_TurnStart1> fired
    17:42:20.525 [game.script.trigger] [trace] Trigger <Setting_CelticSpring_TurnStart1> fired
    17:42:20.526 [game.script.trigger] [trace] Trigger <morale_up_in_friendly_territory> fired
    17:42:20.526 [game.script.trigger] [trace] Trigger <Setting_Spring_TurnStart1> fired
    17:42:20.526 [game.script.trigger] [trace] Trigger <Setting_CelticSpring_TurnStart1> fired
    17:42:20.526 [game.script.trigger] [trace] Trigger <General_Not_Initialized_Giving_Rookie_CommandExperience_01> fired
    17:42:20.526 [game.script.trigger] [trace] Trigger <UninitializedFamilyMembers> fired
    17:42:20.526 [game.script.trigger] [trace] Trigger <General_Is_Celtic> fired
    17:42:20.526 [game.script.trigger] [trace] Trigger <morale_up_in_friendly_territory> fired
    17:42:20.526 [game.script.trigger] [trace] Trigger <AIBonusMediumDiff> fired
    17:42:20.527 [game.script.trigger] [trace] Trigger <morale_up_in_friendly_territory> fired
    17:42:20.527 [game.script.trigger] [trace] Trigger <Setting_Spring_TurnStart1> fired
    17:42:20.527 [game.script.trigger] [trace] Trigger <Setting_CelticSpring_TurnStart1> fired
    17:42:20.527 [system.rpt] [error] Unspecified error. Please compress your error log in a zip format and upload it on the EBII technical help forum.
    Does the crash repeat if you reload the save and try again?
     
  3. Daelric said:

    Default Re: Help! Game crash on turn 166 of my Baktria campaign (EB2 v2.2b)

    Reloading the save always ended up with the same result. I could advance to turn 165 from 164, but upon attempting to go from 165 to 166 I get a crash during what appears to be Pahlava's turn.

    However, after doing a search for all instances of [error] using Notepad++, I found these lines of code:

    Code: [View]
        
    Line 153190: 17:40:17.370 [game.script] [error] Script execution error for <spawn_army>, at line 15626, in mods/ebii/data/world/maps/campaign/imperial_campaign/campaign_script.txt:
    Line 153195: 17:40:17.370 [game.script] [error] Script execution error for <move>, at line 15628, in mods/ebii/data/world/maps/campaign/imperial_campaign/campaign_script.txt:
    Line 163068: 17:42:20.527 [system.rpt] [error] Unspecified error. Please compress your error log in a zip format and upload it on the EBII technical help forum.
    This led me to blieve the problem may have had something to do with Bithynia (settlement of Nikaia). I loaded to save, toggled FoW, and Nikaia/Bithynia is Eleutheroi but there is a Pergamon stack nearby within the territory. When advancing the turn from 164 to 165, during Pergamon's turn the stack besieges Nikaia. I do my thing as Bactria, and then as I got from 165-166 I get a crash again (but again, during what appears to be Pahlava's turn based on the centered faction symbol at the top of the screen when the crash occurs).

    Looking up the campaign.script I see that the script execution errors have something to do with spawning an army when the territory of Bithynia/Nikaia is controlled by Eleutheroi. So at this point I thought that maybe if the territory wasn't Eleutheroi the crash wouldn't happen. To try to remedy this, I loaded up my save and transported one of my armies using console commands so that I could attack Nikaia myself on Turn 164 (the current turn when I load my save). To my surprise this resulted in a crash as well though as soon as I tried to advance. And, strangely, when I looked up the log to see what [error]s appeared this time around, there was nothing but the script errors in export_descr_buildings.txt at line 25218 (which appears all the time) and the unspecified error.

    At this point I've reverted back to an earlier save. Toggling off FoW reveals that Bithynia/Nikaia are currently owned by Pontus so hopefully history takes a different course with this save and it doesn'[t go back to Eleutheroi (if it was indeed something to do with that that caused my crashes).
     
  4. QuintusSertorius's Avatar

    QuintusSertorius said:

    Default Re: Help! Game crash on turn 166 of my Baktria campaign (EB2 v2.2b)

    I wonder if there's an issue with that Pergamon mission not switching off if Pergamon is AI; I'm looking at it now.