Common Errors and/or Crashes Section

Status
Not open for further replies.
Code:
Traceback (most recent call last):
  File "BugEventManager", line 363, in _handleDefaultEvent
  File "RevEvents", line 127, in onEndGameTurn
  File "RevEvents", line 901, in checkForAssimilation
ZeroDivisionError: integer division or modulo by zero

This is written in it.

I don't think I should touch this as my cold is getting worse.
 
I just checked the code. It should happen if and only if he finds a CvAltRoot.py to import. That means that there is already a CvAltRoot.py in the Python folder.
Check if there is one in there (/Caveman2Cosmos/Assets/Python) and if there is, delete it.

Maybe you did your reinstallations without deleting the directory first so an old CvAltRoot.py remained behind.

That did it. Now to see once I make contact with another Civ (not a minor), if I can dialog with him/her.

Thank you so very much.

BTW it was hidden in a Civ Asset file that my file manager didn't pick up.

Buck
 
Started new game by ~ turn 12 - 14 CTD.

I think I might be done with this version. :(

JosEPh
 
Started new game by ~ turn 12 - 14 CTD.

I think I might be done with this version. :(

JosEPh

I can't reproduce any CTDs currently. Are you on the SBN yet or still using V17 base + the two patched files from the patches thread? Maybe its related to starting options - could you post a save that's exhibitting it really early on for you please.

Edit - you're also modifying civics right? It's possible that something in the asset modifications is triggerinh something too I guess
 
Everytime i TRY to use Revolutions i get this error message?

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "Revolution", line 565, in onBeginPlayerTurn
File "Revolution", line 652, in checkForRevReinforcement
File "Revolution", line 952, in doRevReinforcement
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'


Also DH, the partisans didnt change the pink is still there, i will look at it, because the unit itself is the same as the AK47 one no need for another unit which exactly the same as another be put in the core, so will also change the ArtDefine etc.
 
Code:
Traceback (most recent call last):
  File "BugEventManager", line 363, in _handleDefaultEvent
  File "RevEvents", line 127, in onEndGameTurn
  File "RevEvents", line 901, in checkForAssimilation
ZeroDivisionError: integer division or modulo by zero

This is written in it.

I put a fix for this in the SVN. I just exit the function if the value is zero. Not totally sure this was the correct thing to do but looks right

On another note I get a repeatable CTD in the save. Just press enter. latest SVN (833) with no changes by me, but I am getting an XML error when loading.
 
Everytime i TRY to use Revolutions i get this error message?

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "Revolution", line 565, in onBeginPlayerTurn
File "Revolution", line 652, in checkForRevReinforcement
File "Revolution", line 952, in doRevReinforcement
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'

As far as I can see the problem is occurring when RevDCM is reading from the save file. I need to look further, when my head is clearer. I will assume that the Maximum Compatibility Format we use does not cause problems with information stored by mods. Exp since I am not getting the problem. ;)
 
the same place - but do you have logging enabled? if not open my games\bts\civilizationIV.ini and search for all items with log in their name and set them from 0 to 1 - then start the game and once the error occurs quit and look in my games\bts\logs\
 
repeatable CTD on end turn with svn revision 831.
If reverted to 825 (before latest DLL change) - it works.

I can't get this to crash - it's playign through fine for me.

I put a fix for this in the SVN. I just exit the function if the value is zero. Not totally sure this was the correct thing to do but looks right

On another note I get a repeatable CTD in the save. Just press enter. latest SVN (833) with no changes by me, but I am getting an XML error when loading.

Same thing. It plays fine for me.

In both of your cases I see that you have alternative timelines and/or DH extra stuff enabled however, which I don't. It's possible therefore that the issue is being triggered by the alt timeline/extras stuff. How do I turn that on to check? Also both of these games are using leaderheads I don't have (so my load replaces them with otherleaders, which shouldn't matter but you never know) so I assume you are also using the extra leaderheads?

@Koshling,
See post 478. Complete save which I can not get past. V17 base with 9-30 .dll and DH's Assets file plus the Civ4CivicsInfo file I'm using.

JosEPh :(

Edit: Last autosave before CTD in New game.

Edit2:http://forums.civfanatics.com/attachment.php?attachmentid=303597&d=1317858725 CTD in 1st game that I can not get past.
http://forums.civfanatics.com/attachment.php?attachmentid=303605&d=1317861974 Civ4Civics file used for Both games.

This is not a max compat save so I cannot load it. You need to load it youself, save it as max compat and then post that.

The one from post 478 loaded and ran ok for me, so either it has an issue fixed in the SVN, or it's intermittent in some way.
 
newest svn, defeated on first turn, map all black, can still load saved games
Looks like the changed function to calculate city spot value is also called in the function that finds starting plots. It fails now and as a result no one gets starting positions and units and without units you are defeated at once.
As a workaround until that is fixed use a map script that has its own starting plot finder like PerfectMongoose.
 
In both of your cases I see that you have alternative timelines and/or DH extra stuff enabled however, which I don't. It's possible therefore that the issue is being triggered by the alt timeline/extras stuff. How do I turn that on to check?
In both of these files:
Code:
Modules\Alt_Timelines\MLF_CIV4ModularLoadingControls.xml
Modules\Alt_Timelines\Dangers_Of_The_Deep\MLF_CIV4ModularLoadingControls.xml
Modules\DancingHoskuld\MLF_CIV4ModularLoadingControls.xml
Modules\DancingHoskuld\Xtras\MLF_CIV4ModularLoadingControls.xml
Modules\DancingHoskuld\Xtras\Units\MLF_CIV4ModularLoadingControls.xml
change any
<bLoad>0</bLoad>
to
<bLoad>1</bLoad>


That's something changed in r826 dll which causes CTD.
 
In both of your cases I see that you have alternative timelines and/or DH extra stuff enabled however, which I don't. It's possible therefore that the issue is being triggered by the alt timeline/extras stuff. How do I turn that on to check? Also both of these games are using leaderheads I don't have (so my load replaces them with otherleaders, which shouldn't matter but you never know) so I assume you are also using the extra leaderheads?

I am not using extra leaderheads as far as I know. It looks like it may be time for me to do a full sync back to the SVN.
 
Status
Not open for further replies.
Back
Top Bottom