CTD's in my Mini-Mod, how do I find what is causing them.

kiwitt

Road to War Modder
Joined
Jan 11, 2006
Messages
5,621
Location
Auckland, NZ (GMT+12)
I have developed a WWII mini-mod based on Dale's Road to War Mod, but I am now getting CTDs when I load saved games and also when I playing a new scenario from the start and it would crash. And otherplayers as well.

I initially thought it was the Video driver I updated, but after playing another mod (Final Frontier), I did not get the error.

All I have been doing is changing the XML values and leaving the main XML entities as they were. However, in the later releases I removed actual major unit entities. e.g. minor nations did not have "Tank Armies", or "Tank Corps" so I removed them from the XML file.

It is quite disheartening, after doing all this work (including months of research) to have this happening now.

Any ideas, on how to debug these faults.
 
I am having the same issue with this.

I had no issue starting the new scenario and played for 14 hours straight with no problem....but once i load a saved game i get the CTD as i complete my first turn.
 
You generaly get a CTD on loading maps when there is something that the map file can't find(such as the tank being removed from the game if there is a tank on the map or a player is building one). To fix it remove said object from the WBS file.
 
Kiwitt, i just tried loading a save-game from an earlier point last night....around 2-3 turns in....and it works fine, no CTD when i took my next turn.

I would then assume that it's either a building/unit that is not in play from the start that is causing the problem....or an event maybe?

For reference, my save-game that CTD's was only in October 1936. I was playing as the US....no major events had happened and the only tech i had completed (which would add a new item) was Laboratory and i had built a few of those.

That's all that springs to mind right now. Let me know if you need me to check anything else.
 
You generally get a CTD on loading maps when there is something that the map file can't find(such as the tank being removed from the game if there is a tank on the map or a player is building one). To fix it remove said object from the WBS file.
Could this be related to this action
KiwiTT said:
However, in the later releases I removed actual major unit entities.

i.e. the Game can not find the unit.
 
Back
Top Bottom