Bug Reports and Technical Issues

Think I've got a bug with the latest version. Foreign Trade Routes with Isolationism.
Edit: Or is it on purpose with the Porcelain Tower?
 

Attachments

  • Unbenannt.PNG
    Unbenannt.PNG
    4.6 MB · Views: 108
  • Unbenannt2.PNG
    Unbenannt2.PNG
    4.2 MB · Views: 3,148
Last edited:
Yes! Porcelain Tower enabled trade routes without open borders.
 
I downloaded DoC today and the vanilla/Beyond the Sword tech tree is still there. Similarly, all the new units and buldings tied to the techs (such as Post Offices and Gallleases) are not there. Smokehouses and Bombards are, however. All the other features--the new civs, slavery, the new worldbuilder, new resources, civics, etc.--are there, but all the new techs are not. I changed the Civ.ini file as per the first post. I also checked the XML file and it isn't hiding anything; it only has the vanilla techs.
 
Last edited:
I think that you downloaded an old version. Many of the items you mention already existed in previous versions.

You can find a release candidate of v1.15 here.
 
I'm sorry, looks like there still are errors in the code. Can you please tell me if you are playing with the VD module installed?
 
Okay, that's completely fine. I only asked so I knew which configuration of the mod to load your save with. Some crashes only occur when VD is in the mix.
 
Himeji Castle claims that city defense increases culture output in all cities (in addition to fortified units effect). Except that it does not. "All" cities are completely unaffected by the presence of this Wonder. I am not even sure what was intended here (increases how? by the defense %?), maybe this description was left after Castle's effects have been changed? Also how come it is designated as Economy Wonder? All indications are it is a Cultural Wonder.
 
I don't think there is such a thing as a "cultural wonder". The label is based off the advisor suggestions and they only have things like military, economy, growth etc.

I will look into the effect itself. It is intended to give a culture modifier equal to the base defensive modifier of the city, so +50% culture with walls.
 
Here is a fix for some VD crashes. I didn't make a PR because I couldn't find VD on git.

Bugged units:
Mayan Great General, uses Aztec
Mongol AT infantry, fixed
Aztec Lancer, uses Mayan

I included a small script in CvRFCEventHandler.py @ onKbdEvent(). When ctrl-shift-v is pressed, it will loop through all units of all civs. It will cause a CTD if an unitart is bugged. Which unit caused the crash is the last unit printed in PythonDbg.log. (scroll up to see to which civ it belongs)

I fixed the aforementioned units by running the script, fixing the unitart and running the script again until no more CTD occured. It is possible that some unit art of later eras are still bugged, because the script does not loop through them.
 

Attachments

Himeji Castle claims that city defense increases culture output in all cities (in addition to fortified units effect). Except that it does not. "All" cities are completely unaffected by the presence of this Wonder. I am not even sure what was intended here (increases how? by the defense %?), maybe this description was left after Castle's effects have been changed? Also how come it is designated as Economy Wonder? All indications are it is a Cultural Wonder.
I was confused by this as well. It doesn't give culture to all cities equal to the defense of the city it's built in, but instead gives culture to all cities equal to their own defense. I think the description should be changed to clarify that.
 
I don't think there is such a thing as a "cultural wonder". The label is based off the advisor suggestions and they only have things like military, economy, growth etc.

I will look into the effect itself. It is intended to give a culture modifier equal to the base defensive modifier of the city, so +50% culture with walls.

Oh, I did not have walls in my cities, perhaps that's the reason. But don't you think that in, say, digital age getting extra culture because of walls and castles is a little bit anachronistic? To say the least... Why is it that we don't want this Wonder to ever become obsolete?

And Eiffel Tower, for example, is shown as cultural wonder in Pedia.
 
Here is a fix for some VD crashes. I didn't make a PR because I couldn't find VD on git.

Bugged units:
Mayan Great General, uses Aztec
Mongol AT infantry, fixed
Aztec Lancer, uses Mayan

I included a small script in CvRFCEventHandler.py @ onKbdEvent(). When ctrl-shift-v is pressed, it will loop through all units of all civs. It will cause a CTD if an unitart is bugged. Which unit caused the crash is the last unit printed in PythonDbg.log. (scroll up to see to which civ it belongs)

I fixed the aforementioned units by running the script, fixing the unitart and running the script again until no more CTD occured. It is possible that some unit art of later eras are still bugged, because the script does not loop through them.
That's very valuable, thanks, especially the script. The VD git repo is here: https://github.com/dguenms/DoC-Varietas-Delectat, I'll go work on this asap but in case you're faster you can still create a PR.

I was confused by this as well. It doesn't give culture to all cities equal to the defense of the city it's built in, but instead gives culture to all cities equal to their own defense. I think the description should be changed to clarify that.
That's reasonable.

Oh, I did not have walls in my cities, perhaps that's the reason. But don't you think that in, say, digital age getting extra culture because of walls and castles is a little bit anachronistic? To say the least... Why is it that we don't want this Wonder to ever become obsolete?

And Eiffel Tower, for example, is shown as cultural wonder in Pedia.
Oh okay, looks I was wrong. I'll change it then. And there is no reason to keep the effect forever, I think it makes sense to have it expire Industrial-ish.
 
Oh okay, looks I was wrong. I'll change it then. And there is no reason to keep the effect forever, I think it makes sense to have it expire Industrial-ish.

Obsoleting the culture from walls and castles? Why? Aren't walls and castles tourist attractions basically everywhere? If Himeji Castle was so culturally important in history, why would people suddenly stop caring in the Industrial Era?
 
Here is a fix for some VD crashes. I didn't make a PR because I couldn't find VD on git.

Bugged units:
Mayan Great General, uses Aztec
Mongol AT infantry, fixed
Aztec Lancer, uses Mayan

I included a small script in CvRFCEventHandler.py @ onKbdEvent(). When ctrl-shift-v is pressed, it will loop through all units of all civs. It will cause a CTD if an unitart is bugged. Which unit caused the crash is the last unit printed in PythonDbg.log. (scroll up to see to which civ it belongs)

I fixed the aforementioned units by running the script, fixing the unitart and running the script again until no more CTD occured. It is possible that some unit art of later eras are still bugged, because the script does not loop through them.
Alright, with the help of this I managed to fix the crashes. I actually could track down the actual Mayan great general and Aztec lancer art, even. Thanks again.
 
I was testing my version of CityNameManager.py when I noticed that, in the 600 AD scenario, the Chinese capital is named Xi'an instead of Chang'an. The same thing happened when I brought back the old version of CityNameManager.py.

I've tried editing the 600 AD scenario file to put in other names, but it keeps getting renamed into Xi'an. Other cities don't seem to be affected, though.

EDIT: I've tracked down the source of that behavior to RiseAndFall.py.
 
Last edited:
Obsoleting the culture from walls and castles? Why? Aren't walls and castles tourist attractions basically everywhere? If Himeji Castle was so culturally important in history, why would people suddenly stop caring in the Industrial Era?

Because Himeji Castle represents very unique culture of feudal Japan rooted in samurai, ninja, daimyo, etc. By 1876 the government banned the wearing of the samurai's swords; the former samurai cut off their top knots in favor of Western-style haircuts and took up jobs in business and the professions. It was the end of the era and instead Japan adopted Western political, social, and economic institutions. In terms of our game, Himeji helped Japan to achieve her first UHV but at some point became obsolete reflecting the dawn of a new era.
 
Because Himeji Castle represents very unique culture of feudal Japan rooted in samurai, ninja, daimyo, etc. By 1876 the government banned the wearing of the samurai's swords; the former samurai cut off their top knots in favor of Western-style haircuts and took up jobs in business and the professions. It was the end of the era and instead Japan adopted Western political, social, and economic institutions. In terms of our game, Himeji helped Japan to achieve her first UHV but at some point became obsolete reflecting the dawn of a new era.
Makes sense.
 
Looks like your are on the receiving end of the diverted Crusade, a la 4th Crusade style capture of Constantinople. Although I am not sure what can Orthodox player do to minimize this menace. I think it takes one Catholic civ with money to divert crusade, but perhaps maintaining good relation with every rich Catholic nation could safeguard Mother Russia?
 
Back
Top Bottom