Recent content by MacAurther

  1. M

    Bug Reports and Technical Issues

    Not sure if this has been mentioned, but in the develop branch, I don't think the Individualism civic's bFreeImprovementUpgrade effect works. I've looked through the code, and CvPlot::doImprovementUpgrade() is the method that should handle upgrading unworked improvements. However...
  2. M

    Bug Reports and Technical Issues

    Well, rather embarrassingly, I didn't look in the most obvious place. The cause is an intentional limit on specialist extra food in CvPlayer::getSpecialistExtraYield(): https://github.com/dguenms/Dawn-of-Civilization/blob/develop/CvGameCoreDLL/CvPlayer.cpp#L14036 I'm assuming this was an old...
  3. M

    Bug Reports and Technical Issues

    Not sure if this has been noticed yet, but on dev branch, it looks like the new SpecialistTypeExtraYields field has its food yield is capped at +1 food in cities, even though the tooltip in the Civic screen correctly displays the +Food in the XML. Production and commerce don't seem to be...
  4. M

    Modmodding Q&A Thread

    As a follow up/tangent, I think I've narrowed down a cause of the big speedbump I was encountering just by the process of guess and check - the updatePlotGroup() call in CvPlot::setImprovementType() seems to cause a major lag spike when a fort is added/removed in certain cases. While I'm not...
  5. M

    Modmodding Q&A Thread

    Does anyone know how to use Microsoft Visual C++ 2010 Express' profiler? I've checked the official documentation and any online posts I could find, but couldn't find details on the 2010 profiler. I can tell it's possible, as there's a build configuration called "Profile" in the CvGameCoreDLL...
  6. M

    Bug Reports and Technical Issues

    I think I may have found a bug in StoredData.py in the develop branch, at line 222: https://github.com/dguenms/Dawn-of-Civilization/blob/develop/Assets/Python/StoredData.py#L222 for civ in self.civs: data = player.__dict__.copy() civ.setup()...
  7. M

    Bug Reports and Technical Issues

    This took me longer to figure out that I'd like to admit, but I think there needs to be an "updateYield();" call within CvPlayer::changeUnimprovedTileYield(). I think the only reason this is working currently is the only Civic it's being used for is Elective, which also has an entry for...
  8. M

    Modmodding Q&A Thread

    Thanks for the help! I found the appropriate method, it's CvGameCoreUtils:: pathValid(). In it, there's a check for a DOMAIN_SEA unit moving from water to water, and it returns FALSE if a corner is not water. So, I just added in an additional check to see if the origin or destination terrain is...
  9. M

    Modmodding Q&A Thread

    I am (still working) on a modmodmod of DoC and am trying to implement a new terrain type: Wide River. I was really hoping I could find a way to make ships be able to path through corners of the Wide River terrain type (but not Coast and Ocean), as shown below. Unfortunately, I may have reached...
  10. M

    [WTP] Quick questions

    Thanks, and I will! Just curious if anyone here knows, but when I've tried to import unit/building graphics (NIF and KFM) from Civilization Colonization to Civ Beyond the Sword, I've had trouble. The unit models have weird vertex glitches where one or two vertices will shoot off the screen, and...
  11. M

    [WTP] Quick questions

    Just came back to WTP after a few years, and am impressed by the additions! Great work! I am working on my own mod for Beyond the Sword; would it be okay if I used some assets from WTP, such as terrains and unit textures?
  12. M

    Bug Reports and Technical Issues

    Looks like there's an unhandled NULL pointer possibility on line 24743 of CvPlayer.cpp, here: https://github.com/dguenms/Dawn-of-Civilization/blob/develop/CvGameCoreDLL/CvPlayer.cpp#L24743 If a city is on the edge of the map, this causes a crash when iterating through the plotCity() method...
  13. M

    Modmodding Q&A Thread

    I never knew about that feature! Good to know. It didn't point me to the exact line, but it did tell me the problem was a divide by zero error. Interestingly, it seems the root cause was a BUG bug (haha). BUG has a feature where the plot tooltip displays the Latitude and Longitude of a tile...
  14. M

    Modmodding Q&A Thread

    I am working on a large spinoff mod to DOC, so I've touched code in the DLL, XML, and Python. I'm still learning, but I have gotten okay at finding things I need, mostly. However, I'm getting a Python exception that I'm having a hard time tracking down. It says: Traceback (most recent call...
  15. M

    Modmodding Q&A Thread

    Hi Leoreth, I was making my own modmod of DoC a couple of years back, before the code rewrite. I'm getting back into it based off the new dev after the code rewrite, and I'm trying to understand the new meaning of MAX_CIV_PLAYERS from CvDefines.h. It seems (at least to me) that its meaning may...
Back
Top Bottom