+
Skip to content

Errors caused by ending too much turn in a row #1915

@Zergla

Description

@Zergla

https://app.wordbots.io/card/hkxehskawe5
The card make both player pass their turn until a runtime exception occur (1000~1500 turn for each player)

It causes some weird behaviors :

  • Constant "Ding" from the next turn sound after being played (creating a lot of a copy of a robot tend to do something similar, to a lesser extent https://app.wordbots.io/card/wkg5h60t2y)
  • The structure can't be targeted by abilities after the effect end, despite not being dead yet.
  • The player keeps the card if the effect doesn't stop on their turn.

May be too situational to warrant bug fixes, but the last thing may happen in other situation when an error occurs, so maybe a card should be removed from a player hand earlier than it is right now?

Also, it highlights that apparently, both log and "open discard pile" load all their data at once no matter what, which can cause a lot of lag meaning if you somehow have unreasonable quantity of discarded cards or log messages, you can create freeze the game.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载