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
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
9e0d389d9e
engine: server: moved server cvars to static allocation
1 year ago
Alibek Omarov
4ce2475602
engine: common: move network cvars to static allocation
1 year ago
Alibek Omarov
214fc7e827
engine: common: move host 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
2 years ago
Alibek Omarov
3415185dde
engine: server: implement simple anti-speedhack
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
5ef97ae99e
engine: convert Info_SetValueForKey with va to Info_SetValueForKeyf
2 years ago
Alibek Omarov
6b62f9c1b9
engine: convert Cvar_Get with va to Cvar_Getf
2 years ago
fgsfds
97a7de3377
engine: server: remove duplicate registration for sv_autosave
2 years ago
Alibek Omarov
474833a3bf
engine: server: send heartbeats to master server if sv_nat is active, despite public cvar value
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
60e7a7aa23
engine: server: set correct flags for rcon_ cvars on server
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
1d8acc16f1
engine: server: give master server a small time window to reply (by default 4000 ms, should be enough even when master server is overloaded)
2 years ago
Andrey Akhmichin
2454594a18
engine: server: simplify strings operations.
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
8d0209b122
engine: server: added support for variable voice chat quality
2 years ago
Velaron
2b9e050f57
engine: voice support
2 years ago
Alibek Omarov
0d2552c3f6
engine: server: prevent DoS through master server query
2 years ago
Alibek Omarov
b3c9637422
engine: server: send server info to all master servers
2 years ago
SNMetamorph
cf84ad12f1
engine: server: backported NAT bypass feature
2 years ago
SNMetamorph
8f91830997
engine: added changeport parameter for NET_Config
2 years ago
Alibek Omarov
5524aaae1e
engine: server: fix server dll leak when no map was loaded
2 years ago
Alibek Omarov
5e4996b119
engine: server: fix bot count
2 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
SNMetamorph
75e80bc2ff
engine: server: fixed cvars sv_max/minupdaterate, sv_max/minrate
3 years ago
Alibek Omarov
f5e400de69
server: fix wrong xashid key on server, it's uuid now
4 years ago
Alibek Omarov
9c9953bb60
server: fix some cvars being registered incorrectly or not registered at all
4 years ago
Alibek Omarov
aea9e8efa2
server: sv_validate_changelevel is deprecated now and disabled by default
...
If anyone wants this feature back, use +sv_validate_changelevel 1 in command line.
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
Alibek Omarov
ce1fc386a2
engine: server: reformat SV_Init
5 years ago
Alibek Omarov
77bebe3000
engine: server: remove FCVAR_SERVER from gamedir cvar, set FCVAR_READ_ONLY instead. Seems it was used when Xash had hot change game, i.e. without restarting engine.
5 years ago
Alibek Omarov
78baf568ae
engine: more double promotion fixes
5 years ago
Alibek Omarov
531c6cc375
engine: server: explicitly cast literals to floats
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
Andrey Akhmichin
83953c7fb3
Port ip filter and partially useragent from old engine.
5 years ago
Alibek Omarov
c215b89923
Apply 4483 update
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago