LP
f295e67b9f
Add multiplayer event logging
4 months ago
staphen
7bb5ec2ba6
Improve error messages when joining ZT games
4 months ago
staphen
83b8cb0635
Improve ZeroTier protocol error messages
4 months ago
staphen
3247b00a64
Add latency data to ZT public game descriptions
4 months ago
staphen
93ffc209bc
Fix some bugs during the ZT handshake process
4 months ago
staphen
7564bd0fcb
Introduce DvlNet function to read latency data from providers
4 months ago
Gleb Mazovetskiy
88f706e0d1
SDL3: Add some backports / compat helpers
5 months ago
staphen
3c188fb9dd
Check if peers are ready before sending info request
9 months ago
Gleb Mazovetskiy
a49b1f2d58
Extract Is{Any,None}Of out of engine.hpp
...
Untangles some of the dependencies
1 year ago
Gleb Mazovetskiy
164ebb46bd
Big-endian networking fixes
1 year ago
Gleb Mazovetskiy
31c28e719a
Avoid `strnlen`
...
`strnlen` is not available on some platforms, such as macOS 10.4.
1 year ago
Gleb Mazovetskiy
6180d3dd3d
Reduce map lookups in dvlnet
2 years ago
Gleb Mazovetskiy
730c26a856
Migrate maps to unordered maps
2 years ago
staphen
78eb3c7fe9
Parse TCP host using hostname:port format
2 years ago
Gleb Mazovetskiy
e5c7f0f174
Only enable exceptions for builds with ZeroTier ( #6824 )
...
Co-authored-by: staphen <staphen@gmail.com>
2 years ago
staphen
a23119ae1c
Get rid of protocol_exception
2 years ago
staphen
9d34cb2795
Remove frame queue exceptions from the network layer
3 years ago
staphen
13b5fb82fa
Build ASIO without exceptions
3 years ago
Gleb Mazovetskiy
4d0341afb5
net: Replace `packet_exception` with `tl::expected`
...
The network code still has ways to go to get rid of exceptions,
this is but a small first step.
Co-authored-by: Stephen C. Wills <staphen@gmail.com>
3 years ago
Gleb Mazovetskiy
cf925d1edc
Replace tuples with structs
...
Structs are more readable because the fields have names.
3 years ago
Gleb Mazovetskiy
5355146d51
Use structured bindings
3 years ago
Anders Jenbo
1a633c5627
Reject games info of unexpected size ( #5646 )
3 years ago
Gleb Mazovetskiy
188dc79f6e
Make `Players` a vector
4 years ago
Mikołaj Piróg
dda0b96ea5
Remove #defines in player.h and add constexpr where applicable ( #4896 )
...
* Change defines to constexpr int in player.h
* Add const or constexpr to player.h/cpp where applicable
* Update tests with changed names of player constatns
* remove unecessary variable
4 years ago
Kalebe Alves
4130c37d17
Enforce override virtual methods
4 years ago
staphen
dcfd057200
Add two-way handshake between ZeroTier peers
4 years ago
staphen
b14fda976f
Fix IsGameHost() function for ZeroTier
4 years ago
Stephen C. Wills
ef1821ce57
Apply sequence number to net turns ( #4122 )
4 years ago
staphen
16f82226eb
[ZeroTier] Send PT_CONNECT to all players when new player joins
4 years ago
staphen
3b3419d519
Treat firstpeer as a recognized source of packets
4 years ago
staphen
e877a8ff0a
Filter out ZeroTier packets that do not come from an expected source
4 years ago
obligaron
1f7b0607a6
public game browsing: show difficulty, speed, players and possible incompatibility
4 years ago
obligaron
0888546d62
Make DvlNet_SendInfoRequest non blocking
4 years ago
Gleb Mazovetskiy
7e1fea6f76
clang-format all files in {Source,test}/
...
Also includes a few manual tweaks to comments and newlines for better results.
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
4 years ago
Anders Jenbo
f0cc7adbdf
Show error dialog when ZeroTier fails
...
Fixes #2708
4 years ago
staphen
b332656f28
Fix ZeroTier crash when handling invalid packet
4 years ago
staphen
ffbbcc6d62
Support unencrypted multiplayer games with no password
4 years ago
Anders Jenbo
ae90193136
Game discovery over ZeroTier
4 years ago
Anders Jenbo
2ca6e37c46
Clean up sub folders using clang-tidy/Android Studio
5 years ago
Anders Jenbo
96bf75b502
Rename player globals
5 years ago
Xadhoom
b4f2beed6d
Network fixes suggested by glebm
5 years ago
Xadhoom
6c4bad0af1
ZeroTier networking fixes
5 years ago
Jmgr
1b7e0d2cb3
Migrate existing log entries
5 years ago
Anders Jenbo
5fdb9ce459
🎨 Format code
5 years ago
Anders Jenbo
8c821e98d3
🚚 Restructure files
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
Anders Jenbo
67a7ff98c5
🚨 Clean up compiler warnings
5 years ago
Xadhoom
867dd96a73
Add ZeroTier support
5 years ago