Post Feb 1st 2013 - bugs - Single Player

Status
Not open for further replies.
Why i am able to build mine or quarry on obsidian. Quary provides obsidian and mine not so delete mine please

Can't be done since the mine may cause obsidian to be discovered. Been that way since RoM:AND.

@ DH

I now get this error message when trying to get a certain action to work:

Traceback (most recent call last):
File "BugEventManager", line 378, in _handleConsumableEvent
File "BugEventManager", line 466, in onKbdEvent
File "BugUtil", line 608, in __call__
File "BugUtil", line 605, in call
File "AbandonCityEventManager", line 116, in onStartAbandonCity
File "AbandonCityEventManager", line 175, in onStartAbandonCity
File "CvEventManager", line 194, in beginEvent
File "AbandonCityEventManager", line 225, in __eventAbandonCityDestroyBuildingBegin
IndexError: list assignment index out of range

Third person to report the error, answer is the same as before. There is a building with a human readable name that is not acceptable to Python. When I am well enough I will get to it. The tooth came out yesterday, I slept all day today and I am going back to bed now.
 
the Great Wall messes up with V24, V25, V26, and so on, so it is in every version. I have already passed my auto saves from when it was working, I will try next game.

Yes, I know it was broken in those versions, but it was (supposedly) fixed in V27 (or maybe 28, but as I recall it was 27), so I seems you are finding some residual case the fix didn't solve...
 
OK, I am trying something completely different in this NEW start, if you really want to know, PM me, but only the coders, thx.


CTD, (attached mini/savedgame, and see log below also) SVN 4785, NO viewports

I canNOT precede in what i want to do without this being solved, thx.


Here is the error message i am getting: (I did not add anything to C2C).

Spoiler :
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_VOLCANO_DORMANT
Can't find type enum for type tag FEATURE_VOLCANO_DORMANT
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_VOLCANO_DORMANT
Can't find type enum for type tag FEATURE_OBSIDIAN_PLAINS
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_COMET
Can't find type enum for type tag FEATURE_OBSIDIAN_PLAINS
Can't find type enum for type tag FEATURE_COMET
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_VOLCANO_DORMANT
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_MUD
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_OBSIDIAN_PLAINS
Can't find type enum for type tag FEATURE_OBSIDIAN_PLAINS
Can't find type enum for type tag FEATURE_MUD
Can't find type enum for type tag FEATURE_MUD
Can't find type enum for type tag FEATURE_MUD
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_EXOTIC_CORAL
Can't find type enum for type tag FEATURE_EXOTIC_MIN
Can't find type enum for type tag FEATURE_EXOTIC_SEALIFE
Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "RevEvents", line 421, in onCityBuilt
AttributeError: 'NoneType' object has no attribute 'getID'
Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "Caveman2Cosmos", line 96, in onTechAcquired
RuntimeError: unidentifiable C++ exception


Code for 96 of C2C.py:
Spoiler :
Code:
if pCity != None:
			iWorker = gc.getCivilizationInfo(pPlayer.getCivilizationType()).getCivilizationUnits(giFreeUnit)
			if iWorker == -1:
				iWorker= giFreeGathererUnit
			[U]pPlayer.initUnit(iWorker, pCity.getX(), pCity.getY(), UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)[/U]


EDIT: 2nd error:

For some odd reason again there are 2 Thief's listed whereas only one should appear?? (2nd Autosave)

EDIT EDIT: 3rd Error (message only): python problem (2nd pic)

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "Revolution", line 624, in onEndPlayerTurn
File "Revolution", line 1070, in updatePlayerRevolution
File "Revolution", line 2318, in checkForRevolution
File "Revolution", line 3154, in pickRevolutionStyle
AttributeError: 'NoneType' object has no attribute 'getID'
 
OK, I am trying something completely different in this NEW start, if you really want to know, PM me, but only the coders, thx.


CTD, (attached mini/savedgame, and see log below also) SVN 4785, NO viewports

I canNOT precede in what i want to do without this being solved, thx.


Here is the error message i am getting: (I did not add anything to C2C).

Spoiler :
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_VOLCANO_DORMANT
Can't find type enum for type tag FEATURE_VOLCANO_DORMANT
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_VOLCANO_DORMANT
Can't find type enum for type tag FEATURE_OBSIDIAN_PLAINS
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_COMET
Can't find type enum for type tag FEATURE_OBSIDIAN_PLAINS
Can't find type enum for type tag FEATURE_COMET
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_VOLCANO_DORMANT
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_MUD
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_OBSIDIAN_PLAINS
Can't find type enum for type tag FEATURE_OBSIDIAN_PLAINS
Can't find type enum for type tag FEATURE_MUD
Can't find type enum for type tag FEATURE_MUD
Can't find type enum for type tag FEATURE_MUD
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_EXOTIC_CORAL
Can't find type enum for type tag FEATURE_EXOTIC_MIN
Can't find type enum for type tag FEATURE_EXOTIC_SEALIFE
Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "RevEvents", line 421, in onCityBuilt
AttributeError: 'NoneType' object has no attribute 'getID'
Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "Caveman2Cosmos", line 96, in onTechAcquired
RuntimeError: unidentifiable C++ exception


Code for 96 of C2C.py:
Spoiler :
Code:
if pCity != None:
			iWorker = gc.getCivilizationInfo(pPlayer.getCivilizationType()).getCivilizationUnits(giFreeUnit)
			if iWorker == -1:
				iWorker= giFreeGathererUnit
			[U]pPlayer.initUnit(iWorker, pCity.getX(), pCity.getY(), UnitAITypes.NO_UNITAI, DirectionTypes.DIRECTION_SOUTH)[/U]


EDIT: 2nd error:

For some odd reason again there are 2 Thief's listed whereas only one should appear?? (2nd Autosave)

EDIT EDIT: 3rd Error (message only): python problem (2nd pic)

Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "Revolution", line 624, in onEndPlayerTurn
File "Revolution", line 1070, in updatePlayerRevolution
File "Revolution", line 2318, in checkForRevolution
File "Revolution", line 3154, in pickRevolutionStyle
AttributeError: 'NoneType' object has no attribute 'getID'

Not quite sure how you did this, but the problem is that the Python code that handles you getting the Gathering tech is trying to give you a gatherer. However, it tries to put it in your capital city, but somehow you don't HAVE a capital city (one with a palace), and the result is the crash. I have a fix for the crash this causes (the DLL should be returning NULL for the capital city, but is instead returning an uninitialized city object, which the Python cannot cope with (quite reasonably).

When I push that fix to SVN (shortly) the crash will go away, but you'll still be in the no-capital-city situation (and won't get your gatherer as a result). Did you do anything strange to get to this state in the first place?

Edit - actually I take it back - the Python is the problem. The DLL is allowed to return null cities and most of the Python checks, but this bit doesn't - it needs to check that pCity.isNone() is not true - I'll push the fix after I have tested it
 
Not quite sure how you did this, but the problem is that the Python code that handles you getting the Gathering tech is trying to give you a gatherer. However, it tries to put it in your capital city, but somehow you don't HAVE a capital city (one with a palace), and the result is the crash. I have a fix for the crash this causes (the DLL should be returning NULL for the capital city, but is instead returning an uninitialized city object, which the Python cannot cope with (quite reasonably).

When I push that fix to SVN (shortly) the crash will go away, but you'll still be in the no-capital-city situation (and won't get your gatherer as a result). Did you do anything strange to get to this state in the first place?

I will PM you what i did ok, i did that ON PURPOSE. Working on a NEW way to play and stuff is all.
 
Yeah, I know that there a certain buildings (and wonders? not sure about that right now) that increase the time until a city is pacified after being captured. But isn't this a bit ... extreme?
83 turns for their former capital (admittetly with a ton of wonders), and a whooping 96 turns for another city that was currently revolting itself as I took it over (and which doesn't have any wonders)?

I'm playing on "normal" game speed, and according to the counter I've had just over 400 turns for the whole game so far. There're some serious issues with that, even on the slowest game speed 96 turns would be way too much.

// Edit
Game version was r4657.

This just happened again in v28.
The first city I took over had 13 turns (normal), second one was 18 (okayish), and the third, the capital, had an anarchy time of 69 turns.

Pre-capture save game attached.
 

Attachments

the Great Wall messes up with V24, V25, V26, and so on, so it is in every version. I have already passed my auto saves from when it was working, I will try next game.

The pertinent changes happened in V27 development, so any instance of this happening before then is not necessarily useful.
 
@Koshling:

I updated today from revision 4776 to 4788, and that caused my turn times to skyrocket from 83 seconds to 117 seconds. Any idea what may be the cause of that? Save attached.
 
@Koshling:

I updated today from revision 4776 to 4788, and that caused my turn times to skyrocket from 83 seconds to 117 seconds. Any idea what may be the cause of that? Save attached.

No idea, bit I'll profile your save and look at rye changes between those revisions to see if I can see anything
 
No idea, bit I'll profile your save and look at rye changes between those revisions to see if I can see anything

I also did notice quite a JUMP in turn times, i didnt want to say anything, but not that ls612 said it (not me), its out.:p
I noticed it right away from the beginning of the new game start after 10 turns, they just are sooo much longer(maybe up to 15-18 seconds, at new game start) , again for some reason, JMO.
 
@Koshling:

I updated today from revision 4776 to 4788, and that caused my turn times to skyrocket from 83 seconds to 117 seconds. Any idea what may be the cause of that? Save attached.

How sure are you of those revision numbers? They do not include ANY DLL changes

Edit - I have now profiled your save using both the latest assets and older ones that predate the earlier revision you specified, and see no significant difference in times. That means:

1) There were no DLL changes between hose revisions, so if you're sure of the numbers we can rule that out
2) Asset changes between those revisions make no measurable difference

The implication would be there is no change between those revisions, so either the numbers are off, or your just seeing random variation and attributing it to having updated.

Having said all that, there were two hot spots that stood out to me in your game profile:

i) 10 seconds spent in CvDllPythonEvents::postEvent.EndPlayerTurn - that's almost certainly REV Python. We probably cannot do much about that without rewriting REV as part of the DLL (substantial job)

ii) 8.5 seconds spent in CvUnitAI::AI_genericUnitValueTimes100 - that is readily cachable, and so should be almost entirely eliminable. I'll push an optimization to do this later today

The upshot is - there's one obvious optimization (which I'll make), but any slow down across those revisions remains mysterious
 
Um... I'm able to load ships into a Frigate with the Transport II promotion... not sure if that works Transport I as well.
I think the ship was upgraded from earlier version, though I cannot check this (actually two of my Frigates are capable of this, both with Transport II).

I cannot board them into (onto? on? in?) a "regular" Galleon, also with Transport II.

v28 release.


// Edit
Works also with newly created Frigates and Transport I.
 
How sure are you of those revision numbers? They do not include ANY DLL changes

I know, and I suspected that the answer would be random variation given that there were no DLL changes. I had a guess on the off chance that asset changes would do something to AI evaluation, but that wasn't the case. Maybe I'm just not paying attention.
 
I know, and I suspected that the answer would be random variation given that there were no DLL changes. I had a guess on the off chance that asset changes would do something to AI evaluation, but that wasn't the case. Maybe I'm just not paying attention.

It was a valuable save anyway - the optimizations I made knocked over 10% off.
 
SVN 4791. Once the Barter Post is auto-built, I am unable to destroy any buildings or abandon my cities.

The save game is just before I discover Barter, and the Barter Post will auto-build. I can Ctrl-A to destroy buildings on this turn. Once I advance to the next turn, complete the Barter research, and get the Barter Post, I cannot destroy any buildings.

ULTIMATE MAP SIZE - VIEW PORTS REQUIRED TO LOAD
 
SVN 4791. Once the Barter Post is auto-built, I am unable to destroy any buildings or abandon my cities.

The save game is just before I discover Barter, and the Barter Post will auto-build. I can Ctrl-A to destroy buildings on this turn. Once I advance to the next turn, complete the Barter research, and get the Barter Post, I cannot destroy any buildings.

ULTIMATE MAP SIZE - VIEW PORTS REQUIRED TO LOAD

Many people have reported the issue (including SO, even though he says he hasn't:rolleyes:) but at least you give me somewhere to look, but if it is the Barter Post then my idea of what is wrong is not the case.

@Koshling are auto build buildings classed as Free Buildings?
 
@ DH, i am still getting this, i need python help:

Sorry i need a rush on this, again sorry: I am pretty sure this might coincide with the stuff i sent you in the PM's.(:blush::blush:) btw, i am also running it through the Nomad Start. . .

Spoiler :
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_VOLCANO_DORMANT
Can't find type enum for type tag FEATURE_VOLCANO_DORMANT
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_VOLCANO_DORMANT
Can't find type enum for type tag FEATURE_OBSIDIAN_PLAINS
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_COMET
Can't find type enum for type tag FEATURE_OBSIDIAN_PLAINS
Can't find type enum for type tag FEATURE_COMET
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_VOLCANO_DORMANT
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_SCRUB
Can't find type enum for type tag FEATURE_DEAD_FOREST
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_MUD
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_OBSIDIAN_PLAINS
Can't find type enum for type tag FEATURE_OBSIDIAN_PLAINS
Can't find type enum for type tag FEATURE_MUD
Can't find type enum for type tag FEATURE_MUD
Can't find type enum for type tag FEATURE_MUD
Can't find type enum for type tag BONUS_DYE
Can't find type enum for type tag FEATURE_EXOTIC_CORAL
Can't find type enum for type tag FEATURE_EXOTIC_MIN
Can't find type enum for type tag FEATURE_EXOTIC_SEALIFE
Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "RevEvents", line 421, in onCityBuilt
AttributeError: 'NoneType' object has no attribute 'getID'
Traceback (most recent call last):
File "BugEventManager", line 363, in _handleDefaultEvent
File "RevEvents", line 421, in onCityBuilt
AttributeError: 'NoneType' object has no attribute 'getID'



EDIT:

I just have a minidump????
 
Many people have reported the issue (including SO, even though he says he hasn't:rolleyes:) but at least you give me somewhere to look, but if it is the Barter Post then my idea of what is wrong is not the case.

@Koshling are auto build buildings classed as Free Buildings?

In what sense? Do you mean if you ask what their cost is from the BuildingInfo? If so then I doubt it - it'll just return whatever value is in the XML.
 
Status
Not open for further replies.
Back
Top Bottom