tf2-patches icon indicating copy to clipboard operation
tf2-patches copied to clipboard

sv_showlagcompensation doesn't render properly.

Open joshuafhiggins opened this issue 4 years ago • 1 comments

Description

When shooting a player with sv_showlagcompensation set to 1 it squishes it and when moving the player the hitbox render changes with it. I found this when trying to fix #172

Checklist

  • [x] None of the open or closed issues document this problem.
  • [x] This is a bug, not a new idea.
  • [x] This is objectively a bug, and not something that people commonly disagree on.
  • [x] This issue occurs on the latest Team Comtress release, or the master branch.
  • [ ] This issue occurs on the latest vanilla TF2 update.
  • [x] This bug is in the code of the game, not in the textures, sounds, or other resources.
  • [ ] This issue is listed on the Source 1 official bugtracker.
  • [x] This issue occurs with DirectX level 100.
  • [x] This issue occurs when using no custom content.
  • [ ] This issue occurs when using start_tf2.bat (or start_server.bat) with no custom launch options.
  • [x] This issue occurs when using a listen server (using the map command ingame).
  • [ ] This issue occurs when using a dedicated server.
  • [ ] This bug is in the internal procedures or tooling (e.g. the build process).

Reproduction

  1. Go to a map
  2. sv_cheats 1; sv_showlagcompensation 1;
  3. Shoot a bot

Screenshots

20201024210120_1

Setup Details

Client Settings

  • Server or client: Client
  • Operating system: Windows 10 2004
  • Team Comtress version: 213be2e
  • Custom content: None
  • Launch options: -steam -game tf -insecure -novid -nojoy -nosteamcontroller -nohltv -particle_fallback 2 -allowdebug

Driver Version

  • Graphics driver: 456.71
  • DirectX level: 100

joshuafhiggins avatar Oct 25 '20 01:10 joshuafhiggins

The code for rendering the hitboxes in baseanimating.cpp on line 3000 in the function DrawServerHitboxes is the same from the code leak, so the problem may be else where. But I'm not sure how to compile the code leak to see if it even worked then.

joshuafhiggins avatar Oct 25 '20 19:10 joshuafhiggins