2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-03-28 13:19:05 +03:00

779 Commits

Author SHA1 Message Date
justgo97
59966eb394
Move warning message to debug mode
This warning message doesn't seem to go away, maybe it's better to keep only in debug mode.
2022-07-25 23:51:59 +02:00
s1lentq
e9045e3b63 Fixed: StripUnprintableWorker did not count the null terminator 2022-07-10 15:47:56 +07:00
s1lentq
be0e1c843b Fix null or empty input string in COM_LoadFile (FS_Open with input empty string "" will succeed on some POSIX systems)
Resolved #919
3.11.0.777
2022-05-25 18:39:14 +07:00
s1lentq
3dc9f8c92d Fixed typo ZONE_DYNAMIC_SIZE 3.11.0.776 2022-04-17 00:45:13 +07:00
s1lentq
815da982a0 Update workflows/build.yml Set windows job container as windows-2019 instead of windows-latest which now run on windows-2022
https://github.com/actions/virtual-environments/issues/4856
Fixes windows build
2022-04-10 03:46:52 +07:00
s1lentq
4e0a3f312a Fixed case when model name is too long
COM_LoadFile: Increase buffer room size
Mod_LoadModel: Use safe version COM_FileBase_s
Agree on the size of loadname[] and model_t::name[] buffers
2022-04-10 03:35:08 +07:00
Dmitry Novikov
2f0a402f9d
Netchan_FlushIncoming: Don't clear global buffer of incoming network messages (#896)
* Netchan_FlushIncoming: Fixed #888
Co-authored-by: Artem Golubikhin <WPMGPRoSToTeMa@users.noreply.github.com>
2022-02-14 05:14:19 +07:00
RauliTop
6d169b0119
Fix incorrect cvar description (#897) 2022-02-09 13:07:56 +07:00
Dmitry Novikov
f319f50068
Fixed wrong length buffer with "StripUnprintableWorker" and also after stripping (#893)
Remove non-printable unicode char 0xFFA0 from table g_isPrintTable
Resolves #887
2022-02-05 20:07:35 +07:00
Nord1cWarr1or
77b4cd3d32
Added missing CVar sv_rehlds_local_gametime to readme (#882)
* Added missing CVar `sv_rehlds_local_gametime` to readme

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-12-07 08:20:49 +03:00
Sergey Shorokhov
745f8b3735
Revert "Add GitHub Action for Remove old artifacts (#873)" (#874)
This reverts commit 5bc2d83b084362d162bd4e05f875d8c4f0bea83a.

[skip ci]
2021-11-03 17:20:14 +03:00
Sergey Shorokhov
5bc2d83b08
Add GitHub Action for Remove old artifacts (#873) 2021-11-01 15:07:11 +03:00
Franco Romaniello
471158b1d9
Implement Con_Printf() hook (#861)
* Implement Con_Printf hook

* update REHLDS_API_VERSION_MINOR

* Update rehlds_api.h

* Update version.h

* Apply suggestions from code review

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
3.11.0.767
2021-10-24 14:28:40 +03:00
mlgpero
c86849ef63
Update on grammar/spelling (#865)
* Update on grammar/spelling

Co-authored-by: Artem Golubikhin <WPMGPRoSToTeMa@users.noreply.github.com>
2021-10-23 11:56:02 +03:00
Sergey Shorokhov
22a00eff89 fix pointer symbols 2021-10-22 22:02:14 +03:00
Franco Romaniello
ed83cb6c50
Implement SV_EmitPings() hook (#858)
* Implement SV_EmitPings hook

* Change REHLDS_API_VERSION_MINOR

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-10-20 21:06:29 +03:00
Sergey Shorokhov
2118e8f052
SV_HullForEntity: better log in Sys_Error (#843) 2021-10-20 19:39:07 +03:00
StevenKal
04ddafe637
API: Add hooks "ED_<Alloc|Free>" (#867)
* Update pr_edict.h

* Update pr_edict.cpp

* Update rehlds_api_impl.cpp

* Update rehlds_api_impl.h

* Update rehlds_api.h

* Update pr_edict.h

* Update pr_edict.cpp

* Update rehlds_api_impl.cpp

* Update rehlds_api_impl.h

* Update rehlds_api.h

* Update pr_edict.cpp
2021-10-20 17:39:19 +03:00
s1lentq
aaffe43e3e Reset m_bSentNewResponse to allow new connection when the client goes through the full stage of connection (cl:connect -> sv:S2C_CONNECTION -> cl:new -> SV_New_f) Related 3a9bfb9 v3.10.0.761 2021-06-24 19:09:10 +07:00
Sergey Shorokhov
9508c8376b
change destinition folder for linux build (#842) 3.10.0.760-dev 3.10.0.760 2021-06-23 16:04:53 +03:00
Very Strange Karaulov
ad6f6ad396
sv_main.cpp: SV_New_f() uses Q_snprintf() unsafe format. (#807) 3.10.0.759 2021-06-19 22:39:40 +03:00
Very Strange Karaulov
527d0819b9
static_map.h: fix lowercase convert (#806)
* More readability in convert lowercase

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
Co-authored-by: Artem Golubikhin
2021-06-19 22:30:12 +03:00
Very Strange Karaulov
f23498bef7
sv_user.cpp: Small code refactoring (#810)
* Small code style fix in sv_user.cpp

* SV_EstablishTimeBase_internal: code refactoring

Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-06-19 21:44:18 +03:00
s1lentq
478f338e37 PF_sound_I: fix formatting 2021-06-19 20:30:05 +07:00
Artem Golubikhin
0fed5b8038
Fixed volume checking in emit sound (#341)
Co-authored-by: Dmitry Novikov <s1lentsk@yandex.ru>
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-06-19 13:12:24 +03:00
s1lentq
3a9bfb9ca1 SV_New_f: Deny new connection twice at a time if user messages are received
SV_ReadClientMessage: Fix empty names on bad read
2021-06-16 04:23:27 +07:00
s1lentq
f3d60248fa Enhanced IGameClient/IRehldsServerData/IRehldsServerStatic interfaces
Added client_t:m_bSentNewResponse
Bump API minor
2021-06-16 04:23:25 +07:00
Sergey Shorokhov
39b441099c
Implement CVar sv_usercmd_custom_random_seed (#837) 3.9.0.752 2021-06-14 06:19:51 +07:00
Karol Szuster
81fe334545
Add GetEntityInit hook (#832)
* Add GetEntityInit hook
2021-06-14 05:43:27 +07:00
s1lentq
d9613d2093 SV_ParseMove: Fixed wrong check length 2021-06-13 00:06:02 +07:00
s1lentq
801be3ee5b SV_ParseMove, SV_ParseConsistencyResponse: check length 2021-06-12 00:53:30 +07:00
Juice
05c7601f1e
Fix crash in ProcessStringCmd (#838) 2021-06-12 00:01:01 +07:00
s1lentq
0c47c1c28b CMakeLists.txt: Fix build with cmake 3.7.2 [skip ci] 2021-06-05 08:21:48 +07:00
s1lentq
b0488cf081 Outdated maps compatibility 'Q1BSP_VERSION' for dedicated server 2021-05-03 00:50:25 +07:00
s1lentq
8dd3013813 SV_CheckBottom: Fix bug NPC movement (mistake reversing engineering) 2021-05-03 00:41:05 +07:00
s1lentq
2f70b6cba5 SV_FatPVS/SV_FatPAS: Sanity checks, gPVSRowBytes is not used for singleplayer 2021-05-03 00:39:06 +07:00
s1lentq
80c40ce0c0 Cmd_Alias_f: fix 2021-05-03 00:35:51 +07:00
s1lentq
ee986f7c62 version.vcxproj reworked [skip ci] 2021-04-24 01:13:18 +07:00
s1lentq
9a171db348 SV_ExecuteClientMessage: Don't handle packets when client has already dropped 2021-04-22 17:23:56 +07:00
s1lentq
ebefe19023 workflows/build.yml: remove nuget
info_tests.cpp: fix warning
2021-04-22 02:39:42 +07:00
s1lentq
6a916d766b Update README.md build.yml [skip ci] 3.8.0.739 2021-04-17 18:14:32 +07:00
s1lentq
2cd25fa7f8 Update README.md 2021-04-16 02:33:32 +07:00
s1lentq
a0bdadd679 reworked windows appversion 2021-04-16 02:32:43 +07:00
s1lentq
41f635869a Remove hookers stuff 2021-04-16 02:26:45 +07:00
s1lentq
13e2db3423 build.sh add help [skip ci] 2021-04-13 05:39:29 +07:00
s1lentq
1d15946cff build.sh fix jobs option parsing
glibc_test.sh: reworked pattern
2021-04-13 04:35:26 +07:00
s1lentq
7bd3d73b79 workflows/build.yml: add unittests for linux
CMakeLists.txt minor refactoring
2021-04-12 04:25:40 +07:00
s1lentq
7cfea77b93 workflows/build.yml: add testing HLDS demo 2021-04-11 07:00:11 +07:00
s1lentq
e9a39d73f2 CMakeLists.txt missing libm.so linking 2021-04-08 18:03:30 +07:00
s1lentq
c893651bf0 Remove gradle & cleanup 2021-04-08 05:13:42 +07:00