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
5ef97ae99e
engine: convert Info_SetValueForKey with va to Info_SetValueForKeyf
2 years ago
Alibek Omarov
ba1cf25314
engine: convert MSG_WriteString with va to MSG_WriteStringf
2 years ago
Alibek Omarov
48ca8f9a70
engine: server: fix call to non existent function, in this tree it's called IsMasterAdr
2 years ago
Alibek Omarov
602f23fbdf
engine: server: check if we got info request from master server, that acts as a bridge for NAT servers
2 years ago
Alibek Omarov
fccf044976
engine: initialize network buffers used on player connect and after
2 years ago
Alibek Omarov
aa3a0fa392
engine: server: increase infostring size in SV_Info allowing longer hostnames but try to cut off if it's even longer than that
2 years ago
Andrey Akhmichin
9450c08eec
engine: server: simplify strings operations.
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
e48133bf4b
engine: server: fix sv_log output for enttools usage
2 years ago
Andrey Akhmichin
2454594a18
engine: server: simplify strings operations.
2 years ago
Alibek Omarov
b6bd4bc6f8
engine: server: precisely set client connected time after they were spawned
2 years ago
Alibek Omarov
3da736a1eb
engine: server: try to solve issue when server dll has no voice mgr
2 years ago
Alibek Omarov
dd881d3da9
engine: server: remove duplicate function
2 years ago
Alibek Omarov
7b74015c4d
engine: server: check if player can hear other before sending voicedata
2 years ago
SNMetamorph
32372654c2
engine: server: sv_client: fixed working ent_create command on XashXT/PrimeXT
2 years ago
SNMetamorph
5d73c6cb84
engine: server: backported enttools from old engine
2 years ago
Alibek Omarov
f633b3dbf6
engine: increase MAX_INIT_MSG to 192 kilobytes limit
...
* also avoid magic number in sv_client.c
2 years ago
Alibek Omarov
905bbf1515
engine: server: read full voicedata message even if voice is disabled server wide
2 years ago
Alibek Omarov
c5dbbea9ef
engine: server: drop bots fake ping to zero
2 years ago
SNMetamorph
97879430e9
engine: small code fixes related to voice chat
2 years ago
Velaron
2b9e050f57
engine: voice support
2 years ago
Alibek Omarov
6ef76fe665
engine: server: fix bots are counted as real players
2 years ago
SNMetamorph
5b97c2135a
engine: server: fixed "wrong version" spamming in NAT bypass mode ( fix #953 )
2 years ago
SNMetamorph
a5ba43ea39
engine: fixed vulnerability in NAT bypass mechanism
2 years ago
SNMetamorph
d8724f0be4
engine: common: net_ws: disabled read-only flag for ip cvar
3 years ago
SNMetamorph
fce3959d15
engine: server: added "c" command to SV_ConnectionlessPacket
3 years ago
Alibek Omarov
c8410f7e46
engine: server: don't issue an assert on invalid client names
3 years ago
Alibek Omarov
12da44a3d7
engine: server: send protocol version to distinguish old engine and new
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
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
3 years ago
lilmayofuksu
2ad209b973
engine: server: updated TSource query to be more compatible with GoldSrc standard ( #497 )
...
Mark TSource queries as connectionless.
Only send Windows as the os if the engine was built on it.
4 years ago
Barış
18d8ef287d
engine: fix client can use kill command while not connected ( #492 )
4 years ago
Alibek Omarov
f31e9ae19e
engine: server: fix bounds check in SV_GetFragmentSize
4 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
c62db950f1
server: implement rcon redirection, add redirect command from old engine
4 years ago
Alibek Omarov
e5a40fd745
server: fix password presence wasn't advertised to clients on info message #359
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
1332381e2d
engine: server: simplified strings operations.
4 years ago
Andrey Akhmichin
87340ceca8
engine: server: fix godmode behavior.
5 years ago
Alibek Omarov
78baf568ae
engine: more double promotion fixes
5 years ago
Jonathan Poncelet
214f53b8a7
SV_DropClient: Prevented transmission to fake clients
5 years ago
Alibek Omarov
4beba75159
engine: fix various compiler warnings
6 years ago
Alibek Omarov
a0cbac4fc7
engine: server: use generic SV_RejectConnection instead of directly sending errormsg
6 years ago
Alibek Omarov
3e4bd20919
engine: client: implement sending input devices list to server, using protinfo
6 years ago
Andrey Akhmichin
83953c7fb3
Port ip filter and partially useragent from old engine.
6 years ago
mittorn
40574d9be0
Network extensions
6 years ago
mittorn
23af5dcaf1
In-game fragment size setting
6 years ago
mittorn
a97d8c119b
network: enable new netsplit, netsplit size settings
6 years ago