Error debugging (I need some guidance!)

mrmistophelees

Chieftain
Joined
Sep 6, 2004
Messages
42
I have recently reinstalled civ4 and have been playing patched to 1.61 with the Total Realism mod installed. I have played a great many turns with no mishap... about 360 turns or so. However, I seem to have encountered a CTD that happens at the same spot no matter what I do. On the same turn, I hit the enter button to progress to the next turn, and as soon as the text at the bottom says "waiting for other players", I CTD. I have no idea why I'm crashing here... none of the known bugs that are still in the process of getting squashed in the mod seem to relate, but I don't know.

I have done some searching through the forums for guides on how to read the log files and make sense of them. I didn't find anyway unfortunately. So my question is, how can I go about debugging my CTD problem? Are there any comprehensive guides for this process and for reading the log files and making sense of them? And is that even the best way to go about debugging?

Thanks in advance!
 
Did you save a game from exactly before hitting "Enter"? If so I'd attach that file in the Total Realism mod thread for the creator to look at it.

Also, most CTDs of this variety are caused by an incorrect ART_DEFINES tag. I assume that either you or the AI are just completing a unit, building, or Wonder for the first time and upon completion the game CTDs.

Go into WB and see what everyone is building. If anything is a 1 turn remaining that may be the cause.

Or I could be completely wrong, 50/50 really. :p
 
woodelf said:
Did you save a game from exactly before hitting "Enter"? If so I'd attach that file in the Total Realism mod thread for the creator to look at it.

Also, most CTDs of this variety are caused by an incorrect ART_DEFINES tag. I assume that either you or the AI are just completing a unit, building, or Wonder for the first time and upon completion the game CTDs.

Go into WB and see what everyone is building. If anything is a 1 turn remaining that may be the cause.

Or I could be completely wrong, 50/50 really. :p

Thank you for the suggestion! If it were a problem of the ART_DEFINES tag, would that show up in the log files? And how would I go about addressing the issue? Feel free to point me in the right direction if you know of any guides that address this.

Thanks!

And also thanks to you Gerikes. I have taken a look at TGA's post and have enabled the python logging, but my problem at this moment is I don't know how to interpret the logs. I'm still working on that one.
 
mrmistophelees said:
Thank you for the suggestion! If it were a problem of the ART_DEFINES tag, would that show up in the log files? And how would I go about addressing the issue? Feel free to point me in the right direction if you know of any guides that address this.

I think it's trial and error if that's the problem. To be honest if you go into WB right then you should be able to investigate each city and see if any are completing a build. If it's something previously unbuilt you can switch the build and hit Enter. If no crash then that's the problem. From there you need to hit the XML and see why it caused the crash.
 
Back
Top Bottom