Free building works in most cases, I've only seen the bug happen with the "Water Pipes"/"Department of Water" just as DH reported.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?
Hmm looks like prereq checking is wonky somewhere.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.
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.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.
It seems like Grove is replaced by something, and something else that replaces something doesn't replace Grove.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.
Removed this requirement from freight.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.
In my case they areboth on the same continent and the territory is all mine.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.
For autobuildings/bonus buildings, I believe if the ConstructionRequirements tag (or something like that) is used, it applies. Other prereqs don't.Hmm looks like prereq checking is wonky somewhere.
Yeah that's strange!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.
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.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.