Game Crashes when AI declares war

Sword_Of_Geddon

Arbiter of the Sword
Joined
Dec 21, 2003
Messages
14,184
Location
New England, USA
This hasn't happened up till now in my mod, but suddenly I hit end turn, the game waited and everything seems fine, then the AI declares war on someone, followed by the game promptly crashing to desktop.

I've tried loading and it keeps happening. What is going on here and what should I do? Or what can I do?

I appreciate the assistance.
 
There is no real information here for anyone to help you with. At a bare minimum we would need to know

1 - Have you a custom dll?
2 - Have you just added any graphics? These often cause a CTD if they are broken
3 - What have you changed?
4 - How long has the mod been working (after any recent changes)?
 
The general advice with crashes is to compile a debug DLL, then play in window mode, attach the debugger and let the game crash. You will get the DLL like where something went wrong, which is often a great clue to what is causing the bug. However this approach requires at least a bit of knowledge on how to use the debugger or at the very least the compiler. I can't tell from this thread if the needed knowhow is present in this case.

I've tried loading and it keeps happening.
As strange as it may sound, this is actually good. This makes it easier to locate the bug and it makes it possible to test fixes to see if it solves the problem.
 
Do remember never to play in full screen when using the debugger. If the game hits a breakpoint or anything else, which freezes the game, it freezes going out of fullscreen as well and you are stuck in a frozen game without the ability to go into the debugger to start the game again. I think you can save it with control+alt+delete, but it's better just to use window mode as this will avoid the problem entirely.
 
Back
Top Bottom