2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-03-13 14:00:26 +03:00

62 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
s1lent
084bd023d2
ReHLDS API: Extending api 2019-08-11 03:01:01 +07:00
s1lent
237ee46464
SV_WriteId_f, DemoFile::StartRecording: Enforce certain extensions be used for files (*.dem, *.cfg) and prevent certain path characters from being used in commands
SV_CheckForDuplicateNames: revert checks (default behavior hlds)
2018-09-03 17:34:08 +07:00
s1lent
f5784be364
Reversed CIPRateLimit
Minor refactoring
2017-12-19 21:34:15 +07:00
s1lent
fda9ee3fe2
Removed HOOK_ENGINE 2017-12-12 18:32:38 +07:00
Dmitry Novikov
60f2181a55
Rework #529, #530 (#553)
* Rework #529, #530
Fix comment to S2A_RULES
Closes #529
Closes #530
2017-12-11 17:52:38 +07:00
Artem Golubikhin
2829c7ffde Fixed saving temporary string in PF_lightstyle_I (#532)
Fixed saving temporary string in PF_lightstyle_I
Marked mismatched code (HLTV)
Fixed lightstyle copying in ParseSaveTables (SinglePlayer)
2017-10-09 17:06:05 +02:00
Sh1ft0x0EF
416637e970 Const-like defines -> consts 2017-04-26 04:51:40 +04:00
Lev
f026c38333 Make mapcycle.txt sending optional, because not used on the client and cause parse error if file is large. Also truncate if sending is enabled.
Added sv_rehlds_send_mapcycle cvar.
2017-03-15 12:03:40 +05:00
Lev
69c1833b4b Move sv_delta_s declaration to the public file.
Add missing files to the project.
2017-03-12 18:09:38 +05:00
Lev
f1e6b6ca40 Merge pull request #372 from Sh1ft0x0EF/coderev-generic
enum-like defines -> enums
2017-02-19 10:20:09 +05:00
Lev
4a90fa39a1 Added crlf at the file ending. 2017-02-19 10:04:22 +05:00
Sh1ft0x0EF
77482953d9 enum-like defines -> enums 2017-02-18 22:53:56 +04:00
Sh1ft0x0EF
774e065278 Use pragma once for headers (368B - Same as #368 but using pragma only) 2017-02-18 18:58:37 +04:00
Lev
9ee7e6e95f Formatting. 2017-02-15 08:41:28 +05:00
Souvik Das
656c5d5f52 Fixed: parameter constraint in PF_lightstyle_I 2017-02-15 00:32:54 +05:30
theAsmodai
e6fa6d7c07 Merge pull request #321 from WPMGPRoSToTeMa/FixSpectatorBufferOverflow
Allowed spectator and global unreliable buffer to overflow
2017-01-24 23:41:04 +03:00
WPMGPRoSToTeMa
50dc3acfde Allowed spectator and global unreliable buffer to overflow
Extended spectator buffer
2017-01-24 17:08:18 +03:00
Chuvi
73237e884b Convert g_bIs#GameName# to enum. (#300)
* Convert g_bIs#GameName# to enum.
2017-01-05 03:08:21 +05:00
WPMGPRoSToTeMa
34f23b1577 Added a feature of local gametime which decrease "lags" if you run same map for a long time (sv_rehlds_local_gametime cvar, related to #193) 2016-12-24 18:05:41 +03:00
s1lentq
4fc947807f Refactoring
Fix crash on SV_SingleClipMoveToEntity, added safe check for pointer model
2016-12-12 22:05:45 +07:00
WPMGPRoSToTeMa
51ecac79a0 Fixed animation speed when player has attached entities (https://github.com/WPMGPRoSToTeMa/PatchedGoldSrcClient/issues/7) 2016-12-10 03:37:09 +03:00
WPMGPRoSToTeMa
803a5525d1 Fixed invalid host_client for SV_FullClientUpdate call (after #268) 2016-12-04 16:31:24 +03:00
s1lentq
5c1be6a61d Clean up code/dwarf 2016-11-22 04:46:48 +07:00
s1lentq
381a4c0ab2 Added cvar syserror_logfile
Changed in some places rehlds_syserror on Sys_Error for log.
2016-11-09 01:01:49 +07:00
WPMGPRoSToTeMa
80dca10f13 Added sv_rehlds_userinfo_transmitted_fields cvar 2016-07-30 03:48:45 +03:00
WPMGPRoSToTeMa
ba910e0b94 Added SV_UpdateUserInfo to API
Fixed #215
2016-06-15 23:59:22 +03:00
s1lentq
762923fbc3 Implemented new function SV_EmitSound2 for 3-rd things and hook. (#213)
Added direct call for functions SV_EmitSound2 and SV_StartSound
Added cvar sv_rcon_condebug 0/1
2016-06-06 19:28:07 +03:00
Alexander
caf2960504 ReHLDS API: Add hook SV_CreatePacketEntities, global net_from and int… (#212)
ReHLDS API: Add hook SV_CreatePacketEntities, global net_from and interface SteamGameServer
2016-05-30 19:24:33 +03:00
Artem Golubikhin
83d8a8383b SV_HullForBsp: use hull center instead of corner (CVar sv_rehlds_hull_centering) 2016-04-16 16:20:03 +03:00
Adidasman1
306f47eee2 ReHLDS API: Add hook on SV_Spawn_f 2016-03-26 00:20:24 +04:00
WPMGPRoSToTeMa
beaeb65138 Fixed MAX_FRAGMENTS value for customizations (#114 now really fixed)
Fixed mistake in Netchan_CreateFileFragmentsFromBuffer (fixed customization downloading)
Added sv_rehlds_force_dlmax cvar
Corrected FRAGMENT_MAX_SIZE value
2016-02-10 05:04:31 +03:00
WPMGPRoSToTeMa
93e0f62373 Added sv_delayed_spray_upload cvar (#173) 2016-02-08 09:59:54 +03:00
asmodai
5916655edd Merge remote-tracking branch 'remotes/tema/resourcelistextend' 2016-02-06 14:25:19 +03:00
asmodai
30519ea2ee Merge remote-tracking branch 'remotes/tema/autoprecachetextureandanimgroup' 2016-02-06 14:23:38 +03:00
WPMGPRoSToTeMa
9080b9b7e8 Added auto precache sounds in models (event 5004)
Added cvar sv_auto_precache_sounds_in_models
Moved models auto precache code to SV_ActivateServer
2016-02-06 11:29:44 +03:00
WPMGPRoSToTeMa
415240ecde Extended max resource count to 4096
Extended max generic resource count to 4096
Added backward slash replace in PF_precache_generic_I
Removed local copying in SV_CreateGenericResources
Added moving checked resources to first positions in resource list
2016-02-06 08:42:17 +03:00
WPMGPRoSToTeMa
6bbce69f04 Added listipcfgfile cvar 2016-02-04 05:49:45 +03:00
WPMGPRoSToTeMa
940cf0e2ec Extended server reliable and signon buffers
Extended client netchan message buffer
2016-01-23 18:25:54 +03:00
asmodai
fb4247d8ef Added optional echo for unknown commands (#91)
Updated flood rates
2015-12-27 03:13:19 +03:00
s1lentq
ee4dbe6481 ReHLDS API: Added some functions 2015-12-13 19:29:40 +06:00