Kailric
Jack of All Trades
Post bug reports here. Please make note of what version you are playing, either the Git version or Official version. I'll post some other bug hunting related info later.
List of known Failed Asserts:
Some asserts I have been added purposely in order to track the AI's movement and such. I'll make note of these in red in the main post.
Link to Git version
https://github.com/Nightinggale/Medieval_Tech/wiki/Known-Asserts
List of known Failed Asserts:
Some asserts I have been added purposely in order to track the AI's movement and such. I'll make note of these in red in the main post.
Link to Git version
https://github.com/Nightinggale/Medieval_Tech/wiki/Known-Asserts
Code:
File: CvPlayerAI.h
Line: 24
Expression: ePlayer >= 0
Message: Player is not assigned a valid value
[COLOR="Red"]Fixed in Current Git, AI Europe Popes and Kings were trying to use Trader AI units and this was causing errors.[/COLOR]
File: CvUnitAI.cpp
Line: 86
Expression: isGroupHead()
Message: isGroupHead is expected to be true
File: CvUnit.cpp
Line: 965
Expression: m_pUnitInfo->getDefaultUnitAIType() == AI_getUnitAIType()
[COLOR="Red"]This is a development Assert to test the AI's movement[/COLOR]
File: CvTeam.cpp
Line: 997
Expression: eTeam != getID()
Message: eTeam is not expected to be equal with getID()
[COLOR="Red"]This is propaply because of Vassal Lords joining your team. This FA will have no adverse effects.[/COLOR]
File: CvUnit.cpp
Line: 11298
Expression: false
Message: Unit can not have profession
[COLOR="Red"]Fixed in Git Version[/COLOR]
File: CvUnit.cpp
Line: 1252
Expression: pCity != NULL
[COLOR="Red"]This is a development Assert to test new Feature[/COLOR]
File: CvUnit.cpp
Line: 6486
Expression: kCity.foodDifference() < 0
Message
File: CvGameTextMgr.cpp
Line: 8514
Expression: iModifiedProduction == aiYields[eYieldType]
File: CvGameTextMgr.cpp
Line: 8285
Expression: iBaseProduction == city.getBaseRawYieldProduced(eYieldType)
Message:
File: CvGameTextMgr.cpp
Line: 9222
Expression: eYield == NO_YIELD || kPlayer.getSellToEuropeProfit(eYield, iAmount * (100 - iCommission) / 100) == iGross
File: CvPlayer.cpp
Line: 14645
Expression: iPrice <= getGold()
[COLOR="Red"]Commented Out in Current Git[/COLOR]
File: CvPlayer.cpp
Line: 15109
Expression: eYield < NUM_YIELD_TYPES
Message:
Assert Failed
File: CvPlayer.cpp
Line: 15101
Expression: eYield < NUM_YIELD_TYPES
Message:
File: CvPlayer.cpp
Line: 4958
Expression: GC.getCivilizationInfo(getCivilizationType()).getCivilizationUnits(eUnitClass) == eUnit
Message:
[COLOR="Red"]Fixed in Current Git, AI Popes and Kings had wrong Class assigned to Artillery aka Trebuchets.[/COLOR]
File: CvPlayer.cpp
Line: 5097
Expression: GC.getCivilizationInfo(getCivilizationType()).getCivilizationBuildings(eBuildingClass) == eBuilding
[COLOR="Red"]Fixed in Current Git, added code to first check for Civilization Buildings before cities are assigned a Free Building[/COLOR]
File: CvInfos.cpp
Line: 15607
Expression: i < GC.getUnitInfo((UnitTypes) j).getGroupDefinitions((ProfessionTypes) m)
Message: Index out of bounds
[COLOR="Red"]Fixed in Git Version[/COLOR]