pepepepito0147
c1d81f09a8
Merge branch 'dreamstalker:master' into master
2022-09-19 13:16:56 -04:00
Adrian Cirstea
d6ebe82833
API
: Implement *_Precache_*
, ClientPrintf
, CheckUserInfo
and AddResource
hooks (#903 )
...
* Added SV_CheckUserInfo hook
* Implemented PF_precache_* hooks
- PF_precache_sound_I
- PF_precache_model_I
- PF_precache_generic_I
* Added EV_Precache and SV_AddResource hooks
and update API minor version
* Added SV_AddResource_internal and fixed pointers
* Added SV_AddResource_hook, fixed chain EV_Precache
* Reworked SV_AddResource for Rehlds API
* Reverted RehldsFuncs_t's SV_AddResource API
* Updated chains
* Update rehlds_api_impl.h
* Implement `SV_ClientPrintf` hook
* Changed `SV_ClientPrintf` chain type to void
* Revert `SV_ClientPrintf` code refactor
* Removed `const` string type
in order to resize the string.
* Changes according to var type
* Fixing function's functionality
* Moved vars declaration after `host_client` check
* revert variable naming in SV_ClientPrintf
* `SV_ClientPrintf_internal`: more safe string copy
Co-authored-by: wopox1337 <wopox1337@ya.ru>
2022-09-19 14:20:33 +03:00
pepepepito0147
257f6d9d20
Update server.h
2022-09-09 20:07:41 -04:00
pepepepito0147
d52e68d428
Update sv_main.cpp
2022-09-09 20:07:11 -04:00
pepepepito0147
665cf9f557
Update sv_user.cpp
2022-09-09 19:55:24 -04:00
pepepepito0147
ae3ae6ef2b
Update sv_main.cpp
2022-09-09 19:40:58 -04:00
pepepepito0147
b86e80d2ed
Update sv_user.cpp
2022-09-09 19:26:05 -04:00
pepepepito0147
2cd2185510
Update sv_user.cpp
2022-09-09 19:23:29 -04:00
pepepepito0147
d1529e3e88
Update sv_main.cpp
2022-09-09 17:55:40 -04:00
pepepepito0147
6e9ec6ef08
Update README.md
2022-09-08 23:54:59 -04:00
pepepepito0147
41f78f95b6
Update sv_user.cpp
2022-09-05 20:10:36 -04:00
pepepepito0147
4174c250d6
Update sv_main.cpp
2022-09-05 17:25:58 -04:00
pepepepito0147
f3a50f64fa
Update sv_user.cpp
...
Added new cvars:
Fix bug to fake players
sv_invalid_length = 0
Disable message flooding in console
sv_msg_badread = 1
2022-09-05 16:54:20 -04:00
pepepepito0147
9b0c39cc11
Update sv_main.cpp
2022-09-05 16:51:20 -04:00
pepepepito0147
41d2a86535
Update server.h
2022-09-05 16:46:27 -04:00
pepepepito0147
bf8ea92484
Update server.h
...
d6b35fad80
2022-09-05 13:37:38 -04:00
pepepepito0147
6d0dd3b690
Update sv_main.cpp
...
d6b35fad80
2022-09-05 13:35:52 -04:00
pepepepito0147
d6b35fad80
Update sv_user.cpp
...
Added new cvars:
Fix bug to fake players
sv_invalid_length = 0
Disable message flooding in console
sv_msg_badread = 1
2022-09-05 13:32:02 -04:00
s1lentq
d76b06dcc2
Netchan_CreateFileFragments: Fixed a very old and rare bug with dlfile while downloading direct from server, when content of resource size is less than header size first fragment
2022-08-25 00:01:33 +07: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
2022-05-25 18:39:14 +07:00
s1lentq
3dc9f8c92d
Fixed typo ZONE_DYNAMIC_SIZE
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 5bc2d83b08
.
[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>
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
2021-06-24 19:09:10 +07:00
Sergey Shorokhov
9508c8376b
change destinition folder for linux build ( #842 )
2021-06-23 16:04:53 +03:00
Very Strange Karaulov
ad6f6ad396
sv_main.cpp: SV_New_f()
uses Q_snprintf()
unsafe format. ( #807 )
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 )
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