Bug Reports and Technical Issues

Eesh, sorry, I don't have any previous autosaves. I tend to play short, fast, ancient games, and I clean out the autosaves to cut down on clutter. In the future I'll put them aside, though, in dedicated folders for just such occasions. Attached is the overflow save. The problematic city is Incan.
At the risk of repeating myself, do you still have previous saves for that game? The error likely occurred when the Inca flipped Tiwanaku, so I need a save from before that.
 
Sorry, no, I don't. If something goes wrong with future games, though, I will have previous saves stored away for you. I've already set up the folders.
 
Alright, thanks.
 
Yeah, it does not count resources controlled at the beginning of the game, you need to wait one turn.
 
Okay, I got a fun one for you. I'll explain the fun in a moment.

Basics: Attached is a Turn 256 save. For me it doesn't load -- the game crashes to desktop when trying to load from the game menu. Turn 255 should load, and I've also got saves of Turns 254, 253 and 252, and even earlier ones if you need them.

The fun part. I think the problem is an attempted Chinese respawn. I say that, because I went back and loaded up Turn 252 and played forward, saving at 253, etc., as I went. When I ended Turn 255, the game paused and thunk real hard. Then it told me, "Chinese cities have declared their independence, shall we let them go?"

Why is that fun? Because I'm playing Egypt, and I don't have any cities east of Sinai, and the Chinese never even got an emissary over to me. I said yes, and the game proceeded.

It probably won't happen to you if load up Turn 255. After that weird announcement, I loaded Turn 255 again. Again, I got the long pause while the game did some calculations, but then it proceeded into Turn 256 without any kind of announcement.
 

Attachments

That really looks like fun, will try it for myself later.
 
I will note 255 is the exact last turn where 32 bytes are used to store how many turns there is. After that, if the system doesn't already, it is using either a 64 byte chunk of data, or it is using 2 chunks of 32 and adding the values together. So the fact the issue triggers only at those turns might not be unrelated.
 
That's very unlikely though, turns are always integers in the code, which can take values up to 2^31-1.
 
Currently unhealthy calculations from terrain improvements are behaving strangely. Game doesn't count towns more than once per city, but if you lost city and reconquer it, or build park/mass transit then calculations fit. Sometimes even mines have this problem.
 
What do you mean with "more than once"? Every improvement should only count once. Can you show me a save where it's wrong?
 
What I mean if you have say 3 towns and 4 mines you get 1 or 4 or whatever strange inconsistent number of unhealthiness. I will upload save from India game when I was testing new mechanics.
 

Attachments

Last edited:
Thanks, let's see what's going on there.
 
Hi! With the last git pull i cannot open the 600 AD scenario. Instead I get: Failed to read the worldbuilder save etc... then a CTD.
Any idea to fix it?
 

Attachments

  • Civ4ScreenShot0000.JPG
    Civ4ScreenShot0000.JPG
    199.5 KB · Views: 64
The git FAQ in the welcome thread has the solution to this problem.
 
Back
Top Bottom