aufau / SaberMod

A Jedi Knight 2 1.04 mod for competitive community.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Players spawn in wrong animation

aufau opened this issue · comments

commented

Sometimes players spawn in wrong animation. This is a regression compared to basejk.

I have following idea how to debug it:

  1. Find shortest way to consistently reproduce the bug
  2. Log all Ghoul2 API calls in order during reproducing the bug
  3. Repeat the same with basejka
  4. Search for a divergence in Ghoul2 API calls trace.

If there is a divergence, it should suggest what is causing the regression.

Difficulty: Average
Effort: Average

Steps to consistently reproduce the bug (although with this method you'll get the same wrong animation every time):

  1. Switch gametype to TFFA (Team Free For All).
  2. Join any team.
  3. Add a bot to the other team/Let a player join the other team.
  4. Kick the bot/Let the other player join the Spectators.
  5. Join Spectators.
  6. Join the bot's/other player's previous team.

This should spawn you with a wrong animation.
Repeat steps 5 and 6 to reproduce this bug consistently.

commented

Great, this is very useful. Thanks.