AND2 and SVN Bug Reports - A New Dawn 2 ONLY

I'm still getting random crashes to desktop.

I've looked in the Pythondbg.log file and noticed this

Spoiler :
PY: Loading revolution data
Error! Rebel types not found, no short lists available


I've seen this before, and it seems to have continued, but now I have a repeating crash.

I've loaded an earlier save, thinking it was something I did, but no, that played for about 8 turns, then crashed as well.

SVN 679
Eternity game speed.
Giagantic map.

Game is attached.

This error message is reflected when there is a problem with the generation of a new civ after a rebellion. This message comes from RebelTypes.py file, in Python/Revolutions folder. Only should be an informative message, should never cause an error, since when can not find a RebelTypeList, what it does is generate a new civ that is of a similar art style.

Must be a problem with your system, I spent to the next turn smoothly. In fact, I played 10 turns more.

I'll leave the save attached.
 

Attachments

I think I have an idea of what causes the crashes.

Every time someone on my continent has changed religions, from None to a religion, its crashed.

I've noticed this a couple of times.

Other times, another civ on another continent must be changing religions, because it crashes there as well, but no notice of Religion changes.

I can't see why that would cause a crash, but I've seen civ's complete there turn, then a random crash out of nowhere, so hypothsis is Religion change is causing crashes.

I have limited religions on, and multiple spread, my standard options, that haven't caused a problem in past.

Thanks Maska_zgz. I'm usually able to play on till the next random crash.

*Edit*

Ha Ha Wrong its not religion changes.

As I've noted previously, Flying Camera was causing Freezes at random.

Well, Satilite Camera, Alt-F, is causing the crashes.

Hypothsis 0, disabling Satelite camera, will stop random crashes. They have been happening every 10-15 Turns or so.

Disable Alt-F, or just don't use it.

Played for 2 hr's, not one crash.

So to Summerise, Flying camera is causing freezes.
Satelite camera, is causing random crashes.

If this could be confirmed by another, or if they could say, I use x or y, and I dont' have crashes, then its my opperating system with the mod.
 
Hypothsis, is disproven, it actually was my graphics leveling.

I had use lower resolution graphics, when I'm using 1050x1680 Graphics.

Since I removed that option, it hasn't crashed, though I've had one freeze upon taking London from an AI.

No 'fuzzy' graphics, no random crashes.

Actual bug I am experiencing, I've just realized, is non generation of great people points. I've assigned specialists, built Great wonders and National wonders, but I'm not generating any great People points.

I can generate Great General points, experience, random promotions etc, espionage, science, gold, culture but no Great People on the counter. *Will check to make sure I didn't disable the counter by accident, in bug options*
 
I am sorry, but I have to bring up the issue of administrations again.
I understood that it si intentional that cities can work the 3rd circle if metropolitan administration is buildt, even if 3 circles are disabled in the mod settings.
But:
Once you upgrade your metropolitan administration to a capital administration, the 3rd circle cannot be worked any more.
So either it shouldnt be possible for both buildings, or for none (I suppose the former).
 
I have come across a bug in 2 of my games in which 3 techs, storytelling, mining and stone tools take only 1 turn to research where they should take 16 turns. If you mouse over those techs they are 0/197 beakers researched (as displayed in the pics). I have attached 2 images that display what happens when you mouse over a normal tech (weaving) and the problematic one (storytelling). The uploaded save can be used for testing.

Let me know if there is anything else I should upload. Cheers.

EDIT: the uploaded images are funny, so one needs to click on them once they pop up and click on the magnifier glass to view them in detail
 

Attachments

  • weavingTech.jpg
    weavingTech.jpg
    301.7 KB · Views: 55
  • storyTellingTech.jpg
    storyTellingTech.jpg
    300.7 KB · Views: 54
  • researchBug.CivBeyondSwordSave
    researchBug.CivBeyondSwordSave
    428.4 KB · Views: 46
I am sorry, but I have to bring up the issue of administrations again.
I understood that it si intentional that cities can work the 3rd circle if metropolitan administration is buildt, even if 3 circles are disabled in the mod settings.
But:
Once you upgrade your metropolitan administration to a capital administration, the 3rd circle cannot be worked any more.
So either it shouldnt be possible for both buildings, or for none (I suppose the former).

I don't understand the point of the Metropolitan Administration. I never build them: once a city gets to the requisite culture level it can work the third ring without that building. If I recall correctly, that building adds some percentage maintenance (which is usually considerable by that stage), while adding just one more specialist. It never seems worth it.

If it works as Zorn has noted, then perhaps if you play without the Larger Cities option it might be worth it. But why would you play without that option and then build this building so that you can use that third ring?

Cheers, A.
 
I have come across a bug in 2 of my games in which 3 techs, storytelling, mining and stone tools take only 1 turn to research where they should take 16 turns. If you mouse over those techs they are 0/197 beakers researched (as displayed in the pics). I have attached 2 images that display what happens when you mouse over a normal tech (weaving) and the problematic one (storytelling). The uploaded save can be used for testing.

Let me know if there is anything else I should upload. Cheers.

EDIT: the uploaded images are funny, so one needs to click on them once they pop up and click on the magnifier glass to view them in detail

Not a bug, it's an effect of Tech Diffusion as it's been already exaplained in many posts. It simply means that you're too far behind in techs in comparison to other civs, hence you get a boost for techs already discovered by other civs. Same applies if other AI civs are too far behind in comparison to you: they get the help to keep your pace. It's made to help other civs not to fall behind of 1 era or 2 in compartison with you, but of course it works the same way for you if you're the one falling behind. It will be tweaked a bit to make AI and human players get different help but right now this is the only way to make AI not fall behind and make the game more balanced.

Edit: one more thing, game isn't balanced at all for gamespeed slower than Blitz and Quick. I'm working on it but that's the reason why you get this kind of extreme behaviour. By the way, are you using the latest revision or an older one? Some revision ago the effect has been tuned down already. You can see that depending on the tech you're researching you're producing 12 :science: or more than 500 :science:, that explains different number of turns needed to research a tech.
 
I am sorry, but I have to bring up the issue of administrations again.
I understood that it si intentional that cities can work the 3rd circle if metropolitan administration is buildt, even if 3 circles are disabled in the mod settings.
But:
Once you upgrade your metropolitan administration to a capital administration, the 3rd circle cannot be worked any more.
So either it shouldnt be possible for both buildings, or for none (I suppose the former).

It should work for both and according to Civilopedia and XML files it works; can you upload a save so that I can check?
 
45°38'N-13°47'E;13110358 said:
Not a bug, it's an effect of Tech Diffusion as it's been already exaplained in many posts. It simply means that you're too far behind in techs in comparison to other civs, hence you get a boost for techs already discovered by other civs. Same applies if other AI civs are too far behind in comparison to you: they get the help to keep your pace. It's made to help other civs not to fall behind of 1 era or 2 in compartison with you, but of course it works the same way for you if you're the one falling behind. It will be tweaked a bit to make AI and human players get different help but right now this is the only way to make AI not fall behind and make the game more balanced.

Edit: one more thing, game isn't balanced at all for gamespeed slower than Blitz and Quick. I'm working on it but that's the reason why you get this kind of extreme behaviour. By the way, are you using the latest revision or an older one? Some revision ago the effect has been tuned down already. You can see that depending on the tech you're researching you're producing 12 :science: or more than 500 :science:, that explains different number of turns needed to research a tech.

Ok thanks for explaining this. I have not been checking the forums for the last few months so I have missed out on the discussions. I am playing the latest version (as of yesterday) and my game speed is a customized version of Epic, with slower research and growth rate. I made tech research take about 3x longer than normal Epic. I am assuming that the tech diffusion boosts are calculated relative to the original research speed for that gamespeed (which is faster than mine) which could explain the extreme speed bursts (2 turns instead of 16 to research).

Either way, I will play with tech diffusion off for now, as I have highly customized my difficulty settings so I can give the AI's a boost (AIResearchRate in HandicapInfo) whenever I want to. I have configured the settler difficulty to
be the equivalent of emperor and start my game on that. The AIResearchRate in my diety is 15% - incase I really get bored :)

Either way I would like to take this opportunity to thank you for your continued efforts and great work on this mod :goodjob:
 
Here is the save, sorry for the delay. The white circles in Delhis city screen indicate the tiles that were worked with a met. ad. and are no longer accessable.
While I´m at, something very minor I noticed: The tooltip for the Supermarket is broken. It should give a significant income boost, yet the prediction is negative (see screenshot).
 

Attachments

  • CapAd.rar
    CapAd.rar
    4.4 MB · Views: 33
  • super.jpg
    super.jpg
    399.6 KB · Views: 68
Here is the save, sorry for the delay. The white circles in Delhis city screen indicate the tiles that were worked with a met. ad. and are no longer accessable.
While I´m at, something very minor I noticed: The tooltip for the Supermarket is broken. It should give a significant income boost, yet the prediction is negative (see screenshot).

Thank you Zorn, I'll give it a try. As for Supermarket, could it be because it replaces a Grocer? I'm not sure it's a bug, maybe Vokarya knows better. I suppose Grocer goes obsolete sooner or later and hence Supermarket is the only option.
 
While making exactly the same for female leaders in my mods, I have seen some basic female leaders of AND have not been specified as Queendom when they adopt Monarchy. They are just Catherine the Great (Russian Empire) and Isabella (Spanish Empire)

Only is necessary to make these changes in DynamicCivNames.py file and problem solved:

Code:
  def isFemaleLeader( self, eLeader ):
    bFemaleLeader = False
    
    if (eLeader == -1):
      return False
    
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader == gc.getInfoTypeForString("LEADER_BOUDICA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_ELIZABETH"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_HATSHEPSUT"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_VICTORIA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_ATOTOZTLI"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_CLEOPATRA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_DIDO"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_JOANOFARC"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_NEFERTITI"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_THEODORA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_WU"))
[COLOR="Red"]    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_CATHERINE"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_ISABELLA"))[/COLOR]
 
    return bFemaleLeader
 
While making exactly the same for female leaders in my mods, I have seen some basic female leaders of AND have not been specified as Queendom when they adopt Monarchy. They are just Catherine the Great (Russian Empire) and Isabella (Spanish Empire)

Only is necessary to make these changes in DynamicCivNames.py file and problem solved:

Code:
  def isFemaleLeader( self, eLeader ):
    bFemaleLeader = False
    
    if (eLeader == -1):
      return False
    
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader == gc.getInfoTypeForString("LEADER_BOUDICA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_ELIZABETH"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_HATSHEPSUT"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_VICTORIA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_ATOTOZTLI"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_CLEOPATRA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_DIDO"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_JOANOFARC"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_NEFERTITI"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_THEODORA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_WU"))
[COLOR="Red"]    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_CATHERINE"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_ISABELLA"))[/COLOR]
 
    return bFemaleLeader

Is there a DynamicCivNames.py inside the Mega Civ Pack? Or is this default file in AND? I can correct that if it's a default file in AND. Maybe does it need changes for other female leaders of Mega Civ Pack?
 
45°38'N-13°47'E;13117812 said:
Is there a DynamicCivNames.py inside the Mega Civ Pack? Or is this default file in AND? I can correct that if it's a default file in AND. Maybe does it need changes for other female leaders of Mega Civ Pack?


It is the default file of AND, in Python/Revolution/Gameready folder. And these two leaders of the previous post, are leaders of the default AND.

The changes required to the MegaCivPack are these:
Code:
  def isFemaleLeader( self, eLeader ):
    bFemaleLeader = False
    
    if (eLeader == -1):
      return False
    
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader == gc.getInfoTypeForString("LEADER_BOUDICA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_ELIZABETH"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_HATSHEPSUT"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_VICTORIA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_ATOTOZTLI"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_CLEOPATRA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_DIDO"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_JOANOFARC"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_NEFERTITI"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_THEODORA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_WU"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_ISABELLA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_CATHERINE"))
[COLOR="Red"]    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_AMANISHABHETO"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_AMINA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_CARTIMANDUA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_CIXI"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_CLARK"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_ENHEDUANNA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_HASINA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_INDIRA_GANDHI"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_JEZEBEL"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_KUG-BAU"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_XOC"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_MAKEDA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_MANDUKHAI"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_MARGRETE"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_MARIA_II")) 
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_MARIA_THERESA")) 
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_MARY_STUART")) 
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_SALAMASINA")) 
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_SHAMMURAMAT"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_SHINSAWBU"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_TEUTA"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_TRUNG"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_TYMOSHENKO"))
    if (not bFemaleLeader):
      bFemaleLeader = (eLeader== gc.getInfoTypeForString("LEADER_WILHELMINA"))[/COLOR]
 
    return bFemaleLeader

If they were already in default DynamicCivNames.py file in AND better. If not, I will provide a DynamicCivNames.py file to overwrite the default file. :)
 
Here is the save, sorry for the delay. The white circles in Delhis city screen indicate the tiles that were worked with a met. ad. and are no longer accessable.
While I´m at, something very minor I noticed: The tooltip for the Supermarket is broken. It should give a significant income boost, yet the prediction is negative (see screenshot).

It's definitely happening because Supermarket is replacing Grocer, but there shouldn't be a production drop. I reworked Supermarket to copy all of Grocer's commerce bonuses in addition to Supermarket's old bonuses. I suspect it is something in that calculation that is not working correctly -- I also think something similar happens with Modern Granary replacing Granary. The calculated effect generally shows +4 health, but doesn't show the -4 health for losing the Granary.

I might set up a test myself and see what happens.
 
Ok, hi there. Wanna ask a question. Just downloaded this apparently excellent mod, but I can't make it to work. Everytime I try to load it, this error message comes up (and it stops to load):

GFC error: failed to initialize the primary control theme

Please, help!
 
Ok, hi there. Wanna ask a question. Just downloaded this apparently excellent mod, but I can't make it to work. Everytime I try to load it, this error message comes up (and it stops to load):

GFC error: failed to initialize the primary control theme

Please, help!

Are you patched to 3.19 the Official BtS Patch?

JosEPh
 
I've noticed something in the latest SVN version related to Tech Diffusion I think, if you egt too far ahead in Techs, the cost increases? I went on Marathon Speed from researching Techs at an average of 1 ever 6 turns, as soon as I hit Engineering it went to 38 turns?
 
Back
Top Bottom