Commit Graph

21826 Commits

Author SHA1 Message Date
Benau
acdf77baf9 Fix local game crash 2020-02-11 12:58:12 +08:00
Benau
e0f494abcd Allow server AI starting in a same process with client 2020-02-10 16:39:47 +08:00
Benau
92a11c075a Rename NetworkAITester to NetworkAIInstance for a proper name 2020-02-10 09:38:23 +08:00
David Carlier
c9c4149139 slighty less C code proposal 2020-02-08 16:59:25 +00:00
Benau
2cdd6cf754 Fix iOS compiler warning 2020-02-07 13:04:34 +08:00
Benau
ccc2ee1ea3 Add Xcode iOS cmake toolchain
It allows switching run target (iOS device or simulator) inside
Xcode without re-running cmake or changing dependencies files

App Icons can also be specified now
2020-02-07 13:02:07 +08:00
David Carlier
5e3881117d FreeBSD thread name support. 2020-02-06 19:00:02 +00:00
David Carlier
f464b95afb Build fix on *BSD.
dns resolution belongs to the libc on those systems.
2020-02-05 18:05:12 +00:00
Benau
43cf39bdef Allow getting server port with DNS txt record (stk-server-port=) 2020-02-06 00:46:38 +08:00
David Carlier
21cf075e41 FreeBSD build fix proposal. 2020-02-05 15:16:12 +00:00
Benau
99a5675abe Add UserDefinedServer class to allow saving the server name easier 2020-02-05 14:06:51 +08:00
Benau
54e09dbbf3 Enable logging in iOS default with a correct encoding 2020-02-05 12:23:21 +08:00
Benau
746f09a6d0 Use single tap in mobile STK for list widget 2020-02-05 12:12:24 +08:00
Benau
56fa8156d2 Clear NAT64 prefix in better places 2020-02-05 12:07:42 +08:00
Benau
d73022b3ad Set IP type manually in LAN refresh request
We don't need NAT64 address in LAN broadcast anyway
2020-02-05 11:37:05 +08:00
Benau
7c3b8adfc9 Fix convertForIPv6Socket regression since last commit 2020-02-05 11:16:25 +08:00
Benau
e9828b8ab3 Fix wrong IP detection in apple devices 2020-02-05 01:05:18 +08:00
jpenguin
4343dad28d
Update NETWORKING.md
Updated CentOS release file
2020-02-03 15:55:46 -08:00
Benau
f8bce05dd6 Fix crash caused by pop sorting with deleted message 2020-02-04 01:26:26 +08:00
Benau
d147291e2a Clean temp files when starting STK instead of exiting 2020-02-03 16:52:45 +08:00
Benau
5683ff7494 Fix sticking quit menu of kart selection screen 2020-02-03 16:40:08 +08:00
Benau
7ba8dfd0a0 Adjust size for some language 2020-02-03 16:11:09 +08:00
Benau
b816f94269 Add a continue button for multitouch device in kart selection 2020-02-03 15:31:25 +08:00
Benau
db95d2f88f Clean temp files manually in mobile STK 2020-02-03 09:39:43 +08:00
Benau
00c7bf561e Fix news manager assert error when exit too early 2020-02-03 01:27:17 +08:00
Benau
35463a12da Avoid possible infinite loop 2020-02-03 00:48:16 +08:00
Benau
0134e9c664 Update translation source 2020-02-02 16:46:05 +08:00
Benau
a079019bb2 Fix possible too long translation 2020-02-02 16:38:26 +08:00
Benau
26dbf67d53 Ask if user want to play tutorial when new profile is created 2020-02-02 16:32:57 +08:00
Benau
906dca1a94 Fix possible address family mismatch (found in android) 2020-02-02 10:52:19 +08:00
Benau
ecb31ad217 Use ipv4only.arpa to detect NAT64 prefix (RFC 7050) 2020-02-02 00:13:25 +08:00
Benau
4ad7e585f8 Remove duplicated code of getaddrinfo 2020-02-01 15:34:41 +08:00
Benau
ae2406d193 Don't print error message for IP detection in case of domain error 2020-02-01 14:48:58 +08:00
Benau
58f4579062 Use getMonoTimeMs() to avoid rand() return the same value in Windows 2020-02-01 14:15:44 +08:00
Benau
10a158db70 Use correct encoding for error message from getaddrinfo in Windows 2020-02-01 14:05:52 +08:00
Benau
33d228bb6d Clean up header files and remove unused class 2020-02-01 10:45:15 +08:00
Benau
23ad6f09a6 Clean up direct connection code with full IPv6 support 2020-02-01 09:30:40 +08:00
Benau
1e9dab821c Allow pre-set IP type in config.xml 2020-01-31 13:20:11 +08:00
Benau
ab315fab4e Remove firewall restriction for IPv6 in server documentation 2020-01-31 00:44:26 +08:00
Benau
17bf24c6d1 Avoid player score being reset if connection to stk addons is broken 2020-01-30 16:55:40 +08:00
Benau
652bf5480a Move port detection to Network class 2020-01-30 16:47:19 +08:00
Benau
e1188c5532 Fix non random client port (NetworkConfig initialized too early) 2020-01-30 11:30:54 +08:00
Benau
964757193b Avoid using IPv6 socket address in IPv4 socket
Also make reload the lan broadcast addresses each time to catch network change
2020-01-30 11:25:03 +08:00
Benau
86dae991e6 Fix SandboxViolation in iOS for IPv6 socket 2020-01-29 11:04:02 +08:00
Benau
0cb62803b2 Port stun address resolve to use SocketAddress 2020-01-29 01:24:38 +08:00
Benau
2c78625ef6 Allow print NAT64 address in IPv4 form for better debugging 2020-01-28 15:15:20 +08:00
Benau
40b0a6371e Allow port specified inside str for SocketAddress 2020-01-28 13:03:37 +08:00
Benau
61109f4aad Remove TransportAddress in most server code 2020-01-28 11:47:08 +08:00
Benau
05732c2e7d Only register server with a valid address 2020-01-28 01:26:12 +08:00
Benau
3d0ef44014 Fix android crash for inet_ntop 2020-01-27 15:48:49 +08:00