Single Player bugs and crashes v40 plus (SVN) - After Oct 2019

Unless the mini was generated by an SVN user, the dll and pdb files on the SVN for a given revision is identical for anyone who has that revision; so if we know what SVN revision the mini was generated on we can use it.
Is the PDB saved still on the SVN? If so, you're right and that's good to clarify. Thanks!
Heres a dump for the random crashes.
Are you working on an SVN version and if so what was the revision number?
 
I'll look into it over the weekend. Thanks! Hopefully I can get something useful for debugging from this. Even in the best of situations minis are a little unreliable as sources of information for debugging but sometimes it at least points in the right direction.
 
Just would like to add, I've started a new game with some different game settings (disabled some different things, I think) and I haven't gotten a single crash since I started. Not sure what settings they are, though.
 
The TERRAFORM_TUNDRA build converts FROM tundra to taiga, but the text says "Terraform towards Tundra". Similarly the _PERMAFROST one says "Terraform towards Permafrost", but terraforms away from it.

I couldn't find a build that terraforms Ice terrain. Should there be one?
 
The TERRAFORM_TUNDRA build converts FROM tundra to taiga, but the text says "Terraform towards Tundra". Similarly the _PERMAFROST one says "Terraform towards Permafrost", but terraforms away from it.
Apparently those two were changing terrain to wrong one.

Those are now fixed in Github.
 
Thanks. So did you add a "Terraform towards Taiga"?
Not yet.

It seems like those terraforming builds are messed up a bit:
Grassland/Muddy -> Lush
Marsh -> Muddy
Plains -> Grassland
Scrub/Taiga -> Plains
Tundra -> Tundra
Ice -> Permafrost
Barren -> Rocky
Badland/Desert -> Scrub
Dunes -> Desert
Salt Flats -> Dunes

Lush is best terrain, so there should be 16 other types that can be terraformed.
Grassland, Plains, Barren, Badland, Desert, Scrub, Dunes, Salt Flats, Taiga, Tundra, Ice, Marsh, Muddy is here.
Rocky, Jagged, Permafrost isn't available for terraforming.

So Tundra should be towards Taiga.
And Permafrost should be towards Tundra.
Rocky and Jagged could be added to one terraforming towards some other terrains.

That is:
Barren/Jagged -> Rocky
Tundra -> Taiga
Permafrost -> Tundra (not Tundra -> Tundra)
Plains/Rocky -> Grassland

Toffer, if you are reading this, those improvements serve as terrain limiter for terraforming builds.
For example terraform towards Dunes build action could be done on Salt Flats only.

Fixed it in Github.
Now you can terraform any land terrain to Lush:
Grassland/Muddy -> Lush
Marsh -> Muddy
Plains/Rocky -> Grassland
Scrub/Taiga -> Plains
Tundra -> Taiga
Permafrost -> Tundra
Ice -> Permafrost
Barren/Jagged -> Rocky
Badland/Desert -> Scrub
Dunes -> Desert
Salt Flats -> Dunes

Salt Flats -> Dunes -> Desert -> Scrub -> Plains -> Grassland -> Lush
---Ice -> Permafrost -> Tundra -> Taiga -> Plains -> Grassland -> Lush
-------------------Barren/Jagged -> Rocky -> Plains -> Grassland -> Lush
----------------------------Badland -> Scrub -> Plains -> Grassland -> Lush
------------------------------------------------------------Marsh -> Muddy -> Lush
Spoiler :

Civ4BeyondSword 2020-05-15 17-58-35-23.png
Civ4BeyondSword 2020-05-15 17-59-27-66.png

 
Last edited:
Not yet.

It seems like those terraforming builds are messed up a bit:
Grassland/Muddy -> Lush
Marsh -> Muddy
Plains -> Grassland
Scrub/Taiga -> Plains
Tundra -> Tundra
Ice -> Permafrost
Barren -> Rocky
Badland/Desert -> Scrub
Dunes -> Desert
Salt Flats -> Dunes

Lush is best terrain, so there should be 16 other types that can be terraformed.
Grassland, Plains, Barren, Badland, Desert, Scrub, Dunes, Salt Flats, Taiga, Tundra, Ice, Marsh, Muddy is here.
Rocky, Jagged, Permafrost isn't available for terraforming.

So Tundra should be towards Taiga.
And Permafrost should be towards Tundra.
Rocky and Jagged could be added to one terraforming towards some other terrains.

That is:
Barren/Jagged -> Rocky
Tundra -> Taiga
Permafrost -> Tundra (not Tundra -> Tundra)
Plains/Rocky -> Grassland

Toffer, if you are reading this, those improvements serve as terrain limiter for terraforming builds.
For example terraform towards Dunes build action could be done on Salt Flats only.

Fixed it in Github.
Now you can terraform any land terrain to Lush:
Grassland/Muddy -> Lush
Marsh -> Muddy
Plains/Rocky -> Grassland
Scrub/Taiga -> Plains
Tundra -> Taiga
Permafrost -> Tundra
Ice -> Permafrost
Barren/Jagged -> Rocky
Badland/Desert -> Scrub
Dunes -> Desert
Salt Flats -> Dunes

Salt Flats -> Dunes -> Desert -> Scrub -> Plains -> Grassland -> Lush
---Ice -> Permafrost -> Tundra -> Taiga -> Plains -> Grassland -> Lush
-------------------Barren/Jagged -> Rocky -> Plains -> Grassland -> Lush
----------------------------Badland -> Scrub -> Plains -> Grassland -> Lush
------------------------------------------------------------Marsh -> Muddy -> Lush
This will all be good info to know and we'll be needing to expand on it with multimaps stuff eventually - can you put a post with this info in the modder's docs thread please?
 
This will all be good info to know and we'll be needing to expand on it with multimaps stuff eventually - can you put a post with this info in the modder's docs thread please?
Yeah, there are some terraforming stuff in space too.
 
Yeah, there are some terraforming stuff in space too.
Yes and I have some concepts as to how we're going to expand on that further soon. The playthrough we followed pointed out some needs. By soon, I mean, y'know... 'ventually.
 
Using SVN 11174 and I have found that the Da Vinci tank no longer reduces city's protection. I was attacking a city with 325% protection (i.e. the 'reduce city protection' option is present in the list of available actions). I get the nice messages telling me how much the tanks have reduced the city's protection but the values never change from 325%.
Attached a saved game where I am Canada from the Civ MegaPack.
 

Attachments

Using SVN 11174 and I have found that the Da Vinci tank no longer reduces city's protection. I was attacking a city with 325% protection (i.e. the 'reduce city protection' option is present in the list of available actions). I get the nice messages telling me how much the tanks have reduced the city's protection but the values never change from 325%.
Attached a saved game where I am Canada from the Civ MegaPack.
You'd be attacking a city with too strong bombard defense value for that unit to overcome. I'll be reviewing that mechanic when I get back into the code for unit interactions after the unit planning I'm doing. I think applying a law of diminishing returns to bombard defense would be more effective than a flat % limit but currently that % limit is located in a global value you can easily adjust downward to suit your needs. look for the words bombard and defense in the global xml files and I'm sure you'll identify it quickly.
 
Sea hunting is still broken, but I think I at least narrowed it down to its cause -
The attack odds calculation seems to be broken for autohunt for sea units - Setting the minimum odds to 5% (haven't checked the min/max range on that, just went very low for the test) makes automated hunting for sea units work again (Combat odds are above 99% when manually attacking).
 
Sea hunting is still broken, but I think I at least narrowed it down to its cause -
The attack odds calculation seems to be broken for autohunt for sea units - Setting the minimum odds to 5% (haven't checked the min/max range on that, just went very low for the test) makes automated hunting for sea units work again (Combat odds are above 99% when manually attacking).
Yeah, it's well known that odds that go under 1% are causing hunting targeting to fail in automations. Will find and fix someday.
 
Back
Top Bottom