Diplomacy Crash - Only One Civ, Crash when Clicking "Offer a Deal..."

Discussion in 'Civ3 - Creation & Customization' started by Meteor Man, Jun 17, 2020.

  1. Meteor Man

    Meteor Man En Route to M81

    Joined:
    Aug 6, 2007
    Messages:
    1,593
    Location:
    USA
    So this is a strange one. I usually don't have problems with crashes in this game, I can usually figure out what is causing them (usually stupid text errors or a picture is not indexed correctly, etc). But this time I can't for the life of me figure out what is wrong.

    No error message, crashes to the desktop whenever I click "Would Like to Offer a Deal..." in the diplomacy screen, but only for Player 1. Every other civ works fine. (This is a mod I am working on.)

    The fact that I make it to the diplomacy screen and it only crashes when clicking "Offer a Deal" tells me that it's not a problem with the .flc file. It's a static flag leaderhead, anyway. My first guess was that it was a problem with the reverse file path (assuming the reverse flc file plays when you click "Offer a Deal." Unsure if this is actually the case.) But that isn't the problem. Both forward and reverse file names are the same.

    The diplo music has not been changed, so it can't be that. Diplo text also has not been altered.

    Any help would be greatly appreciated! Driving me crazy. Luckily this .biq is a "Play as Player 1 Only" mod, so this is not a huge loss and I can still move forward with mod development but this will cause problems down the line if anyone ever wants to play as anyone other than Player 1.
     
  2. Meteor Man

    Meteor Man En Route to M81

    Joined:
    Aug 6, 2007
    Messages:
    1,593
    Location:
    USA
    Bumping the thread because I figured it out. This bug has been with me years and of course, it turns out it was a simple fix.

    It was the .flc flag leaderhead animation file for Germany was causing the crash. Leaderheads need to have more than 1 frame or I guess the reverse file can't play. I added 9 extra identical frames to make it a 10 frame .flc file, and the problem disappeared.
     

Share This Page