Commit graph

28 commits

Author SHA1 Message Date
smallmodel
01d938b5ba
Fixes some variables being uninitialized 2024-06-22 19:03:04 +02:00
smallmodel
186d7a12e5
typo 2024-06-22 16:51:20 +02:00
smallmodel
cb208b9ad2
Initialize the message buffer to avoid leaking private data 2024-06-22 16:39:26 +02:00
smallmodel
d7a5eb5d2f
Use LEVEL_WIDE_MIN_DIST instead of 10000 constant 2024-06-15 16:26:35 +02:00
smallmodel
9fb559bdb1
Added an assertion check for lastRadarTime 2024-03-05 22:52:19 +01:00
smallmodel
92ee1d9caf
Reset location print after sending it 2024-01-24 20:19:22 +01:00
smallmodel
0a27f37dc0
Set the last entity network time
This fixes Actor sometimes stuck on idle state
2023-11-01 18:03:29 +01:00
smallmodel
b511d89dcc
Fixed farplane entity dist check when it is 0 2023-09-11 00:06:21 +02:00
smallmodel
9e535e509a
Fixed snapshot ignoring "snaps" value from client 2023-08-30 19:59:45 +02:00
smallmodel
b3d5851fdc
Fixed optimization not working when a player is visible near a wall 2023-08-30 01:07:32 +02:00
smallmodel
5c25839bab
Added a feature that plays sound to clients not seeing entities (like not seeing other players) 2023-08-29 22:05:48 +02:00
smallmodel
19758ef75d
Fixed entity optimization
Added a feature to always optimize players who don't see another player
2023-08-29 20:01:51 +02:00
smallmodel
c0e5b8fe15
Entities visibility enhancement
Implemented SV_WorldTrace(), SV_ClientIsVisibleTrace(), EntityDistCheck() and SV_ClientIsVisible()
Entities also will be hidden when:
- Their parent are not sent to clients
- They don't have a model
- They are behind t he farplane
- Clients can't see eachother with sv_netoptimize
2023-08-29 00:44:33 +02:00
smallmodel
47c7c5a5e3
Renamed centerprint to stringToPrint 2023-08-18 15:10:10 +02:00
smallmodel
80ada3225d
Fixed centerprint not working as intended 2023-08-18 15:09:32 +02:00
smallmodel
286f553a54
Fixed uninitialized variable 2023-08-16 01:06:51 +02:00
smallmodel
456ed42e14
Implemented the radar system for non-pvs clients 2023-08-15 19:29:12 +02:00
smallmodel
c4738966fe
Using g_utils.cpp from fakk 2023-08-15 01:27:35 +02:00
OM
b67b3863ba Added view model anim normalization 2023-07-02 18:31:18 +02:00
OM
7eac426e31 Added net_pm_flags field for denormalized pm_flags (depending on the target game) 2023-06-29 22:16:46 +02:00
OM
906f9cb89d Denormalize player state flags when sending them to client 2023-06-29 21:27:45 +02:00
OM
24cf12dd36 Fixed Linux compilation errors 2023-05-28 22:54:19 +02:00
OM
04b5fdb934 Added Spearhead/Breakthrough client support 2023-05-21 21:21:20 +02:00
L
58c8e743d2 added sv.frameTime variable on server (passed as a parameter on WriteDeltaEntity/WriteDeltaPlayerState) 2023-01-30 14:12:37 +01:00
L
9ada899127 SV_AddEntToSnapshot: added portalEnt and portalSky parameters 2023-01-30 00:24:38 +01:00
mohabhassan
be0fa16fb1 Game + Actor improvements p1. 2018-09-17 23:50:38 +02:00
Ley0k
55c1b367f1 Fixed sounds problems 2017-02-19 21:10:06 +01:00
Ley0k
09bed43f97 Hard reset 2016-03-27 11:49:47 +02:00