e360866bf5
Added a better way to debug hitboxes & new waf script
2024-07-15 06:52:33 +02:00
cfa5b12eea
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
ca6cdb51e6
Improved lag compensation
2024-01-25 13:27:03 +01:00
nillerusr
eff1f3d78c
Merge pull request #312 from AruMoon/add-master-server
...
Add new master server
2023-12-30 11:44:00 +03:00
nillerusr
543f3091eb
dedicated(win32): fix crashes( now it works #310 #225 )
2023-12-13 21:28:17 +03:00
nillerusr
fb521f8559
dedicated(win32): fix build issues #322
2023-12-13 20:18:31 +03:00
AruMoon
41638048b7
Add new master server
2023-10-25 05:18:51 +05:00
nillerusr
9fbed1af34
fix crash in some cases
2023-10-23 19:52:35 +03:00
tyabus
2a764a215e
engine: Fixed vgui_drawtree on 64 bit engine
2023-10-07 20:23:37 +06:00
nillerusr
6fd13e16d9
fix some undefined/unspecified behaviours in multiplayer games( may help with #299 )
2023-10-07 05:04:46 +03:00
nillerusr
80d74c5e55
Restore tslist for trace info( fix #295 )
2023-10-05 19:36:24 +03:00
nillerusr
378f2dee02
fix crash on game close when demo recording
2023-10-04 22:22:31 +03:00
nillerusr
bcb4b7f635
android: fix black screen after minimizing window in materialsystem queue mode
2023-08-18 13:49:07 +03:00
nillerusr
08168ffc62
inputsystem: fix UB in touch events callback, make touch more responsive
2023-08-17 14:31:43 +03:00
nillerusr
1f9aba1a40
engine: fix loading static prop lump version 7
2023-08-15 16:47:35 +03:00
nillerusr
c96b2576a6
engine: optimize traces
2023-08-04 13:57:30 +03:00
nillerusr
3ff7140437
WIP: musl port
2023-04-24 22:39:09 +00:00
nillerusr
b7b1a09bb1
engine: fix black screen in changelevel
2023-04-09 09:44:41 +03:00
nillerusr
61b905e43c
tier1: fix possible unsafe read in lzss SafeUncompress, make tests pass under asan
2023-04-07 14:59:36 +03:00
nillerusr
e9636671a0
engine: fix bsp21 loading
2023-04-04 23:22:06 +03:00
tyabus
542f2261d3
engine: restore sv_hibernate_when_empty
2023-03-12 21:17:49 +06:00
nillerusr
c55c94320f
engine: fix windows build( windows must die )
2023-02-20 22:02:41 +03:00
nillerusr
5b9b74b87c
engine: fix Map_IsValid for mapcycle
2023-02-20 21:03:47 +03:00
nillerusr
deb6ed0975
engine: add -nobackgroundlevel command-line argument
2023-02-20 20:07:23 +03:00
nillerusr
6db2f2c1e0
engine: don't check sv_lan value in masterserver requests when DEDICATED is defined
2023-02-19 15:18:49 +03:00
nillerusr
5c8612d580
engine: again fix static prop lump version 10 loading
2023-02-17 01:41:55 +03:00
nillerusr
89165459f9
change PROTOCOL_VERSION to 25
2023-02-16 22:47:32 +03:00
nillerusr
071c4d827f
engine: fix static prop lump version 10 loading
2023-02-16 18:44:33 +03:00
nillerusr
99537aaa46
Merge pull request #198 from nillerusr/serverbrowser
...
Serverbrowser support
2023-02-16 14:35:01 +03:00
nillerusr
3b20e2404c
engine(masterserver): fix servers duplication
2023-02-14 20:22:18 +03:00
nillerusr
7be935079d
engine: fix cmdrate/updaterate values
2023-02-13 00:27:40 +03:00
nillerusr
d3bfa892fd
engine(masterserver): typo fix
2023-02-11 20:34:27 +03:00
nillerusr
e5bbe17c2e
engine(masterserver): add master request timeout
2023-02-11 19:36:39 +03:00
nillerusr
783c3f6056
engine(masterserver): add additional masterserver, implement setmaster command
2023-02-11 19:17:57 +03:00
nillerusr
2aa9ebd13f
engine(masterserver): fix latency calculation
2023-02-11 15:57:06 +03:00
nillerusr
28b785aa65
engine: set net_usesocketsforloopback 0 by default( 1 breaks singleplayer mode )
2023-02-11 15:56:06 +03:00
nillerusr
a7d3ad4032
engine(masterserver): Add sequence for requesting server info, implement StopRefresh and use it on timeout
2023-02-10 22:45:36 +03:00
nillerusr
d81e6520d9
engine: update server info reply
2023-01-30 22:19:08 +03:00
nillerusr
e194f6ca2c
WIP: Begin rewriting serverbrowser
2023-01-29 19:26:04 +03:00
nillerusr
0c7ff9565b
engine: restore checksum check
2023-01-28 05:37:40 +03:00
nillerusr
f3861b8d03
WIP: initial masterserver client implementation
2023-01-28 05:29:26 +03:00
HappyDOGE
7cfb06dd5c
Merge branch 'master' into win64
2023-01-23 19:16:19 +03:00
HappyDOGE
a9171e89d3
win64: misc pointer truncation fixes
2023-01-16 11:56:05 +03:00
exstrim401
08e33c477e
Basic Steam Dick support ( #166 )
...
Without gamepadui library
2023-01-08 15:38:24 +03:00
nillerusr
d1a30f68fd
windows: fix(workaround) illegal instruction in release build
2022-12-17 10:14:49 +03:00
exstrim401
935094a2d5
Make net_usesocketsforloopback 1 by default ( #153 )
...
Fixes connection to localhost server on macOS
2022-12-05 19:23:43 +03:00
nillerusr
9e35fc6521
engine: add bsp v21 support, add StaticPropLump_t v7-v11 support
2022-11-30 15:58:19 +03:00
exstrim401
b69cdde7be
Fix macOS build ( #146 )
...
* Fix macOS build
* Fix *BSD build
* Add missing *BSD include
2022-11-27 16:48:27 +03:00
Er2
9175b29f60
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
exstrim401
0dc822149b
Fix CreateThreadPool
2022-11-20 19:32:30 +02:00