1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

[Debugging question]

Discussion in 'Civ4 - Creation & Customization' started by armand453, Mar 10, 2009.

  1. armand453

    armand453 Chieftain

    Joined:
    Jul 25, 2007
    Messages:
    45
    I have a CTD in one of my game and I'd like to find what cause this CTD. Is there a way or something to activate to have theses informations?


    Armand.
     
  2. Ajidica

    Ajidica High Quality Person

    Joined:
    Nov 29, 2006
    Messages:
    19,758
    Check the game logs (in the mygames directory) and look where the error message says the error is occuring.
     
  3. armand453

    armand453 Chieftain

    Joined:
    Jul 25, 2007
    Messages:
    45
    What are the files I have to look at because I don't think all the files in the log folder report error no?
     
  4. phungus420

    phungus420 Deity

    Joined:
    Mar 1, 2003
    Messages:
    6,296
    Another thing that might help is to turn on python exceptions in the Civ4 ini file.
     
  5. The_J

    The_J Say No 2 Net Validations Retired Moderator Supporter

    Joined:
    Oct 22, 2008
    Messages:
    31,585
    Location:
    DE/NL/FR
    To get the errors and a log-file:
    Opeh the Civ4config.ini and change these values here, all 0 have to be changed to 1, the 1 to 0.


    PHP:
    Set to 1 for no python exception popups
    HidePythonExceptions 
    1


    [...]

    Create a dump file if the application crashes
    GenerateCrashDumps 
    0

    Enable the logging system
    LoggingEnabled 
    0

    Enable synchronization logging
    SynchLog 
    0

    [...]

    Enable rand event logging
    RandLog 
    0

    Enable message logging
    MessageLog 
    0
     

Share This Page