MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001002VCMIAI - Adventure Mappublic2012-06-13 20:002012-06-23 15:57
Reporterdouggie_m 
Assigned To 
PrioritynormalSeveritymajorReproducibilityrandom
StatusclosedResolutionduplicate 
PlatformPowerPCOSGNU/LinuxOS Version
Product Version 
Target VersionFixed in Version 
Summary0001002: Unexpected behavior when AI loses its hero
DescriptionWhen you kill AI's hero, game may crash on AI turn:

----------------------------------------
Player 1 starting turn
System message: You are not allowed to perform this action!
const PlayerState* CGameInfoCallback::getPlayer(int, bool) const: Cannot find player 255info!
vcmiclient: CGameState.cpp:2740: void CPathfinder::calculatePaths(int3, int): Assertion `hero == getHero(hero->id)' failed.
Aborted
----------------------------------------
Steps To ReproduceLooks like it occurs randomly.

Saved game to re-produce this issue is attached. Load it and just end turn.
TagsNo tags attached.
Attached Filesbz2 file icon dungeon_keeper_2.saved_game.tar.bz2 [^] (103,996 bytes) 2012-06-13 20:00

- Relationships
duplicate of 0000954closedTow AI crashes after losing hero on enemy's turn 
duplicate of 0000998closed Cannot find player info 

-  Notes
(0002673)
Warmonger (administrator)
2012-06-13 20:03

Duplicate of 0000954 & 0000998.
(0002675)
douggie_m (reporter)
2012-06-14 15:16

> Duplicate of 0000954 & 0000998.

Ah, so other guys found this too. I supposed it is so rare, so...

Sorry for dupe.

And that saved game which I've uploaded doesn't reproduce this bug. It looks like you need to kill some hero (I believe it shall be AI's starting one) and finish the turn without saving/loading after that. Real magic, yeah.
(0002676)
Warmonger (administrator)
2012-06-14 15:22

AI state is currently not saved, so after reload it may behave totally different.
(0002677)
douggie_m (reporter)
2012-06-14 15:27

> AI state is currently not saved, so after reload it may behave totally different.

Ah, okay. So I do confirm: when you save game after killing AI's hero, and the game crashes after that, just load that savegame and 99% chance it would be okay.
(0002767)
Ivan (developer)
2012-06-23 15:57

Closing duplicates

- Issue History
Date Modified Username Field Change
2012-06-13 20:00 douggie_m New Issue
2012-06-13 20:00 douggie_m Status new => assigned
2012-06-13 20:00 douggie_m Assigned To => Tow
2012-06-13 20:00 douggie_m File Added: dungeon_keeper_2.saved_game.tar.bz2
2012-06-13 20:03 Warmonger Note Added: 0002673
2012-06-13 20:03 Warmonger Relationship added duplicate of 0000954
2012-06-13 20:03 Warmonger Relationship added duplicate of 0000998
2012-06-14 15:16 douggie_m Note Added: 0002675
2012-06-14 15:22 Warmonger Note Added: 0002676
2012-06-14 15:27 douggie_m Note Added: 0002677
2012-06-23 15:57 Ivan Note Added: 0002767
2012-06-23 15:57 Ivan Status assigned => closed
2012-06-23 15:57 Ivan Assigned To Tow =>
2012-06-23 15:57 Ivan Resolution open => duplicate

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean