MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002994VCMIAI - Adventure Mappublic2018-08-08 09:062018-08-08 10:48
Reportergreg3ll 
Assigned ToDydzio 
PrioritynormalSeveritycrashReproducibilityalways
StatusassignedResolutionopen 
Platformx64OSWindowsOS Version10
Product Version0.99 
Target VersionFixed in Version 
Summary0002994: Game crashes on AI turn
DescriptionGame crashes on AI turn.
Steps To Reproduce1. Load attached save
2. click end turn
3. game crash on pink player turn (for me every time).
Additional InformationI'm using ver 46b4dcf (06-Aug-2018 04:15).
Also tryed on ver 2afe36e (05-Aug-2018 05:22) - the same result.
MODs: VCMI essential files; i added new screen resolution 1920x1200 (modified from 1920x1080; feel free to publish it if you wish), but it shouldn't gave a problem (files attached).
TagsNo tags attached.
Attached Files7z file icon Saves.7z [^] (862,532 bytes) 2018-08-08 09:06
7z file icon logs.7z [^] (138,049 bytes) 2018-08-08 09:07
7z file icon crashinfo.7z [^] (670,963 bytes) 2018-08-08 09:07
7z file icon res 1920x1200.7z [^] (73,468 bytes) 2018-08-08 09:09

- Relationships

-  Notes
(0007623)
Povelitel (updater)
2018-08-08 09:18

Can confirm it

if(dest.roadType != ERoadType::NO_ROAD && from.roadType != ERoadType::NO_ROAD)

> VCMI_lib.dll!CGHeroInstance::getTileCost(const TerrainTile & dest, const TerrainTile & from, const TurnInfo * ti)Строка 69 C++
     VCMI_lib.dll!CPathfinderHelper::getMovementCost(const CGHeroInstance * h, const int3 & src, const int3 & dst, const TerrainTile * ct, const TerrainTile * dt, const int remainingMovePoints, const TurnInfo * ti, const bool checkLast)Строка 1057 C++
     VCMI_lib.dll!CPathfinderHelper::getMovementCost(const CGHeroInstance * h, const int3 & dst)Строка 1121 C++
     VCAI.dll!FuzzyHelper::calculateTurnDistanceInputValue(const CGHeroInstance * h, int3 tile)Строка 208 C++
     VCAI.dll!FuzzyHelper::getWanderTargetObjectValue(const CGHeroInstance & h, const ObjectIdRef & obj)Строка 294 C++
     [Внедренный фрейм] VCAI.dll!VCAI::wander::__l56::<lambda_9ace2e48f572fffb95a4c2b2decba6fd>::operator()(const ObjectIdRef &)Строка 1466 C++
     [Внедренный фрейм] VCAI.dll!std::_Ref_fn<<lambda_9ace2e48f572fffb95a4c2b2decba6fd> >::operator()(ObjectIdRef &)Строка 523 C++
     [Внедренный фрейм] VCAI.dll!std::_Max_element_unchecked(ObjectIdRef * _First, ObjectIdRef * _Pred, std::_Ref_fn<<lambda_9ace2e48f572fffb95a4c2b2decba6fd> >)Строка 4208 C++
     [Внедренный фрейм] VCAI.dll!std::max_element(std::_Vector_iterator<std::_Vector_val<std::_Simple_types<ObjectIdRef> > >)Строка 4223 C++
     [Внедренный фрейм] VCAI.dll!boost::range::max_element(std::vector<ObjectIdRef,std::allocator<ObjectIdRef> > &)Строка 53 C++
     VCAI.dll!VCAI::wander(HeroPtr h)Строка 1469 C++
     VCAI.dll!VCAI::performTypicalActions()Строка 2493 C++
     VCAI.dll!VCAI::makeTurn()Строка 802 C++
(0007624)
Dydzio (developer)
2018-08-08 10:48

That comes from my new code, it will be changed soon, but will check the problem anyway so I can determine what did I miss.

- Issue History
Date Modified Username Field Change
2018-08-08 09:06 greg3ll New Issue
2018-08-08 09:06 greg3ll File Added: Saves.7z
2018-08-08 09:07 greg3ll File Added: logs.7z
2018-08-08 09:07 greg3ll File Added: crashinfo.7z
2018-08-08 09:09 greg3ll File Added: res 1920x1200.7z
2018-08-08 09:18 Povelitel Note Added: 0007623
2018-08-08 10:47 Dydzio Assigned To => Dydzio
2018-08-08 10:47 Dydzio Status new => assigned
2018-08-08 10:48 Dydzio Note Added: 0007624

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2018 MantisBT Team
Hosting provided by DigitalOcean