Commit graph

249 commits

Author SHA1 Message Date
b9586237f1 Only update events on PostThink to be extra sure 2024-09-02 05:47:52 +02:00
859232b6ab Somehow windows doesn't like too much ticks to save on heap.. 2024-09-02 04:06:25 +02:00
315f3c398c Renamed some stuff in lag compensation 2024-09-02 03:58:07 +02:00
2782633e53 Now setupbones uses the right angles for cs players 2024-09-02 01:26:08 +02:00
be7d8cc228 Improved show hitboxes commands and networked m_fFlags from animoverlays 2024-09-02 00:03:24 +02:00
867f106584 Increased weapon range 2024-08-31 22:41:36 +02:00
2e304e0e8d Send raw values for critical animation layers 2024-08-31 10:19:02 +02:00
4cfcfb67cd Allow to not draw hud (2) 2024-08-31 10:13:10 +02:00
e4d907c306 Allow to not draw hud 2024-08-31 10:05:15 +02:00
bbfea9863e Removed client side animation checks for animation events
Since it doesn't modify pose parameters or anything, should be safe
2024-08-31 07:25:36 +02:00
f58a59661c Allow localplayer for AnimationEvents 2024-08-31 07:20:09 +02:00
d942381df3 Commenting debug stuff 2024-08-31 06:48:01 +02:00
1a173a2073 Added VPROF for trigger prediction 2024-08-31 06:36:59 +02:00
11d345802e General fixes and improved lag comp performance 2024-08-31 06:23:10 +02:00
380f352adf Fixed possible buffer overflow & optimized network 2024-08-31 00:24:01 +02:00
dcf5536d93 Fixed evenqueue problems 2024-08-30 01:09:10 +02:00
ed09c1781c Re-enable IKs 2024-08-29 02:47:25 +02:00
a21cd2aa97 Somehow this breaks lag comp 2024-08-29 02:07:55 +02:00
60c8599e4c Optimized network 2024-08-28 15:59:44 +02:00
f46d09bab1 Removed useless check 2024-08-28 15:03:35 +02:00
399e6e674a Send interpolated_amount 2024-08-28 05:24:34 +02:00
1e82d50c88 Remove cl_interpolation_amount_fix 2024-08-28 05:10:42 +02:00
01a5f946ec Make m_vecPreviousShootPosition a predicted variable 2024-08-28 04:44:06 +02:00
956d26bcb3 This is a start to lag compensate the local player.
Normally,
this would be needed to be inside StartLagCompensation,
but for now, this is enough.
2024-08-28 00:50:03 +02:00
22cfdaabc9 Added interpolated_shoot_position
While the old fix was working, it was a bit too much noticeable while
surfing, this is an issue we don't want.
We need a proper check for cheaters too.
2024-08-27 22:44:41 +02:00
273ac76745 Don't use IKs for now 2024-08-27 22:17:54 +02:00
70d7c82ff9 Updated again server setupbones to match more the client's 2024-08-27 22:12:50 +02:00
457fc82dc7 Check for numbonecontrollers in setupbones 2024-08-27 21:57:07 +02:00
658d9c1ade Interp fixes still causes some subtbles but noticeable jittering
This isn't wanted, we'll likely need to lag compensate the local player
2024-08-27 21:25:24 +02:00
ad3b1ca178 Added the old clock correction, new one caused flickering 2024-08-27 17:12:39 +02:00
a9b7bf8e2f Disable m_vecVelocity interpolation 2024-08-24 19:10:15 +02:00
7a92c3afde Change to FL_EDICT_ALWAYS 2024-08-24 04:56:53 +02:00
1856a9ee30 Corrected smoothed out interp amount 2024-08-24 04:40:01 +02:00
96a8e373be Since there's trigger prediction, we send everything
adjusted also client frame for full updates
2024-08-23 19:52:32 +02:00
bef50ed5ce Moved viewoffset adjustement to shared code 2024-08-23 18:29:51 +02:00
340eeb7e03 Added trigger teleport prediction 2024-08-23 18:24:23 +02:00
186b8c046d Added trigger push prediction 2024-08-23 06:42:34 +02:00
14717d8092 Added prediction for triggers, thanks oblivious
Prediction is fixed by me by adding two more functions in prediction
class, there had before some issues because
starttouch/endtouch weren't predicted.
The result is that with lag, it restores touched entities,
including the triggers touched entity list.
2024-08-23 00:42:58 +02:00
d947a36e86 Fixed server side setupbones 2024-08-23 00:18:07 +02:00
5a0367c8d7 Removed useless variable 2024-07-26 18:23:23 +02:00
dc471576a1 Removed DEBUG_HITBOXES_ALWAYS_ON (bandwidth problems) 2024-07-26 17:50:55 +02:00
69312da01b 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
542b2c2711 Reworked cl_show* commands to use game events instead 2024-07-25 18:10:35 +02:00
73845dfe4c Improved cl_show* commands 2024-07-25 14:05:36 +02:00
d1c62bb858 Do not wait for simulation to change to set values 2024-07-24 00:18:37 +02:00
a9bd881a56 Debug only local player bullets, the rest is useless 2024-07-23 16:08:50 +02:00
f67ec63443 Whitelist localplayer for showing hitboxes etc 2024-07-23 05:26:42 +02:00
e09d89d7ed Check for non-bot for out of sync 2024-07-23 05:10:32 +02:00
6691968046 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
96e8394525 Corrected again a bit more cl_showimpacts 2024-07-19 18:05:58 +02:00