Commit graph

626 commits

Author SHA1 Message Date
1da7d763fe Fixed server side setupbones 2024-08-23 00:18:07 +02:00
259c05ac75
Merge pull request #1 from D34Dspy/master
Made waf --help working again
2024-07-30 21:26:44 +00:00
deadspy
0da39fb678 Fixed printing help usage
by replacing placeholders with formatters in the options.
Background: Waf update introduced a change where now the dict
of all option parameters are passed rather than the default value exclusively.
2024-07-30 19:16:31 +02:00
ea16ec99f8 Removed useless variable 2024-07-26 18:23:23 +02:00
578ed3f25d Removed DEBUG_HITBOXES_ALWAYS_ON (bandwidth problems) 2024-07-26 17:50:55 +02:00
c1bf6cdfcc Fixed few stuff & now server bullet impacts are events
- Fixed some game events not being sent to clients
- Use event instead of descriptor for sending it to client
- Moved server bullets to events
- Re-trained zstd data
- Corrected some stuff on clock correction
2024-07-26 05:34:50 +02:00
631d1ec05c Reworked cl_show* commands to use game events instead 2024-07-25 18:10:35 +02:00
bd444386c7 Improved cl_show* commands 2024-07-25 14:05:36 +02:00
508d965104 Do not wait for simulation to change to set values 2024-07-24 00:18:37 +02:00
4f98b4150e RE-trained css zstd dictionary due to NET_Tick changes 2024-07-23 16:52:44 +02:00
15518e794b Update compress level to ZSTD_btultra2 2024-07-23 16:33:17 +02:00
60f78dd545 Debug only local player bullets, the rest is useless 2024-07-23 16:08:50 +02:00
91cc720ab7 Whitelist localplayer for showing hitboxes etc 2024-07-23 05:26:42 +02:00
ae2e2389b2 Check for non-bot for out of sync 2024-07-23 05:10:32 +02:00
a02ec39b10 Fixed last few stuff with clock correction 2024-07-23 05:05:24 +02:00
22bbac4a9e Added enhanced cl_clock_correction & misc
- Added vprof
- Fixed few issues again with cl_showhitboxes
- Fixed some shader compilation
- Fixed few issues with bitbuf
2024-07-23 03:05:29 +02:00
cf311a09bb Update mouse calls at the end of the frame 2024-07-20 01:04:35 +02:00
b03545036b Added zstd for windows 2024-07-19 20:04:18 +02:00
ea72dde27d Corrected again a bit more cl_showimpacts 2024-07-19 18:05:58 +02:00
6f1a375d58 Added smoothed interpolation amount & fixed fews issues with prediction
Added vprof too
2024-07-19 05:03:08 +02:00
0ef98d94cd Put back cl_extrapolate 2024-07-18 21:56:06 +02:00
e321299b71 Put back ResizeAnimationLayerCallback 2024-07-18 21:54:38 +02:00
df0192b97a Added clang-format & remove zstd training define 2024-07-18 21:41:53 +02:00
3f5795253b Added zstd training set 2024-07-18 21:15:37 +02:00
e11f28d2d1 Replace snappy with trained zstd dictionary 2024-07-18 08:27:54 +02:00
8f4be36f18 Fixed linux compile (files are case sensitive) 2024-07-18 00:01:07 +02:00
c22f55cacb Fixed most issues on windows, shaders are still a problem 2024-07-17 23:38:56 +02:00
a0c930cb3e Update submodules 2024-07-17 16:25:34 +02:00
dd91e4d8e9 Added new compression for floats 2024-07-17 08:29:22 +02:00
0f150c08df Changed animation data to simulation data 2024-07-17 08:08:43 +02:00
82a097ee1c Optimized usercmd network 2024-07-16 05:13:14 +02:00
1e534e4e88 Default tickrate to 100 2024-07-16 01:36:55 +02:00
a683ee894f SweptBox material wasn't initialized, corrected some stuff 2024-07-16 01:31:45 +02:00
50298946f8 vecSrc bullet should be taken into an array 2024-07-16 00:19:52 +02:00
37cfbaad88 Better bullet debug 2024-07-16 00:01:44 +02:00
65cae53474 If debug hitboxes always on, send everything 2024-07-15 23:31:50 +02:00
22fc06498f Fixed bullet diameter hitbox test 2024-07-15 23:27:48 +02:00
941a5f5b6d Fixed last issues with bullet tracing 2024-07-15 21:56:11 +02:00
e5ccc52ef6 Simplified bullet trace 2024-07-15 21:10:58 +02:00
cc3e0fcf04 Added a better way to debug hit registration 2024-07-15 18:21:56 +02:00
d294fe4f94 Added cl_showfirebullethitboxes 2024-07-15 16:54:19 +02:00
d87ac59033 Fixed buy, hostage, bomb zones detections 2024-07-15 16:47:27 +02:00
d7149518d9 Game has now bullet thickness (diameter) 2024-07-15 07:46:53 +02:00
0c242ac11d Added a better way to debug hitboxes & new waf script 2024-07-15 06:52:33 +02:00
601f337b9c Fixed crash while firing 2024-07-14 15:44:31 +02:00
bfba5ae0cd Fixed planting bomb 2024-07-14 05:15:41 +02:00
c5d7c3f5cf Reverted some regression & pitch should be set in FinishMove 2024-07-14 04:30:25 +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
a9657ed198 Improved prediction & fix being 1 off tick problems 2024-07-13 19:18:03 +02:00
a470c3a0ea Fixed lag compensation with low fps 2024-07-12 15:15:40 +02:00