Skip to content

Releases: Garey27/hitbox_fixer

[Alpha] 2.0.3

10 Dec 18:36
Compare
Choose a tag to compare
  • Fixed wrong lerp handling after optimization process_anim function.
  • Backtrack hitbox on client for visualisation.

[Alpha] 2.0.2

09 Dec 23:19
Compare
Choose a tag to compare
[Alpha] 2.0.2 Pre-release
Pre-release
  • Optimized proces_anims function which was consume to much CPU.
  • Fixed Github Actions for linux was not getting SemVer from tags.

[Alpha] 2.0.1

08 Dec 02:00
Compare
Choose a tag to compare
[Alpha] 2.0.1 Pre-release
Pre-release

What's Changed

  • rework rehlds api init by @s1lentq in #21
  • various "hot" fixes

New Contributors

Full Changelog: 2.0.0...2.0.1

[Alpha] 2.0.0

07 Dec 20:23
78af5e8
Compare
Choose a tag to compare
[Alpha] 2.0.0 Pre-release
Pre-release

Alpha Version with Test Changes

Changelog:

  • Code Refactoring:
    • Moved animation-related code from AddToFullpack to Prethink + AddToFullpack for more accurate simulation of client-side behavior.
  • StudioEstimateGait Improvements:
    • Code now fully matches the CS 1.6 client (minimized desynchronization on player spawn, though not completely, as calculating the exact frametime of the client is nearly impossible).
  • ex_interp Enhancements:
    • Improved handling for better interpolation accuracy.
  • Hitbox Visualizer Added:
    • Introduced a hitbox visualizer as a .asi file.

The visualizer currently works with only one player and is configured specifically for Counter-Strike.


Requirements to Use the Hitbox Visualizer:

  1. Configure Half-Life/CS and HLDS launch parameters with -insecure.
  2. Copy hitbox_vis.asi to the Half-Life folder.
  3. Launch the game and connect to a server.
  4. On the server, set the following cvars:
    • hbf_debug 1 for partial animation parameters output.
    • hbf_debug 2 for full debugging (displays hitboxes exactly as calculated by the server).

ΠΠ»ΡŒΡ„Π°-вСрсия с тСстовыми измСнСниями

ИзмСнСния:

  • Π Π΅Ρ„Π°ΠΊΡ‚ΠΎΡ€ΠΈΠ½Π³ ΠΊΠΎΠ΄Π°:
    • Код Ρ€Π°Π±ΠΎΡ‚Ρ‹ с анимациями пСрСнСсён ΠΈΠ· AddToFullpack Π² Prethink + AddToFullpack для Π±ΠΎΠ»Π΅Π΅ Ρ‚ΠΎΡ‡Π½ΠΎΠΉ симуляции клиСнтского повСдСния.
  • Π£Π»ΡƒΡ‡ΡˆΠ΅Π½ΠΈΡ StudioEstimateGait:
    • Код ΠΏΠΎΠ»Π½ΠΎΡΡ‚ΡŒΡŽ соотвСтствуСт ΠΊΠ»ΠΈΠ΅Π½Ρ‚Ρƒ CS 1.6 (ΠΌΠΈΠ½ΠΈΠΌΠΈΠ·ΠΈΡ€ΠΎΠ²Π°Π½ рассинхрон ΠΏΡ€ΠΈ спавнС ΠΈΠ³Ρ€ΠΎΠΊΠ°, Π½ΠΎ Π½Π΅ ΠΏΠΎΠ»Π½ΠΎΡΡ‚ΡŒΡŽ, Ρ‚Π°ΠΊ ΠΊΠ°ΠΊ ΠΏΠΎΠ΄ΡΡ‡ΠΈΡ‚Π°Ρ‚ΡŒ Ρ‚ΠΎΡ‡Π½ΠΎΠ΅ frametime, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹ΠΉ Π±Ρ‹Π» Ρƒ ΠΊΠ»ΠΈΠ΅Π½Ρ‚Π°, практичСски Π½Π΅Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ).
  • Π£Π»ΡƒΡ‡ΡˆΠ΅Π½Π° Ρ€Π°Π±ΠΎΡ‚Π° с ex_interp:
    • ΠŸΠΎΠ²Ρ‹ΡˆΠ΅Π½Π° Ρ‚ΠΎΡ‡Π½ΠΎΡΡ‚ΡŒ интСрполяции.
  • Π”ΠΎΠ±Π°Π²Π»Π΅Π½ Π²ΠΈΠ·ΡƒΠ°Π»ΠΈΠ·Π°Ρ‚ΠΎΡ€ хитбоксов:
    • Π’ΠΈΠ·ΡƒΠ°Π»ΠΈΠ·Π°Ρ‚ΠΎΡ€ Ρ€Π΅Π°Π»ΠΈΠ·ΠΎΠ²Π°Π½ Π² Π²ΠΈΠ΄Π΅ Ρ„Π°ΠΉΠ»Π° .asi.

Π’ΠΈΠ·ΡƒΠ°Π»ΠΈΠ·Π°Ρ‚ΠΎΡ€ ΠΏΠΎΠΊΠ° Ρ€Π°Π±ΠΎΡ‚Π°Π΅Ρ‚ Ρ‚ΠΎΠ»ΡŒΠΊΠΎ с ΠΎΠ΄Π½ΠΈΠΌ ΠΈΠ³Ρ€ΠΎΠΊΠΎΠΌ ΠΈ настроСн ΠΈΡΠΊΠ»ΡŽΡ‡ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎ для Counter-Strike.


Как ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚ΡŒ Π²ΠΈΠ·ΡƒΠ°Π»ΠΈΠ·Π°Ρ‚ΠΎΡ€ хитбоксов:

  1. НастройтС ΠΏΠ°Ρ€Π°ΠΌΠ΅Ρ‚Ρ€Ρ‹ запуска Half-Life/CS ΠΈ HLDS с ΠΏΠ°Ρ€Π°ΠΌΠ΅Ρ‚Ρ€Π°ΠΌΠΈ -insecure.
  2. Π‘ΠΊΠΎΠΏΠΈΡ€ΡƒΠΉΡ‚Π΅ Ρ„Π°ΠΉΠ» hitbox_vis.asi Π² ΠΏΠ°ΠΏΠΊΡƒ с Half-Life.
  3. ЗапуститС ΠΈΠ³Ρ€Ρƒ ΠΈ ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡ΠΈΡ‚Π΅ΡΡŒ ΠΊ сСрвСру.
  4. На сСрвСрС настройтС cvar:
    • hbf_debug 1 β€” для Π²Ρ‹Π²ΠΎΠ΄Π° Π½Π΅ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Ρ… ΠΏΠ°Ρ€Π°ΠΌΠ΅Ρ‚Ρ€ΠΎΠ² Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΠΈ.
    • hbf_debug 2 β€” для ΠΏΠΎΠ»Π½ΠΎΠ³ΠΎ Π΄Π΅Π±Π°Π³Π° (Π±ΡƒΠ΄ΡƒΡ‚ ΠΏΠΎΠΊΠ°Π·Ρ‹Π²Π°Ρ‚ΡŒΡΡ хитбоксы Ρ‚Π°ΠΊ, ΠΊΠ°ΠΊ ΠΈΡ… рассчитываСт сСрвСр).

1.1.5

18 Nov 02:01
Compare
Choose a tag to compare
1.1.5 Pre-release
Pre-release
Firearms test support

1.1.4

28 Aug 12:18
Compare
Choose a tag to compare

Fixed return forgotten meta result in StartFramePost

1.1.3

27 Aug 02:08
Compare
Choose a tag to compare
Test fix for wrong traceline

Fix crash on unsupported ReHLDS versions.

01 Oct 17:42
Compare
Choose a tag to compare
1.1.2

Fix crash on old ReHLDS (3.10< unsupported).

1.1.1

01 Oct 03:27
Compare
Choose a tag to compare

Fixed new code not working when cl_lc 0/ cl_lw 0.

1.1.0

30 Sep 21:03
Compare
Choose a tag to compare
  • Added HLDS Support, also LAN windows server. (Linux HLDS should work but not tested).
  • PODBot crash fixed.

Hitbox accuracy now almost same as on client. Except some cases:

  • sv_maxupdaterate on server is lower than client fps. (like 102 updaterate and 200 fps client).
  • loss packets or high jitter (unstable ping).