Alibek Omarov
8c61a2f021
engine: server: cleanup server.h header from unused functions prototypes
10 months ago
Alibek Omarov
2b6a550405
engine: clean up common.h header from unused function prototypes, or move them to appropriate header or C file
10 months ago
Alibek Omarov
36c2f9e9f2
engine: refactor rcon redirect, don't make it depend on global object
11 months ago
Alibek Omarov
83d26ad233
engine: server: add sv_allow_autoaim cvar
12 months ago
Alibek Omarov
78bc177e05
engine: server: remove unused host struct field
1 year ago
Alibek Omarov
ea24b5f3ca
engine: server: make CRC32_MapFile public
1 year ago
Alibek Omarov
4bbd1e59a4
engine: server: static-ize world 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
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
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
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
9e0d389d9e
engine: server: moved server cvars to static allocation
1 year 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
1 year ago
Alibek Omarov
3415185dde
engine: server: implement simple anti-speedhack
1 year ago
Alibek Omarov
551ea71906
engine: server: make generic function to kick players with a reason
1 year ago
Alibek Omarov
597027277c
engine: server: remove some totally unused functions
2 years ago
Alibek Omarov
01e0542223
engine: server: move master announce logic to masterlist, keep unique heartbeat challenge and heartbeat timer for each master
2 years ago
Alibek Omarov
892e5c59eb
engine: server: convert public_server cvar to static allocation
2 years ago
Alibek Omarov
0984368a31
engine: server: GoldSrc compliant pfnServerExecute(), don't execute config.cfg for server!
2 years ago
fgsfds
15ba932046
engine: server: add sv_autosave cvar
...
* a1ba: added FCVAR_PRIVILEGED just in case
2 years ago
fgsfds
6557ac7fb4
server: add sv_autosave cvar
2 years ago
Alibek Omarov
f7d4e5a2ea
engine: server: don't show GAMESAVED message in autosaves, small refactoring
2 years ago
Alibek Omarov
787d3bc5dd
engine: share playermove ClearPhysEnts function
2 years ago
Alibek Omarov
a3ef6c955c
engine: don't double register rcon_password cvar
2 years ago
Alibek Omarov
e1431e1040
engine: server: add rcon_enable cvar to control whether server should accept remote commands
2 years ago
Alibek Omarov
7469d6a248
engine: server: implement server-to-master challenge extension, to secure server from IP spoofing
2 years ago
Alibek Omarov
d9a245dcb5
engine: reset cheat cvars on remote games
2 years ago
Alibek Omarov
dd881d3da9
engine: server: remove duplicate function
2 years ago
SNMetamorph
5d73c6cb84
engine: server: backported enttools from old engine
2 years ago
SNMetamorph
97879430e9
engine: small code fixes related to voice chat
2 years ago
Alibek Omarov
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
3 years ago
SNMetamorph
22815d2784
engine: server: sv_main: added status line for dedicated server console
3 years ago
Alibek Omarov
2fa964e939
engine: server: restore sv_trace_messages from old engine
3 years ago
Alibek Omarov
d9fd6aa05c
engine: server: restore log functionality from old engine. Thanks to @ValeTheVioletMote for initial patch.
3 years ago
SNMetamorph
ec95948b69
engine: server: implemented instant game library loading
3 years ago
Alibek Omarov
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
3 years ago
Alibek Omarov
4543008012
engine: server: declare sv_client_t::flags as unsigned
3 years ago
SNMetamorph
75e80bc2ff
engine: server: fixed cvars sv_max/minupdaterate, sv_max/minrate
3 years ago
Alibek Omarov
585ae28dd2
server: fix some int <> unsigned int conversions
4 years ago
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:]]\+$//' {} \+
```
4 years ago
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago
mittorn
114a256675
Implement XASH_LOW_MEMORY, memory-reduced configuration
5 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
5 years ago
Alibek Omarov
a0cbac4fc7
engine: server: use generic SV_RejectConnection instead of directly sending errormsg
5 years ago