Bug reports and technical issues

Leoreth, anything on the golden age stability glitch for v1.11?
 
I'm kinda new, so I'm not sure if this is a bug or not, but here I go. I've been playing as Spain, and I attacked Portugal into capitulation. All of Europe was Catholic as usual, but when the reformation happened, I didn't get the popup at the same time as everyone else. Portugal annoyingly became protestant, which caused everyone else to declare war on me since I'm Portugal's master. A few turns later, I got the reformation popup, and I joined the counter-reformation, which (correctly) kicked out Portugal and automatically declared war on them. I definitely would have wanted to do this in the first place because now I'm at war with all the Catholics and all the Protestants.
 
Leoreth, anything on the golden age stability glitch for v1.11?
Did I miss something?

I'm kinda new, so I'm not sure if this is a bug or not, but here I go. I've been playing as Spain, and I attacked Portugal into capitulation. All of Europe was Catholic as usual, but when the reformation happened, I didn't get the popup at the same time as everyone else. Portugal annoyingly became protestant, which caused everyone else to declare war on me since I'm Portugal's master. A few turns later, I got the reformation popup, and I joined the counter-reformation, which (correctly) kicked out Portugal and automatically declared war on them. I definitely would have wanted to do this in the first place because now I'm at war with all the Catholics and all the Protestants.
Yeah, that's weird. It's intentional that your option comes one turn later so you can make your choice according to the AI behavior, but your vassals should not drag you into wars here.
 
Sounds more like your Python changes cause an error somewhere that stops your stability from being processed properly.

Do you have exceptions enabled?
 
Sounds more like your Python changes cause an error somewhere that stops your stability from being processed properly.

Do you have exceptions enabled?

I can't even find where to enable or disable that, so I don't know.
 
Set HidePythonExceptions = 0 in _Civ4Config.ini in the Beyond the Sword folder.
 
"; Set to 1 for no python exception popups
HidePythonExceptions = 1"

I'll see if it works if I set it to 0
 
There's something just ever so slightly off about this picture.

asShbrj.png
 
Yeah, that's weird. It's intentional that your option comes one turn later so you can make your choice according to the AI behavior, but your vassals should not drag you into wars here.

I tried playing it again from an autosave. This time, the reformation happened many turns later, but I think that everything worked correctly. I was able to see which of the AI had switched before anyone declared war.

I think that the problem I had earlier was because I didn't get the popup until a couple of turns after some of the other civs had already declared war. When I remember back, I think that it was shortly after the Dutch showed up. I don't know if they spawned with Printing Press or something, or it might just be an irrelevant coincidence.

I also got some python exceptions while replaying from the autosave as detailed here: I opened the mercenary menu, put up a bunch of my units for sale, then canceled one of them immediately. On the next turn, I got the popup menu for having completed the Trading Company, which caused this python exception to appear when my turn started:

File "CvRandomEventInterface", line 4356, in getTradingCompanyConquerors1HelpText
UnboundLocalError: local variable 'iCiv' referenced before assignment

The game continued as normal and I was able to receive the bonus from the Trading Company. I proceeded to the mercenary menu, and when I went to the page showing mercenary contracts, I got this series of exceptions in order from the top down:

File "CvScreensInterface" line 798 in handleInput
File "CvMercenaryManager" line 1294 in handleInput
File "CvMercenaryManager" line 134 in interfaceScreen
File "CvMercenaryManager" line 650 in DrawMercenaryContractsScreenContent
File "CvMercenaryManager" line 370 in PopulateContractedOutUnitsPanel
File "CvMercenaryManager" line 1735 in numberToAlpha
Value Error: invalid literal for int():-

I was also running low on system memory at the time, so maybe that had something to do with it. I've always had memory problems if I load a lot of different save games in a row without restarting civ4 in between. Also, after I clicked OK on the python exceptions window, everything appeared to continue to run as normal.

Edit: There's also this screenshot.
 

Attachments

  • Civ4ScreenShot0066.JPG
    Civ4ScreenShot0066.JPG
    207.5 KB · Views: 55
Oh, haha, Rajendra is angry with you isn't he. Maybe his button his too large, I'll look that up.

No idea what caused your Python exception, mercenaries and conquerors shouldn't be in any way related. Mercenaries are removed in the SVN anyway so I won't worry too much over it, but I'll take a look at the conqueror code in case it was an unrelated problem.

There's something just ever so slightly off about this picture.

asShbrj.png
I suppose that was the Horse Archer event?
 
If a global civic resolution has been passed in the UN, it doesn't apply to respawned civs, they seem to be exempt.
 
A bug:
In svn 551 AI in some cases gathers decent stack of units in inappropriate areas. For example, China had stack of about 10-15 units in area of Bodajbo since 1400 year and didn't move them anywhere to the end of the game.
Also as HRE had stack of 10-15 knights/catas etc since Medieval era in area of Astrakhan' and didn't move them anywhere as well.
 
I can't tell you what's going on in the Congress code, but I plan to rewrite it in a more simple and understandable way.
 
In the year 1620 a war chariot was born in the first (and last) time in the human and horse history...:eek:
 
Must not ... make nasty joke about the French ...
 
Back
Top Bottom