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

Guerrillas are "Carries Captives Special Type", but I have automated planes regularly rebasing onto guerrillas. They (guerrillas) can also transport Felis Superiors. Something is seriously wrong with "Carries Captives Special Type".

While I'm here, a reminder that the issue of how warlord units interact with forts (and wider issues around HN interactions with cities) was referred to Bill just before he left. I guess it's somewhere down Tbrd's to-do list now, but I just wanted to make sure it wasn't forgotten.
As I mentioned in the unit thread, I've plotted out how to solve for the issues with carrying - it's just going to take a bit yet to finish the unit planning and then get into implementation. I've been on a bit of a break for the last week as well so my apologies for slow progress but now and then I gotta focus on the D&D game with my wife and that's been taking precedent at the moment. We'll finish what's been prepped for and I'll be back at it here for a while.
 
Gentlemen, I'm not sure, but it seems to me that the barbarians are inventing religious thecs, thereby making this impossible for players. In my game, druidism, shamanism and tengri are “blocked” at the time of + -30K BC, but none of the religions is open. Later religions are available. As these were previously available.
 
Gentlemen, I'm not sure, but it seems to me that the barbarians are inventing religious thecs, thereby making this impossible for players. In my game, druidism, shamanism and tengri are “blocked” at the time of + -30K BC, but none of the religions is open. Later religions are available. As these were previously available.
Other civs probably were much faster than you.
This happens if you play on slower speeds (generally easier to outrun calendar - more animal myths per researched tech and so on) and higher handicaps.
Upload save.
 
Other civs probably were much faster than you.

There were no reports of the appearance of great prophets (I play with this function). But at the same time there was a message that the barbarians were the first to open a sedentary lifestyle (i.e. they are definitely ahead of all players).

Religions are not marked as founded in religios list.
 

Attachments

Somehow Barbarian State (first barbarian NPC) has religious techs, @Toffer90 needs to check how techs are given to barbarians.

Also some leader called Cunhanbebe has all Prehistoric techs including religions.
That civ is in Japan.
Revolutions may be really broken inside.

Revolution stuff affects NPCs it seems - barbarians have it in their cities.
Also this new WB opens and closes quickly ;)
 
Last edited:
Gentlemen, I'm not sure, but it seems to me that the barbarians are inventing religious thecs, thereby making this impossible for players. In my game, druidism, shamanism and tengri are “blocked” at the time of + -30K BC, but none of the religions is open. Later religions are available. As these were previously available.
It's possible worldbuilder isn't establishing NPCs properly.
 
3-4 SVN's ago the scenario read code was attempting to have the exe initialize all the NPC players, which is not really ideal.
Is the problem he's talking about related to what was happening then?
 
@Toffer90 and @Thunderbrd
I'm getting two different asserts just by entering some player city.
Code:
ASSERT FAILED
====================================================================
File:        D:\Modstuff\Caveman2Cosmos_GIT\Sources\CvGameTextMgr.cpp
Line:        36450
Expression:  pCity->totalTradeModifier(pOtherCity) == iModifier
====================================================================
PYTHON CALLSTACK:
---------------------------------------------------------------------------------------------------------------------------
CvScreensInterface.py (514): forceScreenRedraw
CvMainInterface.py (1333): redraw
CvMainInterface.py (2693): updateCityScreen
====================================================================
DLL CALLSTACK:
---------------------------------------------------------------------------------------------------------------------------
git\sources\cvgametextmgr.cpp (36450): CvGameTextMgr::setTradeRouteHelp
git\sources\cvdllwidgetdata.cpp (5933): CvDLLWidgetData::parseTradeRouteCityHelp
git\sources\cvdllwidgetdata.cpp (297): CvDLLWidgetData::parseHelp
04B0C773 (CvGameCoreDLL): (filename not available): __security_error_handler

Code:
ASSERT FAILED
===============================================================
File:        D:\Modstuff\Caveman2Cosmos_GIT\Sources\CvGameTextMgr.cpp
Line:        36456
Expression:  iProfit == pCity->calculateTradeProfitTimes100(pOtherCity)
====================================================================
PYTHON CALLSTACK:
---------------------------------------------------------------------------------------------------------------------------
CvScreensInterface.py (514): forceScreenRedraw
CvMainInterface.py (1333): redraw
CvMainInterface.py (2693): updateCityScreen
====================================================================
DLL CALLSTACK:
---------------------------------------------------------------------------------------------------------------------------
git\sources\cvgametextmgr.cpp (36456): CvGameTextMgr::setTradeRouteHelp
git\sources\cvdllwidgetdata.cpp (5933): CvDLLWidgetData::parseTradeRouteCityHelp
git\sources\cvdllwidgetdata.cpp (297): CvDLLWidgetData::parseHelp
04B0C773 (CvGameCoreDLL): (filename not available): __security_error_handler

When hovering over yields on left side of city screen.
Code:
ASSERT FAILED
==================================================================
File:        D:\Modstuff\Caveman2Cosmos_GIT\Sources\CvGameTextMgr.cpp
Line:        34451
Expression:  city.getBaseCommerceRateTimes100(eCommerceType) == iBaseCommerceRate
====================================================================
MESSAGE:
---------------------------------------------------------------------------------------------------------------------------
Base Commerce rate does not agree with actual value
====================================================================
DLL CALLSTACK:
---------------------------------------------------------------------------------------------------------------------------
git\sources\cvgametextmgr.cpp (34451): CvGameTextMgr::setCommerceHelp
git\sources\cvdllwidgetdata.cpp (6697): CvDLLWidgetData::parseCommerceModHelp
git\sources\cvdllwidgetdata.cpp (629): CvDLLWidgetData::parseHelp
04B0C773 (CvGameCoreDLL): (filename not available): __security_error_handler

Code:
ASSERT FAILED
====================================================================
File:        D:\Modstuff\Caveman2Cosmos_GIT\Sources\CvGameTextMgr.cpp
Line:        34624
Expression:  iModYield == city.getCommerceRateTimes100(eCommerceType)
====================================================================
MESSAGE:
---------------------------------------------------------------------------------------------------------------------------
Commerce yield does not match actual value
====================================================================
DLL CALLSTACK:
---------------------------------------------------------------------------------------------------------------------------
git\sources\cvgametextmgr.cpp (34624): CvGameTextMgr::setCommerceHelp
git\sources\cvdllwidgetdata.cpp (6697): CvDLLWidgetData::parseCommerceModHelp
git\sources\cvdllwidgetdata.cpp (629): CvDLLWidgetData::parseHelp
04B0C773 (CvGameCoreDLL): (filename not available): __security_error_handler

And when hovering over city defense on top bar.
Code:
ASSERT FAILED
====================================================================
File:        D:\Modstuff\Caveman2Cosmos_GIT\Sources\CvGameTextMgr.cpp
Line:        38398
Expression:  iBaseRate == iClaimedDefense
================================================
MESSAGE:
---------------------------------------------------------------------------------------------------------------------------
City Defense Does Not add up Correctly
====================================================================
DLL CALLSTACK:
---------------------------------------------------------------------------------------------------------------------------
git\sources\cvgametextmgr.cpp (38398): CvGameTextMgr::setDefenseHelp
git\sources\cvdllwidgetdata.cpp (6724): CvDLLWidgetData::parseDefenseModHelp
git\sources\cvdllwidgetdata.cpp (261): CvDLLWidgetData::parseHelp
04B0C773 (CvGameCoreDLL): (filename not available): __security_error_handler

Another one.... It shouldn't trigger if playing with unlimited units.
Code:
ASSERT FAILED
====================================================================
File:        D:\Modstuff\Caveman2Cosmos_GIT\Sources\CvPlayer.cpp
Line:        15935
Expression:  GC.getUnitInfo(eIndex).getMaxPlayerInstances() == 0 || getUnitCount(eIndex) <= GC.getUnitInfo(eIndex).getMaxPlayerInstances()
====================================================================
MESSAGE:
---------------------------------------------------------------------------------------------------------------------------
getUnitCount=18 is expected not to be greater than MaxPlayerInstances=1 for UNIT_TRIBAL_GUARDIAN
====================================================================
PYTHON CALLSTACK:
---------------------------------------------------------------------------------------------------------------------------
CvScreensInterface.py (475): handleInput
CvMainInterface.py (5240): handleInput
====================================================================
DLL CALLSTACK:
---------------------------------------------------------------------------------------------------------------------------
git\sources\cvplayer.cpp (15935): CvPlayer::isUnitMaxedOut
git\sources\cvplayer.cpp (8375): CvPlayer::isProductionMaxedUnit
git\sources\cvgametextmgr.cpp (17654): CvGameTextMgr::setTechTradeHelp
git\sources\cvgametextmgr.cpp (17301): CvGameTextMgr::setTechHelp
git\sources\cygametextmgr.cpp (80): CyGameTextMgr::getTechHelp
04AFB838 (CvGameCoreDLL): (filename not available): __security_error_handler

All those are from assert build when trying to enter one of cities even without debug mode.
 

Attachments

Last edited:
Researching Superstrong Alloys (or possibly Plastic Electronics, which I picked in the previous turn as a free tech) causes a huge cascade of buildings going out of order.
I started the game in April (?) under whatever SVN was current at the time. I went back to an earlier save and updated to SVN 11193 tonight to see if that fixed it, but it didn't.
It seems like losing access to microgenerators plays a role, but I can't be sure.
If a save from a turn or two before this would help, let me know.
 

Attachments

Also, the Missile Lab building doesn't have any attributes other than creating fire.
 
I am getting an infinite loading screen when I start a game using a map that I saved from WorldBuilder. Is this a known issue? It may help you to know that I changed some of the starting options from the game that built the map. Let me know if a log or anything will help with infinite loading screens. (Not a crash).
 
I am getting an infinite loading screen when I start a game using a map that I saved from WorldBuilder. Is this a known issue? It may help you to know that I changed some of the starting options from the game that built the map. Let me know if a log or anything will help with infinite loading screens. (Not a crash).
Upload the scenario file that is problematic and I can look into it.
 
I am getting an infinite loading screen when I start a game using a map that I saved from WorldBuilder. Is this a known issue? It may help you to know that I changed some of the starting options from the game that built the map. Let me know if a log or anything will help with infinite loading screens. (Not a crash).
:hug:PRIME! You have been dearly missed my friend! How have you been?
 
Back
Top Bottom