[bug] error - Received invalid instruction: forced defeat

Discussion in 'Bugs' started by neoncat, Dec 27, 2013.

  1. neoncat

    neoncat Feline Outline

    This happens fairly reliably at the end of the first / beginning of the second round in a custom scenario I'm working on. Scenario is attached, error log is below. The battle simply halts without any notifications, and the user is not kicked back to the lobby.

    Code:
    BATTLE WARNING: Scenario=Lava Bridge,Room=neoncat's battle (custom),RoomID=341558,Msg=Command::instruct Unhandled Instruction:
        (bool) IIU: false
        (utf_string) type: handPeeks
        (int_array) SENDID: [0]
        (sfs_object) HP:
            (sfs_array) peeks:
                (sfs_object)
                    (int) cownerp: -1
                    (utf_string) type: Walk
                    (int) owner: 0
                    (int) card: 0
                    (int) group: 1
                    (int) cownerg: -1
                    (utf_string) origin: Dwarf
                    (bool) logOnClient: false
     
    BATTLE WARNING: Scenario=Lava Bridge,Room=neoncat's battle (custom),RoomID=341558,Msg=Command::instruct current command queue:
    com.cardhunter.battle.commands::DeckPeekCommand
    com.cardhunter.battle.commands::DeckToHandCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawTemporaryCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawTemporaryCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawTemporaryCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawTemporaryCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawTemporaryCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::StartActionPhaseCommand
    com.cardhunter.battle.commands::StartScoringPhaseCommand
    com.cardhunter.battle.commands::StartDiscardPhaseCommand
    com.cardhunter.battle.commands::EndTurnCommand
     
    BATTLE WARNING: Scenario=Lava Bridge,Room=neoncat's battle (custom),RoomID=341558,Msg=Battle::run failed due to command error.
    BATTLE LOG: Scenario=Lava Bridge,Room=neoncat's battle (custom),RoomID=341558,Msg=Received invalid instruction: forced defeat
    BATTLE LOG: Scenario=Lava Bridge,Room=neoncat's battle (custom),RoomID=341558,Msg=Gary was defeated
    BATTLE WARNING: Scenario=Lava Bridge,Room=neoncat's battle (custom),RoomID=341558,Msg=Command::instruct Unhandled Instruction:
        (utf_string) type: handPeeksSent
        (bool) IIU: false
     
    BATTLE WARNING: Scenario=Lava Bridge,Room=neoncat's battle (custom),RoomID=341558,Msg=Command::instruct current command queue:
    com.cardhunter.battle.commands::DeckToHandCommand
    com.cardhunter.battle.commands::GameOverPhaseCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawTemporaryCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawTemporaryCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawTemporaryCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawTemporaryCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawTemporaryCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::DrawCardCommand
    com.cardhunter.battle.commands::StartActionPhaseCommand
    com.cardhunter.battle.commands::StartScoringPhaseCommand
    com.cardhunter.battle.commands::StartDiscardPhaseCommand
    com.cardhunter.battle.commands::EndTurnCommand
     
    BATTLE WARNING: Scenario=Lava Bridge,Room=neoncat's battle (custom),RoomID=341558,Msg=Battle::run failed due to command error.
    BATTLE LOG: Scenario=Lava Bridge,Room=neoncat's battle (custom),RoomID=341558,Msg=Received invalid instruction: forced defeat
     

    Attached Files:

  2. This happens to me sometimes but only with custom scenarios that have one or more groups who draw a lot of cards. Limit the number of cards drawn per round per group and you will never see this bug.
     
  3. neoncat

    neoncat Feline Outline

    Funny thing is, I reduced the mob sizes for this version... oh well, maybe changing them back will help. ^_^
     

Share This Page