1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

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

Discussion in 'Bugs and Crashes' started by Thunderbrd, Oct 20, 2019.

  1. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    27,408
    Gender:
    Male
    Location:
    Las Vegas
    Is the PDB saved still on the SVN? If so, you're right and that's good to clarify. Thanks!
    Are you working on an SVN version and if so what was the revision number?
     
  2. Toffer90

    Toffer90 C2C Modder

    Joined:
    Oct 16, 2011
    Messages:
    6,716
    Location:
    Norway
    Yes it is. ^^
     
  3. makotech222

    makotech222 Warlord

    Joined:
    Mar 18, 2012
    Messages:
    234
    I believe it is from SVN-11168. I pulled from the git repo.
     
  4. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    27,408
    Gender:
    Male
    Location:
    Las Vegas
  5. raxo2222

    raxo2222 Time Traveller

    Joined:
    Jun 10, 2011
    Messages:
    7,519
    Location:
    Poland
    @makotech222 must upload his own dll and pdb files.
    This is how billw was debugging other github saves.
     
  6. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    27,408
    Gender:
    Male
    Location:
    Las Vegas
    Ah... yeah that would work.
     
    raxo2222 likes this.
  7. makotech222

    makotech222 Warlord

    Joined:
    Mar 18, 2012
    Messages:
    234
    Attached
     

    Attached Files:

  8. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    27,408
    Gender:
    Male
    Location:
    Las Vegas
    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.
     
  9. makotech222

    makotech222 Warlord

    Joined:
    Mar 18, 2012
    Messages:
    234
    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.
     
  10. Yudishtira

    Yudishtira Spiritual/Creative

    Joined:
    Nov 2, 2012
    Messages:
    2,713
    Location:
    Brisbane
    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?
     
  11. raxo2222

    raxo2222 Time Traveller

    Joined:
    Jun 10, 2011
    Messages:
    7,519
    Location:
    Poland
    Apparently those two were changing terrain to wrong one.

    Those are now fixed in Github.
     
  12. Yudishtira

    Yudishtira Spiritual/Creative

    Joined:
    Nov 2, 2012
    Messages:
    2,713
    Location:
    Brisbane
    Thanks. So did you add a "Terraform towards Taiga"?
     
  13. raxo2222

    raxo2222 Time Traveller

    Joined:
    Jun 10, 2011
    Messages:
    7,519
    Location:
    Poland
    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: May 15, 2020
  14. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    27,408
    Gender:
    Male
    Location:
    Las Vegas
    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?
     
    raxo2222 likes this.
  15. raxo2222

    raxo2222 Time Traveller

    Joined:
    Jun 10, 2011
    Messages:
    7,519
    Location:
    Poland
    Yeah, there are some terraforming stuff in space too.
     
  16. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    27,408
    Gender:
    Male
    Location:
    Las Vegas
    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.
     
    raxo2222 likes this.
  17. Dionysis

    Dionysis Warlord

    Joined:
    Nov 22, 2002
    Messages:
    127
    Gender:
    Male
    Location:
    Canada
    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.
     

    Attached Files:

  18. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    27,408
    Gender:
    Male
    Location:
    Las Vegas
    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.
     
    Dionysis likes this.
  19. manivo

    manivo Chieftain

    Joined:
    May 6, 2008
    Messages:
    37
    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).
     
    Snofru1 and Yudishtira like this.
  20. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    27,408
    Gender:
    Male
    Location:
    Las Vegas
    Yeah, it's well known that odds that go under 1% are causing hunting targeting to fail in automations. Will find and fix someday.
     

Share This Page