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
3 years ago
SNMetamorph
8f91830997
engine: added changeport parameter for NET_Config
3 years ago
Alibek Omarov
5524aaae1e
engine: server: fix server dll leak when no map was loaded
3 years ago
Alibek Omarov
5e4996b119
engine: server: fix bot count
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
SNMetamorph
75e80bc2ff
engine: server: fixed cvars sv_max/minupdaterate, sv_max/minrate
4 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.
6 years ago
Alibek Omarov
a0cbac4fc7
engine: server: use generic SV_RejectConnection instead of directly sending errormsg
6 years ago
Andrey Akhmichin
83953c7fb3
Port ip filter and partially useragent from old engine.
6 years ago
Alibek Omarov
c215b89923
Apply 4483 update
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
1e7f9d00c3
Apply 4150 update
7 years ago
Alibek Omarov
ec6bfa2421
Let server physics simulate even when there is no players(GoldSrc behaviour)
7 years ago
Alibek Omarov
0681209114
Remove useless host.type set, replace HOST_DEDICATED checks by Host_IsDedicated
7 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.
7 years ago
Alibek Omarov
e8d13cd0d5
Rebrand from Xash3D to Xash3D FWGS. Add _format() attrubute to print-like functions
7 years ago
mittorn
ab0bcc55f8
Apply Apr20 update
7 years ago
Alibek Omarov
314a6deba9
Remove gamedir[] from engine-side gameinfo_t
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago