MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001432VCMIAI - Adventure Mappublic2013-09-04 23:052013-09-11 21:56
ReporterPovelitel 
Assigned ToTow 
PriorityhighSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformWindowsOSXPOS Versionsp3
Product Version0.93b 
Target VersionFixed in Version 
Summary0001432: crash turn AI
DescriptionEnd Turn
TagsNo tags attached.
Attached Filesrar file icon games.rar [^] (895,695 bytes) 2013-09-04 23:05

- Relationships
duplicate of 0001444closedTow crash turn AI 

-  Notes
(0003969)
Tow (developer)
2013-09-08 16:27

Crashes in the server on calculating turrets damage:

Stacktrace
     ntdll.dll!_KiUserExceptionDispatcher@8() Unknown
     VCMI_lib.dll!std::_Count_if<std::_Tree_unchecked_const_iterator<std::_Tree_val<std::_Tree_simple_types<BuildingID> >,std::_Iterator_base0>,<lambda_39453c3229c5a6efe51aff465ef3d377> >(std::_Tree_unchecked_const_iterator<std::_Tree_val<std::_Tree_simple_types<BuildingID> >,std::_Iterator_base0> _First={...}, std::_Tree_unchecked_const_iterator<std::_Tree_val<std::_Tree_simple_types<BuildingID> >,std::_Iterator_base0> _Last={...}, CGTownInstance::getTownLevel::__l3::<lambda_39453c3229c5a6efe51aff465ef3d377> _Pred={...}) Line 109 C++
> VCMI_lib.dll!CGTownInstance::getTownLevel() Line 2633 C++
     VCMI_lib.dll!SiegeStuffThatShouldBeMovedToHandlers::retreiveTurretDamageRange(const CGTownInstance * town=0x02505ba0, const CStack * turret=0x0246c770, double & outMinDmg=2.0000000000000000, double & outMaxDmg=4.0000000000000000) Line 35 C++
     VCMI_lib.dll!CBattleInfoCallback::calculateDmgRange(const BattleAttackInfo & info={...}) Line 824 C++
     VCMI_lib.dll!CBattleInfoCallback::calculateDmgRange(const CStack * attacker=0x0246c770, const CStack * defender=0x0246c1b0, int attackerCount=1, bool shooting=true, unsigned char charge='\0', bool lucky=false, bool unlucky=false, bool deathBlow=false, bool ballistaDoubleDmg=false) Line 1018 C++
     VCMI_lib.dll!CBattleInfoCallback::calculateDmgRange(const CStack * attacker=0x0246c770, const CStack * defender=0x0246c1b0, bool shooting=true, unsigned char charge='\0', bool lucky=false, bool unlucky=false, bool deathBlow=false, bool ballistaDoubleDmg=false) Line 799 C++
     VCMI_lib.dll!BattleInfo::calculateDmg(const CStack * attacker=0x0246c770, const CStack * defender=0x0246c1b0, const CGHeroInstance * attackerHero=0x0289a788, const CGHeroInstance * defendingHero=0x0246a418, bool shooting=true, unsigned char charge='\0', bool lucky=false, bool unlucky=false, bool deathBlow=false, bool ballistaDoubleDmg=false) Line 93 C++
     VCMI_server.exe!CGameHandler::applyBattleEffects(BattleAttack & bat={...}, const CStack * att=0x0246c770, const CStack * def=0x0246c1b0, int distance=0, bool secondary=false) Line 785 C++
     VCMI_server.exe!CGameHandler::prepareAttack(BattleAttack & bat={...}, const CStack * att=0x0246c770, const CStack * def=0x0246c1b0, int distance=0, int targetHex=2) Line 747 C++
     VCMI_server.exe!CGameHandler::makeBattleAction(BattleAction & ba={...}) Line 3473 C++
     VCMI_server.exe!CGameHandler::runBattle() Line 5964 C++
     VCMI_server.exe!boost::`anonymous namespace'::thread_start_function(void *) C++
(0003970)
Tow (developer)
2013-09-08 16:30

Same cause of crash as 0001444, builtBuildings contains buildings that are not in the buildings vector.
(0004000)
Tow (developer)
2013-09-11 21:56

Closing, please follow 0001444 for progress on this issue.

- Issue History
Date Modified Username Field Change
2013-09-04 23:05 Povelitel New Issue
2013-09-04 23:05 Povelitel Status new => assigned
2013-09-04 23:05 Povelitel Assigned To => Tow
2013-09-04 23:05 Povelitel File Added: games.rar
2013-09-08 16:27 Tow Note Added: 0003969
2013-09-08 16:27 Tow Status assigned => confirmed
2013-09-08 16:30 Tow Note Added: 0003970
2013-09-08 16:31 Tow Relationship added duplicate of 0001444
2013-09-11 21:56 Tow Note Added: 0004000
2013-09-11 21:56 Tow Status confirmed => closed
2013-09-11 21:56 Tow Resolution open => fixed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean