Save Games for BUG Testing

ruff_hi

Live 4ever! Or die trying
Joined
Oct 24, 2005
Messages
9,135
Location
an Aussie in Boston
A new thread! Always good to start a new thread. Anyway, this thread is for saves that are illustrating a BUG feature or one of those undocumented features (ie bug).
 
Here is a save that reports a city becoming unhealthy the turn it recovers from being poisoned. Or it could be reporting that it is now healthy - who knows. The city in question is the one to the North that has 2 gems.
 

Attachments

Here is a save that reports a city becoming unhealthy the turn it recovers from being poisoned. Or it could be reporting that it is now healthy - who knows. The city in question is the one to the North that has 2 gems.

I get a CTD with that save. Is there anything special about it? I opened another save and it worked fine (the save, not this bug you're talking about). I looked at the code and I think I found the bug.

On line 548 of Civ4lerts.py, _willPassTest() compensates for the poisoned water counter, but I think it's doing it backwards. Try changing it to "+= 1" and test your save.

Code:
iHealthRate = city.healthRate(False, iExtra)
if (city.getEspionageHealthCounter() > 0):
	[B]iHealthRate += 1[/B]
return iHealthRate < 0

If this doesn't fix it, could you precisely say what BUG is telling you and when? For example, "BUG says the city will become healthy on the next turn 1 turn too early."
 
F5 Privateer / worker selection issue
 

Attachments

stupid 10 character rule!
 

Attachments

I have a save where someone asks to become my vassal - I cannot post it here as it is part of a tournament - if you want it - ping me and I will email it to you.

The 'please look after me' screen only gets half built - looks like a python error gets generated somewhere.
 
EF forwarded me the save. Thanks for this, it identifies 2 bugs; one major (wrong number of arguments in the VassalOffered handler) and one minor (parsed the wrong thing in gift offer handler). Expect a fix soon.
 
Back
Top Bottom