Single Player bugs and crashes v38 plus (SVN) - After the 20th of February 2018

Bug: you cannot bomb the units in a city with air units if the city has a ship, or other high strength non land unit as the "visible" unit.
 
Two bits of strangeness

  1. I have built the Department of Water which gives free Water Pipes in all cities but in some cities I need to still build Water Pipes.

  2. Whenever I earn a Great Person it is always a Great Sleuth even though I should be getting an Engineer or Priest according to the GP bar.
 
1. That happened regularly to me, so I assumed "gives free X" is broken.
Maybe you still need to build X, but its cost is set to 1 internally?
@Thunderbrd how that exactly works?
Is cost of X reduced to 1, if you get free building X?
Or it works only in cities created after you built such wonder?

2. RNG decided to surprise you :p
 
1. Some do get it when they are built others don't. Most cities got them when the wonder was built. I am wondering if there may be a requirement on them that is causing the problem.

2. 3 G Sleuths in a row?
 
1. That happened regularly to me, so I assumed "gives free X" is broken.
Maybe you still need to build X, but its cost is set to 1 internally?
@Thunderbrd how that exactly works?
Is cost of X reduced to 1, if you get free building X?
Or it works only in cities created after you built such wonder?
Free building works in most cases, I've only seen the bug happen with the "Water Pipes"/"Department of Water" just as DH reported.
I think it's the great pyramid that gives free irrigation canals in all cities, that one is annoying because the irrigation canals gets built in cities with no rivers too, and the building has a decent maintenance upkeep.
 
Free building works in most cases, I've only seen the bug happen with the "Water Pipes"/"Department of Water" just as DH reported.
I think it's the great pyramid that gives free irrigation canals in all cities, that one is annoying because the irrigation canals gets built in cities with no rivers too, and the building has a decent maintenance upkeep.
Hmm looks like prereq checking is wonky somewhere.
 
I have that issue with DepWater and DepEducation, on cities i conquered, after i built the National Wonder
 
SVN 10128
I have built the Department of Water which gives free Water Pipes in all cities but in some cities I need to still build Water Pipes.
Same as above for me. May it be due to the fact that cities still requiring Water Pipes are on separate territory other than the city which have Department of Water? I mean there is a stripe of unclaimed land between mentioned cities.
Also, Grove building can't "stick" to the city. City has built Grove several times over now, but it doesn't show up in Buildings (built) list and it still shows in Available buildings list.
When I place this building through World Builder Editor, I break the game. This city start generating Great People at -94000 (yes, with minus) points per turn. Civ Score List start showing 0.0 military strength estimation. Some other problems may exist, too.
 
SVN 10128

Same as above for me. May it be due to the fact that cities still requiring Water Pipes are on separate territory other than the city which have Department of Water? I mean there is a stripe of unclaimed land between mentioned cities.
Also, Grove building can't "stick" to the city. City has built Grove several times over now, but it doesn't show up in Buildings (built) list and it still shows in Available buildings list.
When I place this building through World Builder Editor, I break the game. This city start generating Great People at -94000 (yes, with minus) points per turn. Civ Score List start showing 0.0 military strength estimation. Some other problems may exist, too.
It seems like Grove is replaced by something, and something else that replaces something doesn't replace Grove.

Edit: Grove is replaceable by both of this replacements.
Weird bug then.
 
The Supply Train is replaced by the Freight unit at Motorized Transport, but cannot be built without a Shopping District, which is not available until Consumerism is researched. This means that, between the times when Motorized Transport and Consumerism are researched, there is no hammer trader available to be built. Oddly enough, the Food Freight unit is available for building (no Shopping District requirement), which tells me that one or the other of these is an oversight. Personally, I'd remove the S.D. requirement for the Freight unit, as a shipper does not necessarily have to be shipping to such.
 
The Supply Train is replaced by the Freight unit at Motorized Transport, but cannot be built without a Shopping District, which is not available until Consumerism is researched. This means that, between the times when Motorized Transport and Consumerism are researched, there is no hammer trader available to be built. Oddly enough, the Food Freight unit is available for building (no Shopping District requirement), which tells me that one or the other of these is an oversight. Personally, I'd remove the S.D. requirement for the Freight unit, as a shipper does not necessarily have to be shipping to such.
Removed this requirement from freight.
 
SVN 10128

Same as above for me. May it be due to the fact that cities still requiring Water Pipes are on separate territory other than the city which have Department of Water? I mean there is a stripe of unclaimed land between mentioned cities.
Also, Grove building can't "stick" to the city. City has built Grove several times over now, but it doesn't show up in Buildings (built) list and it still shows in Available buildings list.
When I place this building through World Builder Editor, I break the game. This city start generating Great People at -94000 (yes, with minus) points per turn. Civ Score List start showing 0.0 military strength estimation. Some other problems may exist, too.
In my case they areboth on the same continent and the territory is all mine.
 
Hmm looks like prereq checking is wonky somewhere.
For autobuildings/bonus buildings, I believe if the ConstructionRequirements tag (or something like that) is used, it applies. Other prereqs don't.
 
In the case of Water Pipes I can build them in the city, so the question is why didn't I get them. I obviously have all the requirements. I even left it a few turns just in case it was a cache thing, but no I didn't get it for free and had to build it.
 
In the case of Water Pipes I can build them in the city, so the question is why didn't I get them. I obviously have all the requirements. I even left it a few turns just in case it was a cache thing, but no I didn't get it for free and had to build it.
Yeah that's strange!
 
two questions, where are minidumps placed after a game crash?
and How yall debugging the dumps? what do you guys use?
 
Nevermind. figured it out. I'm getting a crash to desktop pretty often. Dump led me to

CvSelectionGroup::mergeIntoGroup

Something about a thread not having access to a mem address. I'll see if I can fix maybe? I dunno.

Edit: Also seem to be getting an infinite loop bug on endturn. Not sure where its coming from, but i've hit it twice randomly so far.
 
Last edited:
Nevermind. figured it out. I'm getting a crash to desktop pretty often. Dump led me to

CvSelectionGroup::mergeIntoGroup

Something about a thread not having access to a mem address. I'll see if I can fix maybe? I dunno.

Edit: Also seem to be getting an infinite loop bug on endturn. Not sure where its coming from, but i've hit it twice randomly so far.
If you do fix it I'll need to add you to the team so you can commit the fix. I'm available for questions. What you explain is probably the standard bug where a reference is being called for that doesn't exist. You'll probably have to look at the stack list and track back to find out how a reference that doesn't exist was made possible to call for.
 
Back
Top Bottom