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
Hamdi
1796459953
Add SV_AllowPhysent hook ( #951 )
...
* Add SV_AllowPhysent hook
2023-02-11 07:03:53 +07:00
s1lentq
5e8b0ba616
Increased limit leafs MAX_MAP_LEAFS up to 32767
2022-12-07 19:17:09 +07:00
s1lentq
14b56e0514
Added more check for possible numleaf overflow
...
Minor refactoring
2022-12-07 19:15:08 +07: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
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
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]
2021-04-17 18:14:32 +07:00