evertebrate
Chieftain
I keep getting ctds with my mod. unfortunately it is to large to just post the whole mod for testing. can someone help me to locate the error?
i know that the error occours sometime in most games. sometimes when loading the autosave you can play just fine. other times the ctd happens every time at the same turn.
when this ctd happens, civ does not even ask me to make a dump file like with other ctds. it is not a python error and all my new functions seem to work, i made a custom log file to test it. it also does not semm to be memory allocation failure, because i get absolutely no error message. compiling a debug dll does also not give me any error message, it just ctds.
can anbody give me advice on how i could find out where the ctd happens? it seems to be while the ai does its turn, but before it moves any units. (i used ctrl-z and "show enemy moves" and it chrashes before anything happens) however all functions in AI_doTurn() are working successfully. are there any other methods to find an error?
the last line in the message log says "Rand = -232408448 on 12230 (AI Attack Odds Change #1)" however i never touched that function or any function that is calling it.
i know that the error occours sometime in most games. sometimes when loading the autosave you can play just fine. other times the ctd happens every time at the same turn.
when this ctd happens, civ does not even ask me to make a dump file like with other ctds. it is not a python error and all my new functions seem to work, i made a custom log file to test it. it also does not semm to be memory allocation failure, because i get absolutely no error message. compiling a debug dll does also not give me any error message, it just ctds.
can anbody give me advice on how i could find out where the ctd happens? it seems to be while the ai does its turn, but before it moves any units. (i used ctrl-z and "show enemy moves" and it chrashes before anything happens) however all functions in AI_doTurn() are working successfully. are there any other methods to find an error?
the last line in the message log says "Rand = -232408448 on 12230 (AI Attack Odds Change #1)" however i never touched that function or any function that is calling it.