View Full Version : Version 1.10g CTDs


woodelf
May 13, 2006, 07:30 AM
I figured I'd start dropping them into one thread so Kael can find them easier.

This one has happened twice so I know it's there. The first time I simply went to desktop, the second I noticed the "war" coming sounds, it spun for a couple of seconds, and then went to desktop.

wilboman
May 14, 2006, 09:04 AM
Had a crash a fair while into the game, when hitting enter to go on to the next turn. Will see if I can reproduce, I'm just not bothered right now...

Kael
May 15, 2006, 03:50 PM
I figured I'd start dropping them into one thread so Kael can find them easier.

This one has happened twice so I know it's there. The first time I simply went to desktop, the second I noticed the "war" coming sounds, it spun for a couple of seconds, and then went to desktop.

Hmm... this is being caused by the Priest of Leaves trying to cast Summon Tiger. Im at a loss to figure out why there is a problem summoning the tiger. I created AI priests that summon them just fine and my own priests even in that game can make them. Hmm..

woodelf
May 15, 2006, 04:04 PM
On the bright side, that's my only CTD so far and including the SGs I've played 5 games! Not completely, but through 200 turns or so.

Chalid
May 15, 2006, 04:21 PM
I v an CTD here. The ai.log shows nothing unnormal.

Kael
May 15, 2006, 05:35 PM
Talchas,

Woodelf's CTD shows the following log:


[17624.383] AI_update(unit:UNIT_PRIEST_OF_LEAVES id:655414 turn:167 UNITAI:5
[17624.383] AI_updateSpellWeights - bonuses spell 2, bonus 0
[17624.383] AI_updateSpellWeights - bonuses spell 27, bonus 0
[17624.383] AI_updateSpellWeights - bonuses spell 68, bonus 0
[17624.383] AI_update - start call doMagicAttack
[17624.383] magicAttack(minStrRatN:2,minStrRatD:1
[17624.383] getSpellTypeValue, spell 68 type 5 base 6 percent 0 flat 0
[17624.383] getSpellTypeValue, spell 68 type 0 base 3 percent 0 flat 0
[17624.383] getSpellTypeValue, spell 68 type 5 base 6 percent 0 flat 0
[17624.383] getSpellTypeValue, spell 68 type 0 base 3 percent 0 flat 0
[17624.383] magicAttack - bestSpell is 68, value 260
[17624.383] getSpellTypeValue, spell 68 type 5 base 6 percent 0 flat 0
[17624.383] getSpellTypeValue, spell 68 type 0 base 3 percent 0 flat 0
[17624.383] getSpellTypeValue, spell 68 type 5 base 6 percent 0 flat 0
[17624.383] getSpellTypeValue, spell 68 type 0 base 3 percent 0 flat 0
[17624.383] magicAttack - bestSpell is 68, value 229
[17624.383] getSpellTypeValue, spell 68 type 5 base 6 percent 0 flat 0
[17624.383] getSpellTypeValue, spell 68 type 0 base 3 percent 0 flat 0


I tried moving up to your latest ffhspells cvgamecoredll.dll and it seems like it fixes the issue (though I have to jump through a few hoops to get it to work). So I suspect you may have already fixed this. But I was wondering if you see anything unusual in the above logging, if I delete the priest mentioned above, or remove his ability to cast the Summon tiger spell the ctd doesn't occur.

Kael
May 16, 2006, 04:30 PM
I don't knwo the cause of Woodelf's CTD but I built a full build on the 110g code from Talchas's latest spell system and it doesn't happen anymore. So whatever the bug is, Talchas fixed it.

Chalid's CTD was actually caused by Woodelf. Specifically Yavin the Wood Elf, one of the AI cities just completed building him and his art wasn't linked correctly, hence the CTD.

Keep them coming if you guys find any more issues.

talchas
May 16, 2006, 04:32 PM
It looks ok, but I don't have the tons of debugging statements that I use to find CTDs (I wanna stack trace :(), so there probably wouldn't be anything. Do other summons CTD, or just tiger?

Kael
May 16, 2006, 04:34 PM
It looks ok, but I don't have the tons of debugging statements that I use to find CTDs (I wanna stack trace :(), so there probably wouldn't be anything. Do other summons CTD, or just tiger?

Just the tiger and just in that instance. I couldn't get a ctd off of other tiger summons if I or the AI did it. Its possible since I didn't find the x factor that other summons in that same situation would have done the same thing.

Its not worth stressing about, its my fault for not staying up on your latest code.

woodelf
May 16, 2006, 04:36 PM
That is still my only CTD. :clap:

Corlindale
May 17, 2006, 09:29 AM
Got a reproduceable CTD in our current succession game. It kicks in at End of Turn, and I suspect it is because we are supposed to get a cultural victory in the following turn. Attached the save.

woodelf
May 17, 2006, 09:33 AM
:cry:

NOOOO!!!!

Well, that blows.

wilboman
May 17, 2006, 03:35 PM
Out of interest, has anyone here ever tried for a cultural victory before? Maybe this is connected with the victory condition.

woodelf
May 17, 2006, 03:55 PM
I never have. I've never won at all since I try new stuff, crash, try again.

wilboman
May 17, 2006, 03:58 PM
The CTD I mentioned earlier is the Yavin the Wood-Elf-crash, I'd say. But something else interesting is connected to Yavin:
First off, all cities can build him, simultaneously.
Second off, the city screens in towns that build him, don't display correctly. Change to something else, and they are back to normal.
Save file attached, for illustrative purposes.

wilboman
May 17, 2006, 03:59 PM
I never have. I've never won at all since I try new stuff, crash, try again.

Well, I know conquest is possible, since I ran through a painfully simple conquest victory just fine. And I think religion has worked in the older versions.

woodelf
May 17, 2006, 04:00 PM
Can we fixed Yavin's spelling to Yvain please. :)

Kael
May 17, 2006, 04:07 PM
Can we fixed Yavin's spelling to Yvain please. :)

Will do, here is his Pedia entry:


[TAB]His ideas and character often lead others to believe that Yvain may be from the moon instead of the forests he cares for. His eccentric nature leads him across Erebus, visiting secluded glades, talking to exotic animals and chasing nymphs across pebbled river banks.

[tab]Even some within the Fellowship question if Yvain has the sincerity his respected stature would seem to require of him, but none doubt that he is the most powerful Druid and the favored child of Cernunnos. It was Yvain that first dreamed of the Ancient Forests and who is the first to face every newly discovered wilderness. To everyone who delights in finding the wonders of this world, know that the Woodelf has walked through these places before, and that it is all the more amazing because of it.

woodelf
May 17, 2006, 04:09 PM
You failed to mention his fascination and rumored romance with Alexis...

Other than that it's perfect!

wilboman
May 17, 2006, 04:12 PM
Both Cultural and Religious Victories worked fine for me. I did cheat and use the WB, but that shouldn't matter, should it?

Kael
May 17, 2006, 04:37 PM
The CTD I mentioned earlier is the Yavin the Wood-Elf-crash, I'd say. But something else interesting is connected to Yavin:
First off, all cities can build him, simultaneously.
Second off, the city screens in towns that build him, don't display correctly. Change to something else, and they are back to normal.
Save file attached, for illustrative purposes.

You are right, it was Woodelfs crash (despite the fact that it was completly my fault Im blaming Woodelf since the unit is named after him). And your right about the multipel instances, I got that fixed.

wilboman
May 19, 2006, 05:59 AM
Both Cultural and Religious Victories worked fine for me. I did cheat and use the WB, but that shouldn't matter, should it?

Just played all the way to a cultural victory with Perpentach, no problems.

Kael
May 19, 2006, 06:50 AM
Just played all the way to a cultural victory with Perpentach, no problems.

Bumping this thread on release day! do you have any idea what you just did to my heart! ;)

wilboman
May 19, 2006, 07:18 AM
Ooops. Oh well, I'm sure it'll come in handy:p