[MOD] v41 SVN and GithubDesktop Bugs and Crashes Single player

New bug, got this event. Can not get it to go away.
Spoiler Screenshot :
upload_2022-2-19_15-31-54.png
 
Looks like another typo in python
Upload save turn before it, so we can check if fix works
 
One of these saves maybe.
 

Attachments

Uh, I think something got goofed on latest SVN. City screen is missing buttons, if I alt tab out it comes back for a while and then it disappears again.
Spoiler Missing Buttons :
upload_2022-2-20_13-22-51.png
 
Uh, I think something got goofed on latest SVN. City screen is missing buttons, if I alt tab out it comes back for a while and then it disappears again.
Spoiler Missing Buttons :
Problem found and fixed, thanks for reporting.
Only occurred when selecting cities by single clicking city bar (city selection without city screen), which is why I didn't notice it when testing.
 
Captured cities are named incorrectly in the Event Log.

Steps:
- Capture Goz

Result:
- Messages like "The %building% in the City of Rostov is no longer functioning" are shown in the Event Log. At the same time player does not have a city named Rostov. After clicking on such entries in the Event Log camera is centered on tile on which Goz city was.

Expected result:
- Messages like "The %building% in the City of Goz is no longer functioning" are shown in the Event Log.

v42.0.BETA.6623
This should be fixed on SVN rev. 11438.
Uh, I think something got goofed on latest SVN. City screen is missing buttons, if I alt tab out it comes back for a while and then it disappears again.
Spoiler Missing Buttons :
And now this is fixed on SVN rev. 11439.
 
Last edited:
got this error message while i was in the WB??

Traceback (most recent call last):
File "BugGameUtils", line 261, in callHandler
File "WidgetUtil", line 129, in getWidgetHelp
File "CvGameUtils", line 320, in getWidgetHelp
RuntimeError: This class cannot be instantiated from Python

plus this in PythonErr2:

Spoiler h :
warning: to-Python converter for enum CultureLevelTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ForceControlTypes already registered; second conversion method ignored.
warning: to-Python converter for enum DirectionTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ColorTypes already registered; second conversion method ignored.
warning: to-Python converter for enum TerrainTypes already registered; second conversion method ignored.
warning: to-Python converter for enum YieldTypes already registered; second conversion method ignored.
warning: to-Python converter for enum CommerceTypes already registered; second conversion method ignored.
warning: to-Python converter for enum GameOptionTypes already registered; second conversion method ignored.
warning: to-Python converter for enum MultiplayerOptionTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ForceControlTypes already registered; second conversion method ignored.
warning: to-Python converter for enum VictoryTypes already registered; second conversion method ignored.
warning: to-Python converter for enum FeatureTypes already registered; second conversion method ignored.
warning: to-Python converter for enum BonusTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ImprovementTypes already registered; second conversion method ignored.
warning: to-Python converter for enum EraTypes already registered; second conversion method ignored.
warning: to-Python converter for enum CivilizationTypes already registered; second conversion method ignored.
warning: to-Python converter for enum LeaderHeadTypes already registered; second conversion method ignored.
warning: to-Python converter for enum TeamTypes already registered; second conversion method ignored.
warning: to-Python converter for enum PlayerTypes already registered; second conversion method ignored.
warning: to-Python converter for enum BuildingTypes already registered; second conversion method ignored.
warning: to-Python converter for enum SpecialBuildingTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ProjectTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ProcessTypes already registered; second conversion method ignored.
warning: to-Python converter for enum VoteTypes already registered; second conversion method ignored.
warning: to-Python converter for enum DomainTypes already registered; second conversion method ignored.
warning: to-Python converter for enum UnitTypes already registered; second conversion method ignored.
warning: to-Python converter for enum SpecialUnitTypes already registered; second conversion method ignored.
warning: to-Python converter for enum UnitCombatTypes already registered; second conversion method ignored.
warning: to-Python converter for enum UnitAITypes already registered; second conversion method ignored.
warning: to-Python converter for enum VoteSourceTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ControlTypes already registered; second conversion method ignored.
warning: to-Python converter for enum PromotionTypes already registered; second conversion method ignored.
warning: to-Python converter for enum TechTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ReligionTypes already registered; second conversion method ignored.
warning: to-Python converter for enum CorporationTypes already registered; second conversion method ignored.
warning: to-Python converter for enum HurryTypes already registered; second conversion method ignored.
 
Last edited:
got this error message while i was in the WB??

Traceback (most recent call last):
File "BugGameUtils", line 261, in callHandler
File "WidgetUtil", line 129, in getWidgetHelp
File "CvGameUtils", line 320, in getWidgetHelp
RuntimeError: This class cannot be instantiated from Python

plus this in PythonErr2:

Spoiler h :
warning: to-Python converter for enum CultureLevelTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ForceControlTypes already registered; second conversion method ignored.
warning: to-Python converter for enum DirectionTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ColorTypes already registered; second conversion method ignored.
warning: to-Python converter for enum TerrainTypes already registered; second conversion method ignored.
warning: to-Python converter for enum YieldTypes already registered; second conversion method ignored.
warning: to-Python converter for enum CommerceTypes already registered; second conversion method ignored.
warning: to-Python converter for enum GameOptionTypes already registered; second conversion method ignored.
warning: to-Python converter for enum MultiplayerOptionTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ForceControlTypes already registered; second conversion method ignored.
warning: to-Python converter for enum VictoryTypes already registered; second conversion method ignored.
warning: to-Python converter for enum FeatureTypes already registered; second conversion method ignored.
warning: to-Python converter for enum BonusTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ImprovementTypes already registered; second conversion method ignored.
warning: to-Python converter for enum EraTypes already registered; second conversion method ignored.
warning: to-Python converter for enum CivilizationTypes already registered; second conversion method ignored.
warning: to-Python converter for enum LeaderHeadTypes already registered; second conversion method ignored.
warning: to-Python converter for enum TeamTypes already registered; second conversion method ignored.
warning: to-Python converter for enum PlayerTypes already registered; second conversion method ignored.
warning: to-Python converter for enum BuildingTypes already registered; second conversion method ignored.
warning: to-Python converter for enum SpecialBuildingTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ProjectTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ProcessTypes already registered; second conversion method ignored.
warning: to-Python converter for enum VoteTypes already registered; second conversion method ignored.
warning: to-Python converter for enum DomainTypes already registered; second conversion method ignored.
warning: to-Python converter for enum UnitTypes already registered; second conversion method ignored.
warning: to-Python converter for enum SpecialUnitTypes already registered; second conversion method ignored.
warning: to-Python converter for enum UnitCombatTypes already registered; second conversion method ignored.
warning: to-Python converter for enum UnitAITypes already registered; second conversion method ignored.
warning: to-Python converter for enum VoteSourceTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ControlTypes already registered; second conversion method ignored.
warning: to-Python converter for enum PromotionTypes already registered; second conversion method ignored.
warning: to-Python converter for enum TechTypes already registered; second conversion method ignored.
warning: to-Python converter for enum ReligionTypes already registered; second conversion method ignored.
warning: to-Python converter for enum CorporationTypes already registered; second conversion method ignored.
warning: to-Python converter for enum HurryTypes already registered; second conversion method ignored.
First one is fixed on github, second one is harmless warning, maybe @MattCA could fix it.
 
Ok, issue is cleared up on my side, but I ended up restructuring a significant amount of code while fixing the issue, more than needed to strictly fix the issue, so it will have to be tested a bit before it can come on SVN.
I.e. when a city is autorazed (when you don't get the choice to keep the city on conquest) it will just be razed with the code restructure, before it would create a copy of itself, destroy itself, and then destroy the copy. This was idiotically convoluted way to go about it (the vanilla way), so I was compelled to change it.
Checked on v42.0.BETA.6725. Works fine in SP, but there is a problem in MP.

Steps:
  1. Load attached save as host/Player #1.
  2. Capture Achuar.

Result: city changes its name to "Magadan".

Expected result: city does not change its name after capture.
 

Attachments

Last edited:
Checked on v42.0.BETA.6725. Works fine in SP, but there is a problem in MP.
Follow up question, did the name change to Magadan for both players in the MP game or only for one of you? This I can't easily check (unless this is a hotseat MP game?).
Don't worry if you can't answer it, I realize worldbuilder and other ways to remove fog of war is unavailable in MP mode.
 
Follow up question, did the name change to Magadan for both players in the MP game or only for one of you? This I can't easily check (unless this is a hotseat MP game?).
Don't worry if you can't answer it, I realize worldbuilder and other ways to remove fog of war is unavailable in MP mode.
Will ask player #2 tomorrow...
I can confirm that cities captured by player #2 change their names for both of us.
 
Hi! I had the last svn update (11443 v42.0.BETA.6742 - 2022-02-24) and the research and espionage points bars disappear after 150 numbers of turns. Why?
 

Attachments

  • C2C bug.png
    C2C bug.png
    4.3 MB · Views: 56
Hi! I had the last svn update (11443 v42.0.BETA.6742 - 2022-02-24) and the research and espionage points bars disappear after 150 numbers of turns. Why?
Probably buggy user settings.
Upload your save and zipped user settings folder.
User settings folder is inside of mod folder.
 
Will ask player #2 tomorrow...
I can confirm that cities captured by player #2 change their names for both of us.
Build v42.0.BETA.6742.

  1. Player #2 (Empire of America) captures "Barcelona" city.
  2. On my side following message is shown "Barcelona ... has been captured ..."
  3. On his side city is shown as "Barcelona" - https://steamuserimages-a.akamaihd....680/A1C3C5300391474BAC19E28601ACBC1C595B7EA6/ .
  4. After trading a map city is shown on my side as "New Orleans". Screenshot is attached
 

Attachments

Build v42.0.BETA.6742.

  1. Player #2 (Empire of America) captures "Barcelona" city.
  2. On my side following message is shown "Barcelona ... has been captured ..."
  3. On his side city is shown as "Barcelona" - https://steamuserimages-a.akamaihd....680/A1C3C5300391474BAC19E28601ACBC1C595B7EA6/ .
  4. After trading a map city is shown on my side as "New Orleans". Screenshot is attached
Yeah, I've captured several cities on the map.
Half of them kept their names, half of them decided they liked my civ's named better, lol.
Might have something to do with the amount of espionage I had on them - the latter ones were all "freshly discovered" (had been fog-of-war'ed before the short attack).
Not that I care much, since I can easily rename them back to what they were (and their previous owner tag is still kept anyways), though I don't exactly feel the need for it.
Still a bug, though.
(Or a feature-to-eventually-be, lol, since that's halfway to RFC, ya know.)
 
Yeah, I've captured several cities on the map.
Half of them kept their names, half of them decided they liked my civ's named better, lol.
Might have something to do with the amount of espionage I had on them - the latter ones were all "freshly discovered" (had been fog-of-war'ed before the short attack).
Not that I care much, since I can easily rename them back to what they were (and their previous owner tag is still kept anyways), though I don't exactly feel the need for it.
Still a bug, though.
(Or a feature-to-eventually-be, lol, since that's halfway to RFC, ya know.)
So it isn't MP bug then, upload save so @Toffer90 can check it

Maybe several players are in one team?
 
I have my own confusion, though.
Apparently there's a problem with Cultures "again".
I fiddled a bit with my Jerusalem (made it all-type-culture'd, because that's how I want to play, lol: and it's already a Custom City anyways).
So, I've got to build the Mapuche culture, because I wanted the unit.
Except... the Culture building DOESN'T provide the Culture culture, huh?!
See screenshots.
Help?
 

Attachments

  • Civ4ScreenShot0000.JPG
    Civ4ScreenShot0000.JPG
    209.3 KB · Views: 21
  • Civ4ScreenShot0001.JPG
    Civ4ScreenShot0001.JPG
    206.6 KB · Views: 23
  • Civ4ScreenShot0002.JPG
    Civ4ScreenShot0002.JPG
    228.1 KB · Views: 22
  • Civ4ScreenShot0003.JPG
    Civ4ScreenShot0003.JPG
    229.8 KB · Views: 18
Back
Top Bottom