felix2felix
Chieftain
- Joined
- Jul 21, 2007
- Messages
- 3
I mean after giving the last order to the worker.
At my pc the AI starts calculating
'waiting for other civs'
and then: desktop
Just an observation :
It's still possible that this is not actually a real Civilization 4 bug. The savegame might also have been corrupted due to some hardware issues, like faulty Ram and/or Harddisc. I'd say let's wait until some more people produce that bug on their own.
in the savegames is nothing stored that matters to your hardware..even if integers, floats, long ints, or any other value would exceed it's boundaries, that should have either been captured by a decend code(cut off the overflow) that either prevents it from crashing or at least notifying the user because the loss of data IMHO..
FAssertMsg(eUnit != NO_UNIT, "Unit is not assigned a valid value");
if(eUnit == NO_UNIT) {
FAssertMsg(eUnit != NO_UNIT, "Unit is not assigned a valid value");
return NULL;
}
Hmm.. seems like Hannibal has somehow ended up with a combination of techs that makes it impossible to draft any kind of units..
He tries to split off a new civ as colony (Spain), and when the game tries to add draftable units as free defenders in the new cities, it crash because there is no possible drafable units..
if any modders want to fix the crash, then change this code early in
CvPlayer::initUnit()
toCode:FAssertMsg(eUnit != NO_UNIT, "Unit is not assigned a valid value");
Code:if(eUnit == NO_UNIT) { FAssertMsg(eUnit != NO_UNIT, "Unit is not assigned a valid value"); return NULL; }
Yes there isI'll try modding it myself.... (I still want to beat those sneaky basterds) Is there a guide to be found somewhere?
This seems to work OK for me....I tried editing the CvPlayer file as you suggested and I'm still having the problem, so it either doesn't work, I edited it wrong or I'm having a completely different problem with my colonies. I've included the save so if you're interested try and make the two cities on the island to the east of my main empire (Entremont and the other one) into their own colony and see what happens.
EDIT: Nevermind, I think my problem may actually be stemming from faulty leaderheads.