Commit graph

11 commits

Author SHA1 Message Date
22fc06498f Fixed bullet diameter hitbox test 2024-07-15 23:27:48 +02:00
fbc45f4a64 Fixed local player interpolation and added debug_screenshot_bullet_position
This check permits to fix interpolation problems on the
local player that valve has been (fucking finally)
caring about on counter-strike 2.

To recall the original issue, the
problem that Valve cared about is that interpolation
had some problems with interpolating the local
player because the screen would never in the first
place match the tick "screen", because interpolation
amount could never reach 0.0 or 1.0

Valve solution was to introduce bugs with lag
compensating the local player and made the game worse,
introducing a new way for cheaters to cheat even more
on their games.
I'm joking, but you can clearly see the outcome anyway.

My solution is to simply set interpolation amount
to 0.0 when a tick arrives.

So when we shoot, we get the frame we shot with an
interpolation amount at 0.0, perfectly aligned to user
commands which is ideal for us.

It might look a bit more unsmooth with lower fps
but with high enough fps, the issue goes away anyway.
It's not very noticeable which is very nice for us.
No need to lag compensate the local player anymore !
2024-07-14 00:54:57 +02:00
0c3cb614ea Improved lag compensation 2024-01-25 13:27:03 +01:00
nillerusr
ade05ab153 dedicated(win32): fix build issues #322 2023-12-13 20:18:31 +03:00
nillerusr
0df7838ee1 WIP: initial masterserver client implementation 2023-01-28 05:29:26 +03:00
Er2
53bd92f7a8
BSD: Add support (#140)
* BSD: Add support

* BSD: other fixes

There is still a bug when vgui haven't got text, maybe because of resources.

Also there is bug where when trying to start new game caption names shows wrong.

* BSD: Debugging

* BSD: modify preprocessor and fix windows

* BSD: Remove debugging and fix labels in gameui

* BSD: Remove disabling some DX9 commands

* BSD: Remove -g flag
2022-11-24 22:04:29 +03:00
nillerusr
42f9ada917 Unlock mat_picmip cvar for values lower than -1 2022-07-12 16:19:13 +03:00
nillerusr
2e7fa2dfc8 aarch64: fix android build 2022-06-19 15:07:41 +03:00
nillerusr
d651c2b38d Fix font problems 2022-01-09 19:20:00 +03:00
nillerusr
c70e496e72 fix dedicated server build 2021-04-27 23:33:46 +03:00
FluorescentCIAAfricanAmerican
3bf9df6b27 1 2020-04-22 12:56:21 -04:00