Common Errors and/or Crashes Section

Status
Not open for further replies.
Well that would be as expected. If you turn on alt timelines you chnage the assets that get loaded. You can't load a non-max-comopat save across an asset change.

Won't even load if I change the settings back.

Noted though. Thanks for the reply.
 
It slows down noticeably if you ahve autosave every turn. Anyway, there IS already a global define to turn it on always.

In Assets/xml/A_New_Dawn_GlobalDefines.xml change the '0' below to a '1':
Code:
	<Define>
		<DefineName>ALWAYS_USE_MAX_COMPAT_SAVES</DefineName>
		<iDefineIntVal>0</iDefineIntVal>
	</Define>
Yeah i did it after that option is come. I just see people saying about problems related to that they don't have max compat. saves enabled.
 
I just did. I must have missed the original post. I will look at it after breakfast or my coffee. ;)

Edit: haven't had my coffee but I am reproducing your error. It is the function setIsMinorCiv on team in BarbarianCiv. I can't find that function in the doco of C++ exposed to Python but it is called twice.

@Koshling do you know if setIsMinorCiv a valid function on the cyTeam in the current C++? Or is it perhaps something RevDCM added? If it is available then I would need to know what the parameters are to go further with this.

Fix pushed to SVN. The issue was when promoting to a minor civ it checks all civs it has previously met to set the atWar status against them to true at the start of the minor's existance as a minor civ. If one of those civs is already dead at this point this crash occured.

@Bill - do you have SVN access or do you need me to post this DLL as a standalone?
 
In the game i have yes, i haven't tried another game then on sorry. I will start a new one and see. But i have been sick lately, i tore something in my back severely and am on a few more (doctor approved) inflammatory/pain pills, so i have not been able to move around much lately.

EDIT: OK re-tested and YES it does it in the SAME exact spot on a different map and game also.

I cannot reproduce this - your save game works fine and gives the tech splash screen fine for me. Based on terh Python at the lines indicated in your traceback and the fact it doesn't happen to me, it pretty much has to be an error in the XML/art assets you are running against. It also has to relate to some building that is enabled by ORAL_TRADITION. Given the problems someone else had with one of the myth buildings due to the use of 'LIZARD' instead of 'REPTILE' my best guess is that you still have that issue in the assets you are using.

Edit (@DH and SO) - Latest assets had a LIZARD_MYTH bad ref in them, which I have just pushed correction to to SVN - see if that clears up your issue.
 
I cannot reproduce this - your save game works fine and gives the tech splash screen fine for me. Based on terh Python at the lines indicated in your traceback and the fact it doesn't happen to me, it pretty much has to be an error in the XML/art assets you are running against. It also has to relate to some building that is enabled by ORAL_TRADITION. Given the problems someone else had with one of the myth buildings due to the use of 'LIZARD' instead of 'REPTILE' my best guess is that you still have that issue in the assets you are using.

Edit (@DH and SO) - Latest assets had a LIZARD_MYTH bad ref in them, which I have just pushed correction to to SVN - see if that clears up your issue.

That is from I file I forgot to delete.:blush:
 
Don't know if I answered these so here goes...

Build 725

Jungle camp is available with naturopathy, good change.
But gatherers can´t build any jungle camps, so they remain unavailable till sedentary lifestyle; i guess this is not intended.

Wonder movies / religion movies: Dosan Seowon is blank pink screen; Ngaii founding splash shows nothing.

If mermaids are i the game, salt water crocs are pretty much non-existant. maybe there´s a tweak needed.

Wonder: Topkapi needs a new bonus; getting a UU from a vassal doesn't work anymore.

Building tunnel: if you play with hide obsolete worker actions the tunnel is not available, this should be fixed since tunnels never get obsolete

I will add an action so that gatherers can build jungle camps and be consumed in the process. Done

The Ngai founding movie one was broke and has been removed.

Still need to check the Dosan Seowon movie.

I have been changing the saltwater croc spawn but haven't got it right yet, they are still too few, but at least they only stat in the tropics.

Topkapi - I have not stated on yet.

No idea about the tunnel building button - I have not looked at it yet.

New build is needed, then. Building jungle camps should consume gatherers like other prehistoric improvements.

I noticed that buildings of custom religions don't get bonus with State Church and Church civics.

Stated work on giving the custom religions the same civic bonuses as the standard religions. Done
 
I'm getting this second time in my last game. Something is wrong.

d4cc0ff53f77.jpg
 
@Sleeeper:I've seen this before in games of mine, and I think what happened here is a Revolution occurred either in your empire or your vassals, resulting in a a new Civ being formed and declaring war on you, but it was also crushed in the same turn.
 
I'm getting this second time in my last game. Something is wrong.

It happens when a barbarian city becomes a minor nation but you have not met them. Minor nations are at war with everyone. you have not met them so you don't know who they are. Hence the blank in the name.

I don't know if it is a python or dll error as I have not investigated it.
 
Some animal art is messed up in SVN r751.
See pic.
I entered worldbuilder and checked a few. Bison, aurochs, onager, wild boar, camel (possibly others too) also wrong.

EDIT:
Maybe it is not a bug/error.
This was on low graphic setting. If I change graphic settings to medium or high, the art is good.
 

Attachments

  • Civ4ScreenShot0002.JPG
    Civ4ScreenShot0002.JPG
    483.5 KB · Views: 60
Desolator, thats because of your low graphics changes to what the unit was Originally made from, no bug or error, just LOW graphics/single unit.

@Koshling:

I got a CTD on the next turn?

fixed thx.
 
So I started a new game after updating my SVN and poof! Crash on the first turn when I pushed enter. So I loaded my save and poof it did it again! :badcomp: (See Attachment)

Fix pushed to SVN (it was a screw up in my changes yesterday that didn't handle the case of civs with no cities founded yet :blush:)

Desolator, thats because of your low graphics changes to what the unit was Originally made from, no bug or error, just LOW graphics/single unit.

@Koshling:

I got a CTD on the next turn?

Also pushed a fix for this, which was a bug in RoM code related to evaluation of state religions. I suspect this has been triggered by some asset changes in civics since you started the game, since it thinks you have a noStateReligion count of -1 ! (i.e. - that amongst all your civic choices -1 of them are no-state-religion). This usually happens when a civic's defintion gets changed in the assets between when you start using it and when you stop using it.

See my post elsewhere (I forget which thread it was!) abou adding a force-recalculate command to use after asset changes.
 
Fix pushed to SVN (it was a screw up in my changes yesterday that didn't handle the case of civs with no cities founded yet :blush:)

That fixed that problem, however now I get non-repeatable CTDs. I have no idea why. Note I am just playing the same game I posted before, just now some turns later. I have to save often since some times it take 5 turns and sometime 50 tuns before it crashes.
 
That fixed that problem, however now I get non-repeatable CTDs. I have no idea why. Note I am just playing the same game I posted before, just now some turns later. I have to save often since some times it take 5 turns and sometime 50 tuns before it crashes.

I am also getting this sort of non repeatable CTD. :( No error messages which makes it even harder to track.
 
I am getting crashes when I end the first turn of a new game. Any map script or variation of custom game options.
I am using the latest SVN.

Update: It seems to coincide with the appearance of the welcome message about the C2C options.
I did a full SVN download and still get the error. Am I the only one? Weird...

Update pt 2: Updated to latest SVN, still crashing at the end of the first turn. Boo.

Update pt 3: I always use custom game/scenario. I find that if I use play now, I can make it past the first round. But who wants to NOT use custom game/scenario? Seven wasted hours over the last two days makes me a sad little monkey.
 

Attachments

The attached save (max compat) crashes on finishing loading. It has done it 3 times now for me. It crashes when the loading bar is at the end of finishing, I don't get to do anything. I am fairly sure that none of my work in progress mods are in just the latest SVN.
 
That fixed that problem, however now I get non-repeatable CTDs. I have no idea why. Note I am just playing the same game I posted before, just now some turns later. I have to save often since some times it take 5 turns and sometime 50 tuns before it crashes.

Yeah i get the same thing here, i thought ist was the civic thing that Koshling )(has mentioned to be twice:twitch: now) luckily he did, cause i did forgot, DUH already:hammer2:, but apparently not?) So i just started a NEW game.

@Koshling, one thing that did happen in the last dll push is, the Battlefield Promotion if finally working the way it is supposed to, at least NOW i am getting some promotions when i fight early on-game.:)
 
The attached save (max compat) crashes on finishing loading. It has done it 3 times now for me. It crashes when the loading bar is at the end of finishing, I don't get to do anything. I am fairly sure that none of my work in progress mods are in just the latest SVN.
Running it in the debugger it triggers an assert in civics loading of a rebel player. The player seems to have several civic options set to NO_CIVIC. Then the code tries to take the default civic of the civ for that category but that is not set for many civs (all?).
So it ends up trying to get item -1 of an array which is outside that array and can cause all kind of weird things.
My guess is that the new civic choice code for AIs does not always choose a civic or chooses the default initial civic of the civ (-1 for lots of categories).
 
Status
Not open for further replies.
Back
Top Bottom