Ouch!

Discussion in 'Bugs' started by Kalin, Dec 18, 2014.

  1. Kalin

    Kalin Begat G'zok

    SP battle got stuck when Gary played Ouch!

    Code:
    BATTLE LOG: Scenario=Gnome Entry,Room=GNOM (Kalin),RoomID=142205,Event=Action Phase Initiated
    BATTLE LOG: Scenario=Gnome Entry,Room=GNOM (Kalin),RoomID=142205,Msg=Gary must play a Trait
    BATTLE LOG: Player=Gary,Scenario=Gnome Entry,Room=GNOM (Kalin),RoomID=142205,Event=PlayAction,Action=Ouch!,Instigator=Hixy,Targets=
    BATTLE WARNING: Scenario=Gnome Entry,Room=GNOM (Kalin),RoomID=142205,Msg=Command::instruct Unhandled Instruction:
        (bool) IIU: false
        (utf_string) type: noMoreTraits
    
    BATTLE WARNING: Scenario=Gnome Entry,Room=GNOM (Kalin),RoomID=142205,Msg=Command::instruct current command queue:
    com.cardhunter.battle.commands::CheckForTriggerCommand
    com.cardhunter.battle.commands::TriggerAndResolveCommand
    com.cardhunter.battle.commands::IncrementActivePlayerCommand
    com.cardhunter.battle.commands::CheckForTraitsCommand
    com.cardhunter.battle.commands::StartScoringPhaseCommand
    com.cardhunter.battle.commands::StartDiscardPhaseCommand
    com.cardhunter.battle.commands::EndTurnCommand
    
    BATTLE WARNING: Scenario=Gnome Entry,Room=GNOM (Kalin),RoomID=142205,Msg=Battle::run failed due to command error.
    BATTLE LOG: Scenario=Gnome Entry,Room=GNOM (Kalin),RoomID=142205,Msg=Received invalid instruction on command com.cardhunter.battle.commands::CheckForTriggerCommand: forced defeat
    BATTLE LOG: Scenario=Gnome Entry,Room=GNOM (Kalin),RoomID=142205,Msg=Gary was defeated
    BATTLE WARNING: Scenario=Gnome Entry,Room=GNOM (Kalin),RoomID=142205,Msg=Command::instruct Unhandled Instruction:
        (sfs_object) HP:
            (sfs_array) peeks:
                (sfs_object)
                    (bool) logOnClient: false
                    (int) cownerg: -1
                    (int) group: 0
                    (int) card: 4
                    (int) owner: 1
                    (utf_string) origin: Gnome
                    (int) cownerp: -1
                    (utf_string) type: Run
               
           
       
        (int) ACTG: 0
        (int) IUID: -1
        (bool) IIU: false
        (int) ACTC: 4
        (int) INST: 1
        (utf_string) type: action
    
    BATTLE WARNING: Scenario=Gnome Entry,Room=GNOM (Kalin),RoomID=142205,Msg=Command::instruct current command queue:
    com.cardhunter.battle.commands::TriggerAndResolveCommand
    com.cardhunter.battle.commands::GameOverPhaseCommand
    com.cardhunter.battle.commands::IncrementActivePlayerCommand
    com.cardhunter.battle.commands::CheckForTraitsCommand
    com.cardhunter.battle.commands::StartScoringPhaseCommand
    com.cardhunter.battle.commands::StartDiscardPhaseCommand
    com.cardhunter.battle.commands::EndTurnCommand
    
    BATTLE WARNING: Scenario=Gnome Entry,Room=GNOM (Kalin),RoomID=142205,Msg=Battle::run failed due to command error.
    BATTLE LOG: Scenario=Gnome Entry,Room=GNOM (Kalin),RoomID=142205,Msg=Received invalid instruction on command com.cardhunter.battle.commands::TriggerAndResolveCommand: forced defeat
    
    Refreshing allowed me to rejoin the battle where I left it.
     
  2. Jon

    Jon Blue Manchu Staff Member

    Hmm, I don't suppose you have the earlier part of the log?

    Or can you reproduce this? I tried but failed.
     
  3. Kalin

    Kalin Begat G'zok

    It doesn't happen every time the card is played. In fact, they may have played that card earlier in that same battle. I do remember that the Inciter was already dead and there were only 3 Berserkers left alive. When I resumed the game they had 1, 8, and 4 health left.

    If it happens again, I'll get the logs for the whole battle.

    PS. The log entries saying that Gary was defeated weren't true: I had to cast a couple Firestorms to finish the battle.
     
  4. Farbs

    Farbs Blue Manchu Staff Member

    Hrm, it sounds like client and server state may have diverged earlier on, but that only came to a head here. We're going to have to be vigilant to catch this one.
     

Share This Page