Single Player bugs and crashes v40 plus (SVN) - After Oct 2019

I looked and i do NOT have this in any city i have???
It'd be someone else who built it, not you. It inflicts the map wiping effect on other nations, not your own.
 
The top 5 cities information screen lists all wonders that have been built.
 
dont know if this has been fixed??

Traceback (most recent call last):
File "CvRandomEventInterface", line 3857, in expireHostileTakeover1
AttributeError: 'NoneType' object has no attribute 'getCity'
ERR: Python function expireHostileTakeover1 failed, module CvRandomEventInterface
Traceback (most recent call last):
File "CvRandomEventInterface", line 3906, in canTriggerHostileTakeoverDone
File "CvRandomEventInterface", line 3875, in getHostileTakeoverListResources
AttributeError: 'NoneType' object has no attribute 'getPrereqBonus'
ERR: Python function canTriggerHostileTakeoverDone failed, module CvRandomEventInterface
Traceback (most recent call last):
File "CvRandomEventInterface", line 5162, in canTriggerPiratesoftheNeutralZones
AttributeError: 'CyGlobalContext' object has no attribute 'CvUnitInfo'
ERR: Python function canTriggerPiratesoftheNeutralZones failed, module CvRandomEventInterface



EDIT: also these r the same game, 1st one is when NO civs r attacking,
2nd is when i started a war against a civ and took over 2 cities, does taking over just 2 cities make THAT much of a difference??
 

Attachments

  • what.JPG
    what.JPG
    12.6 KB · Views: 78
Last edited:
You attached a screenshot of some save files? Is this absolute latest SVN?
There is some problem with the event system, where some events invalid, not sure what it is that caused it yet.

edit: Oh you are referring to the difference in file sizes, no idea about that.
 
Last edited:
EDIT: also these r the same game, 1st one is when NO civs r attacking,
2nd is when i started a war against a civ and took over 2 cities, does taking over just 2 cities make THAT much of a difference??
It's likely that AIs are making the difference, such as by training loads of units in one or more military buildup/s.
 
If you didn't see my issue update on github, I found out the entire EventTriggerData is default initialized except the ID. Not sure how it happens yet.
 
It's likely that AIs are making the difference, such as by training loads of units in one or more military buildup/s.
ok, i guess, except why would it go DOWN in size if going to war, i figured it would go UP as u say them building more units
 
ok, i guess, except why would it go DOWN in size if going to war, i figured it would go UP as u say them building more units
What goes up must come down;). Yeah yeah military buildups don't cause size decreases. That might be caused by the loss of bulk units. It's a big decrease, so it's pretty rare, and even a bit suspicious, but it could happen.
 
Latest SVN, python error on hotseat multiplayer still there:

Traceback (most recent call last):
File "BugEventManager", line 307, in _handleDefaultEvent
File "CvStrategyOverlay", line 81, in onSwitchHotSeatPlayer
TypeError: onSwitchHotSeatPlayer() takes exactly 1 argument (2 given)
 
My last fix on that got reverted somehow in a branch merge. Fixed it again now.
@billw2015 accidentally reverted it, when he merged his python fixes.

It appears you reverted his change before.
Look at history of CvStrategyOverlay.py

Sending fix to SVN.
 
Last edited:
Look at history of CvStrategyOverlay.py
That's what I did to know it got reverted by a branch merge.

Edit:
Issue reported.
Bill fixed the issue in a branch by adding a missing argument in a function call.

Issue reported again before the branch had been merged into master.
I assumed bill's fix didn't work so I went ahead and took a look at the problem.
I fixed the issue in master by removing the argument from the function as it didn't use it.

Then the branch got merged into master and thus the added argument in the function call was included in the code, while the function now no longer expected that argument.

Issue reported again, and here we are.

Was a bit of a mix up. ^^
 
Last edited:
Hi!

After ca 500 turns I have a problem with never enging end of the turn ...
This issue occures with c2c 40 version. So I have switched to svn version(11066), cleaned cache, 'recalculate' dlls, add something from game editor - but still issue persists.
The only way to make it working is to save it in game editor and run it as a scenario. But this is not exactly what I want to achieve:)
Do we know this bug, there is any workaround?
 

Attachments

Back
Top Bottom