Iskar Jarak
Chieftain
I am getting crashes if I try to start the Wages of Sin scenario, patch J, evil path.
hi all!
Again the annoying me ^^
i am currently playing the svartalvar (or dark elves) and i have a mine under my control that sits atop an iron resouce, but it is not recocnized by the game ... Still telling me, i got no iron ... Save game attached, eventually this is a bug ...
I guess the tooltip needs to be reworked, as smelting tech states, that is reveals iron, which it does, but the resource is not shown in the city screen, iron working is being researched right now, but the tooltip does not state, that this tech is required to gain access to this resource ...
Anyways, happy new year to every1 ...
Regards
hahnholio
Okay, I'll be sure to keep letting you know how things have been going. Thus far, I've had to do 4 tiger deletions this game. I'm saving between every turn, and the last 2 times it's been 2-3 turns between crashes.
Ben,
I generally don't try to 'fix' games on huge maps, it just takes too long. As you did, I poked around for 'obvious' issues.
One common bug we have seen if that the game crashes after the Avatar of Wrath appears. I'm not sure if this event has happenend in your game; the AC is at 89, and there are some units in the middle of the map that looks like they have turned barbarian. Conversely, there should be more barbarian units if the Avatar of Wrath appeared and I don't see it on the map.
If you did run into the Avatar of Wrath bug, I've never been able to fix it.
Sorry.
Breunor
I am getting crashes if I try to start the Wages of Sin scenario, patch J, evil path.
Please do not post issues with the scenarios in this thread. Post them in this subforum: http://forums.civfanatics.com/forumdisplay.php?f=332
Hello,
I'm not sure the best way to debug this, but it appears that in the attached savegame the game will consistently crash then the new turn starts. I suspect it might have something to do with the AI Hippus casting Rust or Summon Tiger, but maybe that has nothing to do with it.
To reproduce:
Load game.
Hit Enter to end turn.
Civilization crashes.
It seems to happen more or less consistently, though I may have set the options to new random seed at reload, so perhaps it might rarely not crash. I have the blue marble terrain on if that makes any difference.
@Sephi:
What's up with these two rows?
It's in CvEventManager in onBeginPlayerTurn
http://pastebin.com/m560f5fc9
if (bIncludeForcedGold)
{
if (getCivilizationType() == GC.getDefineINT("CIVILIZATION_KHAZAD"))
{
int addGold=0;
int iNumCities = getNumCities();
if (GC.getDefineINT("TECH_TAXATION") != NO_TECH)
{
if (isHasTech(GC.getDefineINT("TECH_TAXATION")))
{
addGold += iNumCities * 150;
}
}
if (GC.getDefineINT("TECH_TAXATION") != NO_TECH && GC.getDefineINT("TECH_FESTIVALS") != NO_TECH)
{
if (isHasTech(GC.getDefineINT("TECH_WAY_OF_THE_EARTHMOTHER")) || isHasTech(GC.getDefineINT("TECH_FESTIVALS")))
{
addGold += iNumCities * 150;
}
}
[COLOR="Red"]CvCity* pCity = getCapitalCity();
if (pCity->getPopulation() < 6 && pCity->angryPopulation(1) > 0 && pCity->foodDifference(false) > 1)
{
addGold+=getGold();
}
iGold += addGold;[/COLOR]
}
}
[COLOR="red"]if (iNumCities > 0)
{[/COLOR]
CvCity* pCity = getCapitalCity();
if (pCity->getPopulation() < 6 && pCity->angryPopulation(1) > 0 && pCity->foodDifference(false) > 1)
{
addGold+=getGold();
}
iGold += addGold;
[COLOR="red"]}[/COLOR]
This can occur in any game (although, as you said, rarely) so it definitely needs to be fixed. I haven't had it happen to me (yet), and I don't think it's been reported, but someone is bound to experience it eventually.bIncludeForcedGold is only set to true if it's turn 40 or later. So this assumes that the Khazad will have a capital city after turn 40. Unfortunately, there are three circumstances where this might not be possible:
1. If the game has Require Complete Kills turned on, with a Khazad AI that has lost all of its cities. (This is pretty unlikely, but not impossible).
2. If the game has a Khazad AI that has not yet settled by turn 40 (Even less likely to happen).
3. If the game is a scenario where there is a Khazad AI with no cities (like Dungeon Adventure, would only happen in modmods).
I was a little amused at your post - no, it is not the rust spell, it is the summoned tiger bug causing the crash. Specifically it was being caused by the tiger in the Hippus city of Radonnor. I removed it. However, we don't knwo yet if this means you will run into more summoned tiger bugs later so please let us know.
Here is a fixed file.
Best wishes,
Breunor
Thanks,
Is there a trick for determining the underlying issue when this happens (perhaps a FAQ somewhere)? I'm kind of ignorant when it comes to debugging python/Civ4 mods. I assume the Visual Studio debugger isn't going to help.
Thanks,
Is there a trick for determining the underlying issue when this happens (perhaps a FAQ somewhere)? I'm kind of ignorant when it comes to debugging python/Civ4 mods. I assume the Visual Studio debugger isn't going to help.
Python will never cause a crash.