View Full Version : [Debugging question]


armand453
Mar 10, 2009, 07:07 PM
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.

Ajidica
Mar 10, 2009, 07:08 PM
Check the game logs (in the mygames directory) and look where the error message says the error is occuring.

armand453
Mar 10, 2009, 07:12 PM
What are the files I have to look at because I don't think all the files in the log folder report error no?

phungus420
Mar 10, 2009, 09:39 PM
Another thing that might help is to turn on python exceptions in the Civ4 ini file.

The_J
Mar 11, 2009, 04:40 PM
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.


; 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