Skip to content

ClientBegin/SetTeam spam on Duel Tournament #7

Description

@DaemonSlayerZero

I found a kind of bug on duel tournament mode, when a map change occurs, and one of the players takes a long time to load it, it causes a spam of the AddTournamentPlayer() function inside the if (level.numPlayingClients <2) condition, in the function that is executed in each frame CheckTournament()... I have tried this with bots and I think it is not good.

Steps to reproduce:

  1. Add two bots
  2. Let one of them to win
  3. When you are ready to play with him, change the map
  4. See console (Image attached)

Apparently, since the bot i was fighting connects faster, the current slot of its opponent (me) is seems to be used, but due the map doesnt load yet for the opponent (me) the game tries to force the other player (already in spectator) to join until the opponent (me) gets the map loaded. I imagine this would happen with real people too, or people which has better load speeds (or already played the loaded map).

image

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