MantisBT - VCMI
View Issue Details
0003023VCMIMechanics - Adventure Mappublic2018-11-12 08:322019-01-18 09:23
Povelitel 
 
normalminoralways
newopen 
0.99 
 
0003023: AI has very long turn. Very long ~ 1 hour
4 AI make turns ~ for 1 hour. Needs improvement here.
8e34b1b9a8ba27cfc9f43473b1eb993af5ae155f
No tags attached.
rar Very long turns.rar (2,688,180) 2018-11-12 08:32
https://bugs.vcmi.eu/file_download.php?file_id=2967&type=bug
rar logs crash avto5.rar (519,749) 2019-01-18 09:23
https://bugs.vcmi.eu/file_download.php?file_id=2977&type=bug
rar logs crash avto 1.rar (462,086) 2019-01-18 09:23
https://bugs.vcmi.eu/file_download.php?file_id=2978&type=bug
Issue History
2018-11-12 08:32PovelitelNew Issue
2018-11-12 08:32PovelitelFile Added: Very long turns.rar
2019-01-18 09:22PovelitelNote Added: 0007707
2019-01-18 09:23PovelitelFile Added: logs crash avto5.rar
2019-01-18 09:23PovelitelFile Added: logs crash avto 1.rar

Notes
(0007707)
Povelitel   
2019-01-18 09:22   
after last improvements I have 2 others crashes here:

avtosave 5

return &typeid(*t);

> [Внедренный фрейм] VCAI.dll!CTypeList::getTypeInfo(const CGObjectInstance *)Строка 190 C++
     VCAI.dll!CTypeList::castToMostDerived<CGObjectInstance>(const CGObjectInstance * inputPtr)Строка 154 C++
     VCAI.dll!BinarySerializer::save<CGObjectInstance const * __ptr64,0>(const CGObjectInstance * const & data)Строка 211 C++
     VCAI.dll!BinarySerializer::save<CGObjectInstance const * __ptr64>(const std::set<CGObjectInstance const *,std::less<CGObjectInstance const *>,std::allocator<CGObjectInstance const *> > & data)Строка 273 C++
     [Внедренный фрейм] VCAI.dll!BinarySerializer::operator&(const std::set<CGObjectInstance const *,std::less<CGObjectInstance const *>,std::allocator<CGObjectInstance const *> > &)Строка 132 C++
     VCAI.dll!VCAI::serializeInternal<BinarySerializer>(BinarySerializer & h, const int version)Строка 345 C++
     VCAI.dll!VCAI::saveGame(BinarySerializer & h, const int version)Строка 733 C++
     VCMI_client.exe!CClient::serialize(BinarySerializer & h, const int version)Строка 184 C++
     [Внедренный фрейм] VCMI_client.exe!BinarySerializer::save(const CClient &)Строка 238 C++
     [Внедренный фрейм] VCMI_client.exe!BinarySerializer::operator&(const CClient &)Строка 132 C++
     [Внедренный фрейм] VCMI_client.exe!CSaveFile::operator<<(const CClient &)Строка 370 C++
     VCMI_client.exe!SaveGameClient::applyCl(CClient * cl)Строка 782 C++
     VCMI_client.exe!CClient::handlePack(CPack * pack)Строка 431 C++
     VCMI_client.exe!CServerHandler::threadHandleConnection()Строка 632 C++


avtosave 1

if(!d || obj->ID == Obj::TOWN)

> VCAI.dll!Goals::GatherTroops::getAllPossibleSubgoals()Строка 122 C++
     VCAI.dll!Goals::GatherTroops::whatToDoToAchieve()Строка 65 C++
     VCAI.dll!VCAI::decomposeGoal(Goals::TSubgoal ultimateGoal)Строка 2411 C++
     VCAI.dll!VCAI::mainLoop()Строка 876 C++
     VCAI.dll!VCAI::makeTurn()Строка 810 C++