2
0
mirror of https://github.com/rehlds/rehlds.git synced 2024-12-27 23:25:45 +03:00
Commit Graph

833 Commits

Author SHA1 Message Date
s1lentq
9c1e84328e Fixed GCC compilation warnings/errors
Fixes #1032
2024-05-30 19:15:39 +07:00
s1lentq
c1ccc5009a Fix warning compiler in linux build 2024-05-27 05:08:02 +07:00
s1lentq
0f45ec09fa Enhanced API interface game message manager
Bump major API version
Minor refactoring
2024-05-27 05:01:37 +07:00
s1lentq
c9f9bbfff9 Implement API interface game message manager 2024-05-13 19:20:19 +07:00
s1lentq
a761efa75d Minor cleanup 2024-05-13 18:48:35 +07:00
Adrian Cirstea
82a3d1d084
Add SV_SendResources hook (#1024)
* Implement `SV_AddResources` hook
2024-05-10 18:15:22 +07:00
s1lentq
693b51c883 Improved behavior of sv_filterban 0. Fixes #1027 2024-05-10 18:05:41 +07:00
s1lentq
47ffe4b257 Fix rehlsdk 2024-05-10 17:43:24 +07:00
s1lentq
3c4acbb046 Fix warning 2024-05-10 17:42:05 +07:00
s1lentq
5b72d06bfb Fix default value for sv_net_incoming_decompression_max_ratio 2024-05-10 17:38:09 +07:00
Dmitry Novikov
0d1bdbab67
Implemented reduction of impact caused by zip-bomb exploit (#994)
* Implemented reduction of impact caused by zip-bomb exploit
Added network security CVars:
- sv_net_incoming_decompression (0-1) Enables or disables incoming data decompression
- sv_net_incoming_decompression_max_ratio (0.0 - 100.0) Sets max allowed ratio between compressed and decompressed data. (A ratio close to 90 indicates large uncompressed data with low entropy)
- sv_net_incoming_decompression_max_size (16-65536) Adjusts max size of output data after decompression.
Added CVar sv_net_incoming_decompression_punish for ban
* Fix missing reg CVar sv_net_incoming_decompression_punish
2024-04-14 01:04:03 +07:00
s1lentq
61ee4f9269 Netchan_CreateFileFragments: Fixed a hang connection on verifying resource stage, when precached file exists but is absolutely empty 2024-04-10 12:30:59 +07:00
Sergey Shorokhov
b870de768b
fix: README badges
[skip ci]
2024-04-06 22:09:47 +03:00
s1lentq
3c282b435c Draw_ValidateCustomLogo: Fixed incorrect offset to palette size 2024-03-26 20:41:53 +07:00
s1lentq
ec47e4d978 Do not propagate custom logos according to sv_send_logos cvar 2024-03-18 22:17:23 +07:00
s1lentq
462fe55fb8 SV_CreateCustomizationList: spew logs in only dev mode 2024-03-18 22:12:01 +07:00
s1lentq
f26ad71aba Do not send customizations list on duplicate or missing resource 2024-03-18 22:09:18 +07:00
s1lentq
59ed3f6867 SV_ParseResourceList: Do not uploading according to sv_allowupload cvar 2024-03-18 22:04:02 +07:00
s1lentq
516bb93627 HPAK_ResourceForHash: Remove message with missing custom.hpk 2024-03-18 21:59:18 +07:00
s1lentq
174414db81 Draw_ValidateCustomLogo: Minor refactoring & cleanup 2024-03-18 21:57:57 +07:00
anzz1
05f4a279f9
Add steamcmd instructions to readme (#1021) 2024-03-02 22:24:04 +07:00
s1lentq
58391b6ee5 SV_WriteEntitiesToClient: Reset movetype if the aiment index is invalid 2024-02-20 03:18:36 +07:00
s1lentq
498d7e0d18 Fix crash when the entity with aiment doesn't have a model 2024-02-14 19:23:16 +07:00
s1lentq
a7b60451f3 TEX_InitFromWad: Fix reversing mistake (Don't add file handle before check) 2024-01-31 15:41:00 +07:00
s1lentq
63fde229c9 MSG_WriteBitAngle: Cap the precision check from 32 to 22 to avoid overflow issues when representing angles with more than 22 bits because the multiply by 'shift' may result in overflow 2024-01-26 07:50:09 +07:00
s1lentq
9b0dbe8dd2 Host_Status_f: Fixed incorrect player index to output 2024-01-25 18:36:03 +07:00
s1lentq
41c5186b2c RCON: Fixes redirect print and minor refactoring 2024-01-22 05:48:34 +07:00
s1lentq
90cb97ddae Update README.md 2024-01-18 21:50:33 +07:00
s1lentq
76cbd2c140 Implemented optional CVar sv_tags for sets a string defining the "gametags" for this server to allows users/scripts to filter in the matchmaking/server-browser interfaces based on the value 2024-01-18 21:46:25 +07:00
s1lentq
f29d6c5769 Update README.md 2024-01-18 00:56:32 +07:00
s1lentq
355172d6db Fix unit-test 2024-01-18 00:46:45 +07:00
s1lentq
62407e0dd6 Implement commands rcon_adduser,rcon_deluser,rcon_users to allow use RCON only by known user IPs (Resolves #796)
SV_Rcon: Minor refactoring
2024-01-18 00:40:16 +07:00
s1lentq
1d6c6826db fix build 2024-01-14 00:24:33 +07:00
s1lentq
5002ff9abe Prevent crash "Cache_UnlinkLRU: NULL link" on client-side if aiment with sprite model will be to render as a studio model 2024-01-14 00:18:08 +07:00
s1lentq
32857e7785 Fix no exec config file when exceed limit text buffer 2024-01-12 22:32:15 +07:00
s1lentq
93f5775ac2 Reworked AlertMessage 2023-12-14 07:40:45 +07:00
s1lentq
0af97d98bb Add reg cvar r_cachestudio 2023-11-28 18:21:53 +07:00
s1lentq
ffb65795dd Update workflows/build.yml
Fixes #1004
2023-11-22 23:41:21 +07:00
Alibek Omarov
3f19bc1d3e
engine: add sv_allow_autoaim cvar for HL25 DLL compatibility (#1000)
add sv_allow_autoaim cvar for HL25 DLL compatibility
2023-11-21 08:35:36 +07:00
s1lentq
7fcec97af4 Add support cheats command god,notarget,noclip 2023-10-09 01:57:11 +07:00
Hamdi
b7f6eb8023
Minor refactor ( add BoundsIntersect function ) (#986) 2023-09-28 00:41:37 +07:00
Francisco Muñoz
5ec8c29185
Update world.cpp (#985) 2023-09-25 03:40:50 +07:00
s1lentq
6f031901cf Added cvarhook from latest HLDS build
Making mapcyclefile/sv_cheats work in realtime
Resolve #868
2023-09-25 02:08:04 +07:00
s1lentq
de3679f039 Host_Motd_f: Fixed viewing motd when motdfile is not specified 2023-09-20 21:00:44 +07:00
s1lentq
2ba27d409c Fixed reversing mistake, missing checking string for null 2023-09-03 15:08:30 +07:00
Sergey Shorokhov
f955b07b69
Revert "change destinition folder for linux build (#842)" (#977)
This reverts commit 9508c8376b.
2023-07-03 22:02:28 +03:00
s1lentq
918612fa23 GetBonePosition: Added bone index bounds check 2023-07-04 01:39:26 +07:00
s1lentq
8841ba4aec GetAttachment: Added attachment index bounds check 2023-07-04 01:33:41 +07:00
s1lentq
0c5ce53666 Allow the clients to connect on the server of different game Fixed #975
Client should be use "setinfo _gd <game>"
2023-07-02 03:47:05 +07:00
Sergey Shorokhov
a680f18ee1 SV_BuildSoundMsg: fix '\n' in args check
- fix #965
2023-05-08 12:24:16 +03:00