Alibek Omarov
83d26ad233
engine: server: add sv_allow_autoaim cvar
1 year ago
Alibek Omarov
f7c536b81c
engine: server: allow loading maps from subdirectories as this is used by some Half-Life mods
1 year ago
Alibek Omarov
f07eea5073
engine: server: allow server unloading for Win32 targets until we figure out the issues with MetaMod
1 year ago
Alibek Omarov
78bc177e05
engine: server: remove unused host struct field
1 year ago
Alibek Omarov
8fb908e3d4
engine: server: disable SV_UnloadProgs, only call it when shutting down engine
1 year ago
Alibek Omarov
d8b261370a
engine: common: do not probe server to collect cvars for game.cfg (CHECK THIS)
1 year ago
Alibek Omarov
7f9025e178
engine: server: sv_pmove: use model name for physent name to avoid crash when classname isn't initialized yet
1 year ago
Alibek Omarov
a5ee631191
engine: server: sv_game: disable searching closer to server library memory region for Android
1 year ago
Alibek Omarov
061b50404d
engine: server: register dummy cvar sv_allow_dlfile for GoldSrc compatibility
1 year ago
Alibek Omarov
279cec5ae9
engine: rename cl/sv_allowdownload for GoldSrc compatibility
1 year ago
Alibek Omarov
3ac8ad9484
engine: fixup endianness found by -Werror=strict-aliasing in old armv7hf compiler (d259421111289af3b49c055150e02213f39075a6)
1 year ago
mittorn
b949da291e
engine: fix strict aliasing issues found by an old armv7hf compiler
1 year ago
Alibek Omarov
1c9f333420
engine: server: fix attempting to free pool instead of an allocated memory
1 year ago
Alibek Omarov
52bd923d9d
engine: server: use generic host pool for temporary string allocation in case of PhysicAPI
1 year ago
Alibek Omarov
72fe214f49
engine: server: pre-process string before passing it to PhysicAPI AllocString, for compatibility with existing Xash3D games
1 year ago
Alibek Omarov
9968b192c3
engine: server: fix buffer overflow in invalid Q_strncpy call
1 year ago
Alibek Omarov
aee99f6094
engine: don't release DLL that wasn't loaded during settings.scr parsing. This should be deleted as soon as possible!
1 year ago
Alibek Omarov
e23580c1de
engine: remove czeror sequence parser
...
This file initially came from HLND, a Chinese GoldSrc recreation.
It turned out to be suspiciously close to the original version, down
to the comments and code style. We don't work with leaked sources here,
so remove it.
A proper parser should be reimplemented from ground-up, when we will
start working on CZDS support.
1 year ago
Alibek Omarov
d5f4b409e8
engine: server: sv_save: use new quicksave_aged_count and autosave_aged_count gameinfo.txt keys
1 year ago
Alibek Omarov
ea24b5f3ca
engine: server: make CRC32_MapFile public
1 year ago
Alibek Omarov
eb7f19d3cf
engine: server: properly remove remaining server operator commands
1 year ago
Alibek Omarov
f5b9826fd9
engine: common: net_encode: directly access delta description struct than searching for it every time
1 year ago
Alibek Omarov
4bbd1e59a4
engine: server: static-ize world functions
1 year ago
Alibek Omarov
0809453b2c
engine: server: static-ize sv_query functions
1 year ago
Alibek Omarov
8350d81c18
engine: server: static-ize sv_pmove functions
1 year ago
Alibek Omarov
57499dea33
engine: server: static-ize sv_phys functions, set GAME_EXPORT attribute for PhysicAPI functions
1 year ago
Alibek Omarov
6b223f1325
engine: server: static-ize functions in sv_game. Set GAME_EXPORT attribute to server GameAPI functions
1 year ago
Alibek Omarov
01ad3dda2a
engine: server: escape rcon arguments before passing it to command buffer, also use more efficient concatenation
1 year ago
Alibek Omarov
2a05624615
engine: server: keep silence in case of unset or invalid rcon password
1 year ago
Alibek Omarov
16c87ae2c9
engine: platform: reorganize UpdateStatusLine, make it shared but implemented only if platform has SetStatus. Implement SetStatus for systemd/Linux
1 year ago
Alibek Omarov
c7d748e8df
engine: server: add sv_log_outofband cvar that controls whether connectionless packets should be printed or not
1 year ago
Alibek Omarov
c966589a50
engine: server: static-ize few game API functions, set GAME_EXPORT attribute
1 year ago
Alibek Omarov
4c02c25506
engine: server: do not assert if SetFatPVS/PAS were called without active player
...
Fixes issues with POD-Bot based bots.
1 year ago
Alibek Omarov
a4997d0647
engine: server: port old engine's fullupdate ratelimit, but simplify it
1 year ago
Alibek Omarov
243c3cc80f
engine: server: port old engine's userinfo penalty
1 year ago
Alibek Omarov
9c62fa901f
engine: server: pregenerate CRC table and testpacket data
1 year ago
jeefo
61c75b9809
engine: server: log: use S_USAGE in logaddress for consistency with existing code
1 year ago
jeefo
868d10a842
engine: server: log: allow to disable logaddress without turning off logs completely
1 year ago
jeefo
699f3579fe
engine: server: log: fix log off command not disabling logging to console ( fixes #1340 )
1 year ago
jeefo
873ce0ce48
engine: server: query: A2S_PLAYER response should contain bots and normal players
1 year ago
Alibek Omarov
278ff22ba9
engine: server: query: use common SV_GetPlayerCount, fix random styling issues
1 year ago
jeefo
d9ef1d4608
server: implement correct answers to TSourceEngineQuery server queries
...
* count bots as clients as in goldsrc
* handle source-style packets after xash's built-in packets to not interfere with them
1 year ago
Alibek Omarov
f49a2bc8f3
engine: server: move pfnWriteString character replacement hack to the ALLOC_STRING, the same way as GoldSrc does
2 years ago
Alibek Omarov
9e0d389d9e
engine: server: moved server cvars to static allocation
2 years ago
Alibek Omarov
4ce2475602
engine: common: move network cvars to static allocation
2 years ago
Alibek Omarov
214fc7e827
engine: common: move host cvars to static allocation
2 years ago
Alibek Omarov
5627dbbf34
engine: server: greatly simplify pfnWriteString implementation, it shouldn't modify input string
2 years ago
Alibek Omarov
275cd73ade
engine: server: do not trigger speedhack detection for fakeclients
2 years ago
Alibek Omarov
fbd7d8f58a
engine: server: use sv_speedhack_kick cvar value as a number of speedhack warns before automatic kick
...
Thanks to @tyabus for suggestion
2 years ago
Alibek Omarov
3415185dde
engine: server: implement simple anti-speedhack
2 years ago