8c61a2f021
engine: server: cleanup server.h header from unused functions prototypes
2024-01-28 11:35:53 +03:00
2b6a550405
engine: clean up common.h header from unused function prototypes, or move them to appropriate header or C file
2024-01-28 10:00:17 +03:00
36c2f9e9f2
engine: refactor rcon redirect, don't make it depend on global object
2023-12-13 14:56:27 +03:00
83d26ad233
engine: server: add sv_allow_autoaim cvar
2023-11-20 00:11:10 +03:00
78bc177e05
engine: server: remove unused host struct field
2023-10-28 11:06:18 +03:00
ea24b5f3ca
engine: server: make CRC32_MapFile public
2023-07-02 01:19:38 +03:00
4bbd1e59a4
engine: server: static-ize world functions
2023-06-19 07:47:38 +03:00
8350d81c18
engine: server: static-ize sv_pmove functions
2023-06-19 07:38:18 +03:00
57499dea33
engine: server: static-ize sv_phys functions, set GAME_EXPORT attribute for PhysicAPI functions
2023-06-19 07:32:22 +03:00
6b223f1325
engine: server: static-ize functions in sv_game. Set GAME_EXPORT attribute to server GameAPI functions
2023-06-19 07:11:49 +03:00
c7d748e8df
engine: server: add sv_log_outofband cvar that controls whether connectionless packets should be printed or not
2023-06-16 07:19:17 +03:00
c966589a50
engine: server: static-ize few game API functions, set GAME_EXPORT attribute
2023-06-15 19:22:13 +03:00
a4997d0647
engine: server: port old engine's fullupdate ratelimit, but simplify it
2023-06-15 18:09:59 +03:00
243c3cc80f
engine: server: port old engine's userinfo penalty
2023-06-15 04:46:22 +03:00
9c62fa901f
engine: server: pregenerate CRC table and testpacket data
2023-06-14 00:35:07 +03:00
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
2023-06-10 02:06:45 +03:00
9e0d389d9e
engine: server: moved server cvars to static allocation
2023-05-27 21:52:58 +03:00
fbd7d8f58a
engine: server: use sv_speedhack_kick cvar value as a number of speedhack warns before automatic kick
...
Thanks to @tyabus for suggestion
2023-05-19 04:49:29 +03:00
3415185dde
engine: server: implement simple anti-speedhack
2023-05-19 04:44:42 +03:00
551ea71906
engine: server: make generic function to kick players with a reason
2023-05-19 04:44:42 +03:00
597027277c
engine: server: remove some totally unused functions
2023-04-03 03:12:52 +03:00
01e0542223
engine: server: move master announce logic to masterlist, keep unique heartbeat challenge and heartbeat timer for each master
2023-04-03 00:57:47 +03:00
892e5c59eb
engine: server: convert public_server cvar to static allocation
2023-04-02 22:48:47 +03:00
0984368a31
engine: server: GoldSrc compliant pfnServerExecute(), don't execute config.cfg for server!
2023-02-11 07:22:04 +03:00
fgsfds
15ba932046
engine: server: add sv_autosave cvar
...
* a1ba: added FCVAR_PRIVILEGED just in case
2023-02-06 00:05:20 +03:00
f7d4e5a2ea
engine: server: don't show GAMESAVED message in autosaves, small refactoring
2023-01-31 07:16:08 +03:00
787d3bc5dd
engine: share playermove ClearPhysEnts function
2023-01-06 00:28:24 +03:00
a3ef6c955c
engine: don't double register rcon_password cvar
2022-12-12 08:13:24 +03:00
e1431e1040
engine: server: add rcon_enable cvar to control whether server should accept remote commands
2022-12-12 08:02:56 +03:00
7469d6a248
engine: server: implement server-to-master challenge extension, to secure server from IP spoofing
2022-12-07 23:39:57 +03:00
d9a245dcb5
engine: reset cheat cvars on remote games
2022-12-01 02:44:01 +03:00
dd881d3da9
engine: server: remove duplicate function
2022-11-16 23:37:26 +03:00
SNMetamorph
5d73c6cb84
engine: server: backported enttools from old engine
2022-11-10 11:56:10 +03:00
SNMetamorph
97879430e9
engine: small code fixes related to voice chat
2022-08-18 04:46:11 +03:00
51526948c0
engine: server: make PEntityOfEntIndex bug-compatible with GoldSrc
...
Add new undocumented GoldSrc eiface function, PEntityOfEntIndexAllEntities,
a bug-free version of PEntityOfEntIndex
Ref: https://github.com/ValveSoftware/halflife/issues/2272
2022-05-21 03:03:59 +03:00
SNMetamorph
22815d2784
engine: server: sv_main: added status line for dedicated server console
2022-04-06 15:17:15 +03:00
2fa964e939
engine: server: restore sv_trace_messages from old engine
2022-01-27 03:32:52 +03:00
d9fd6aa05c
engine: server: restore log functionality from old engine. Thanks to @ValeTheVioletMote for initial patch.
2021-10-27 19:40:05 +03:00
SNMetamorph
ec95948b69
engine: server: implemented instant game library loading
2021-10-03 04:38:05 +03:00
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
2021-07-20 16:03:06 +03:00
9313f7e80e
engine: replace pool pointer by pool handle
2021-06-07 02:33:15 +03:00
4543008012
engine: server: declare sv_client_t::flags as unsigned
2021-06-01 17:58:33 +03:00
SNMetamorph
75e80bc2ff
engine: server: fixed cvars sv_max/minupdaterate, sv_max/minrate
2021-05-30 09:40:03 +03:00
585ae28dd2
server: fix some int <> unsigned int conversions
2021-03-07 02:00:46 +03:00
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
2020-02-12 14:32:26 +05:00
114a256675
Implement XASH_LOW_MEMORY, memory-reduced configuration
2019-10-26 07:06:26 +07:00
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
2019-07-19 20:23:08 +03:00
a0cbac4fc7
engine: server: use generic SV_RejectConnection instead of directly sending errormsg
2019-07-13 20:59:43 +03:00
83953c7fb3
Port ip filter and partially useragent from old engine.
2019-07-09 03:48:09 +03:00