MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001252VCMIAI - Adventure Mappublic2013-04-01 12:052022-03-15 18:41
Reporteroskarroza 
Assigned ToSXX 
PriorityhighSeverityblockReproducibilityalways
StatusclosedResolutionunable to reproduce 
PlatformPCOSWin7 32 bitOS Version
Product Version0.92 
Target VersionFixed in Version 
Summary0001252: Stuck on EndTurn, because AI player has been vanquished
DescriptionHi, there seems to be a problem with the AI when it's killed by another AI player. VCMI is simply stuck at the DEAD AI turn and cannot finish it, because the AI player is vanquished from the map (lost all heroes and towns).

Below I upload the VCMI log. In the end I tried to write 'EndTurn' into VCMI console, with no success, that's why there are "You are not allowed to perform this action!" present.


VCMI log:
(...)
Made first apply on cl
Hero Gretchin #detached from# Player Purple
    Applied on gs
    Made second apply on cl
Listening... received server message of type struct SetPrimSkill
    Made first apply on cl
    Applied on gs
    Made second apply on cl
Listening... received server message of type struct SetPrimSkill
    Made first apply on cl
    Applied on gs
    Made second apply on cl
Listening... received server message of type struct HeroLevelUp
    Made first apply on cl
    Applied on gs
    Adding query 85 - Hero Ufretin got level 5. Total queries count: 1
    Made second apply on cl
Listening... received server message of type struct BattleResultsApplied
    Made first apply on cl
    I'll answer the query 85 giving the choice 0
Sending a request "struct QueryReply". It'll have an ID=135.
Sending to server a pack of type struct QueryReply
    Attempted answering query 85 - Hero Ufretin got level 5. Request id=135. Waiting for results...
We'll wait till request 135 is answered.
    Applied on gs
    Made second apply on cl
Listening... received server message of type struct InfoWindow
    Made first apply on cl
    Applied on gs
    Made second apply on cl
Listening... received server message of type struct PlayerEndsGame
    Made first apply on cl
    Applied on gs
    Cannot get object with id Player 1: I heard that player 5 lost.630
. Object was removed.
        Player 5: I heard that player 5 lost.I lost my hero Gretchin. It's best to forget and move on.


VCAI: Player 5Failed to realize subgoal of type VISIT TILE (2 6 1) (greater goal type was WIN), I will stop. lost. It's me. What a disappointment! :(

        Player 6: I heard that player 5 lost.The error message was: Hero was lost!
    Made second apply on cl
Listening... received server message of type struct SetObjectProperty
    Made first apply on cl

    Striving to goal of type BUILD
        Considering goal BUILD
Making turn thread has been interrupted. We'll end without calling endTurn.
Bonus system node of type class CGMine #detached from# Player Purple
Bonus system node of type class CGMine #attached to# Global effects
    Applied on gs
    Made second apply on cl
Listening... received server message of type struct SetSecSkill
    Made first apply on cl
    Applied on gs
    Made second apply on cl
Listening... received server message of type struct PackageApplied
    Made first apply on cl
    Applied on gs
Removing query 85 - Hero Ufretin got level 5. Total queries count: 0
    Made second apply on cl
Listening... Sending a request "struct PlayerMessage". It'll have an ID=136.
Sending to server a pack of type struct PlayerMessage
    received server message of type struct SystemMessage
    Made first apply on cl
    Applied on gs
System message: You were identified as player 5 while expecting 0
    Made second apply on cl
Listening... received server message of type struct SystemMessage
    Made first apply on cl
    Applied on gs
System message: You are not allowed to perform this action!
    Made second apply on cl
Listening... received server message of type struct PackageApplied
    Made first apply on cl
    Applied on gs
    Made second apply on cl
Listening... Sending a request "struct PlayerMessage". It'll have an ID=137.
Sending to server a pack of type struct PlayerMessage
    received server message of type struct SystemMessage
    Made first apply on cl
    Applied on gs
System message: You were identified as player 5 while expecting 0
    Made second apply on cl
Listening... received server message of type struct SystemMessage
    Made first apply on cl
    Applied on gs
System message: You are not allowed to perform this action!
    Made second apply on cl
Listening... received server message of type struct PackageApplied
    Made first apply on cl
    Applied on gs
    Made second apply on cl
Steps To ReproduceJust open my save and click End Turn; Purple player will attack another player and fail to win; then the game will stop working properly.
Additional InformationI'm running VCMI on Heroes3 ERA II
TagsAI, block, Computer, End, EndTurn, Turn
Attached Files? file icon purple player issue.vcgm1 [^] (959,732 bytes) 2013-04-01 12:05

- Relationships
duplicate of 0001235closedTow Crushes while ending turn 

-  Notes
(0003484)
Ivan (developer)
2013-04-01 13:56
edited on: 2013-04-01 13:56

According to logs this looks like duplicate of 0001235

(0003486)
oskarroza (reporter)
2013-04-02 22:44

Not quite. In my issue the game still works, it does NOT crash... AI is simply 'thinking' about Purple player and does not know what to do.
(0003487)
Ivan (developer)
2013-04-02 22:57

Perhaps. But they definitely have something in common.

I just want to make sure that the person who will work on one bug will notice another one as well.
(0003494)
Tow (developer)
2013-04-20 11:41

VCMI savegame consists of two files: *.vcgm1 and *.vsgm1. Please upload both of them to allow me reproducing issue.
(0006675)
SXX (administrator)
2016-09-14 03:04

There is good chance some problem like that still in game. While running games on autoskip I had really weird issues that possible related to dying AI.
(0008081)
Povelitel (updater)
2022-03-15 18:41

I will close this ticket because it cannot be reproduced.

- Issue History
Date Modified Username Field Change
2013-04-01 12:05 oskarroza New Issue
2013-04-01 12:05 oskarroza Status new => assigned
2013-04-01 12:05 oskarroza Assigned To => Tow
2013-04-01 12:05 oskarroza File Added: purple player issue.vcgm1
2013-04-01 12:07 oskarroza Tag Attached: Adventure Map
2013-04-01 12:07 oskarroza Tag Attached: AI
2013-04-01 12:07 oskarroza Tag Attached: block
2013-04-01 12:07 oskarroza Tag Attached: Computer
2013-04-01 12:07 oskarroza Tag Attached: End
2013-04-01 12:07 oskarroza Tag Attached: EndTurn
2013-04-01 12:07 oskarroza Tag Attached: Turn
2013-04-01 13:55 Ivan Relationship added duplicate of 0001235
2013-04-01 13:56 Ivan Note Added: 0003484
2013-04-01 13:56 Ivan Note Edited: 0003484 View Revisions
2013-04-02 22:44 oskarroza Note Added: 0003486
2013-04-02 22:57 Ivan Note Added: 0003487
2013-04-20 11:41 Tow Note Added: 0003494
2013-04-20 11:41 Tow Status assigned => feedback
2016-09-14 03:03 SXX Assigned To Tow => SXX
2016-09-14 03:03 SXX Status feedback => assigned
2016-09-14 03:04 SXX Note Added: 0006675
2016-09-14 03:04 SXX Tag Detached: Adventure Map
2022-03-15 18:41 Povelitel Note Added: 0008081
2022-03-15 18:41 Povelitel Status assigned => closed
2022-03-15 18:41 Povelitel Resolution open => unable to reproduce

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean