Alibek Omarov
9e0d389d9e
engine: server: moved server cvars to static allocation
1 year ago
Alibek Omarov
214fc7e827
engine: common: move host cvars to static allocation
1 year ago
Alibek Omarov
551ea71906
engine: server: make generic function to kick players with a reason
1 year ago
Alibek Omarov
8c7db8499f
engine: add size argument to COM_FileBase calls
1 year ago
Alibek Omarov
096ee34f67
public: remove Q_vsprintf, replace by proper Q_vsnprintf proper calls
...
Fixes weird off by one error caused by glibc updates? I didn't tracked
what causes it exactly but replacing it seems to work. Anyway, we should
remove all 99999 hacks in libpublic.
1 year ago
Alibek Omarov
01e0542223
engine: server: move master announce logic to masterlist, keep unique heartbeat challenge and heartbeat timer for each master
1 year ago
Alibek Omarov
d667845777
engine: convert Cbuf_AddText with va to Cbuf_AddTextf
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
17d0b19f9e
engine: use generic S_USAGE macro everywhere
2 years ago
Alibek Omarov
0d195ee6fe
engine: server: fix output of maps command
2 years ago
Alibek Omarov
94dc74a37f
engine: restrict potentially harmful engine commands
3 years ago
Alibek Omarov
d9fd6aa05c
engine: server: restore log functionality from old engine. Thanks to @ValeTheVioletMote for initial patch.
3 years ago
Alibek Omarov
7b8ec0ad4b
engine: server: fix another const qualifier lose
3 years ago
Alibek Omarov
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
3 years ago
Alibek Omarov
37c5dfa49f
engine: generalize maps command and map command autocompletion
3 years ago
tyabus
0260a6c234
engine: server: backport maps command implementation from old engine
3 years ago
Alibek Omarov
c62db950f1
server: implement rcon redirection, add redirect command from old engine
3 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
1332381e2d
engine: server: simplified strings operations.
4 years ago
Andrey Akhmichin
83953c7fb3
Port ip filter and partially useragent from old engine.
5 years ago
Alibek Omarov
b16529cc65
Apply 4511 update
5 years ago
Alibek Omarov
c215b89923
Apply 4483 update
5 years ago
Alibek Omarov
622de7a7f1
Apply 4312 update
6 years ago
Alibek Omarov
aae3510763
Apply 4281 update
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
1e7f9d00c3
Apply 4150 update
6 years ago
Alibek Omarov
a539384a76
Apply 4143 update
6 years ago
Alibek Omarov
9bab7d222a
Apply 4097 update
6 years ago
Alibek Omarov
efe8ddf151
Fix missing const-qualifiers in engine code. Fix qboolean/int mixing in interface implementations(int is preferred). Replace long by int in COM_RandomLong.
6 years ago
mittorn
db92c918b2
Apply Apr19 update
6 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
6 years ago