331 Commits

Author SHA1 Message Date
Benau
06b11056c8 Add kick player command 2019-12-06 12:35:45 +08:00
Benau
2cbf6b732e Make the live join ticks more correct 2019-12-06 12:11:28 +08:00
Benau
5aad3f1775 Don't assume command line values are always ascii
In case someone put unicode folder inside addons
2019-12-04 09:10:01 +08:00
Benau
d6654637bc Fix typo 2019-12-04 08:51:33 +08:00
Benau
97be595725 Add player addons scores info 2019-12-03 16:40:48 +08:00
Benau
01ec6e3c4d Add server addon checker 2019-12-03 16:02:51 +08:00
Benau
f470ab7f44 Add player addon checker 2019-12-03 15:32:06 +08:00
Benau
1c82f5fd7e Rewrite addon loading in ServerLobby for addons directory
So as long as they are in addons/karts or addons/tracks, they can be
used no matter what group they belong
2019-12-03 13:46:30 +08:00
Benau
7c83a4f9f3 Reserve language info for translation 2019-12-03 12:55:41 +08:00
Benau
6d3bb566be Allow listing server addons 2019-12-03 10:26:01 +08:00
Benau
4cb3383c4a Remove the unneeded manage memory option in request 2019-12-01 01:19:51 +08:00
Benau
89d35f09fa Replace observeExistence with std::weak_ptr of Request 2019-11-30 16:25:21 +08:00
Benau
13975cc5db Use std::shared_ptr for Request to avoid leaking 2019-11-30 16:01:31 +08:00
Benau
e450968bef Fix race condition when user installs addons live in lobby 2019-11-30 13:10:33 +08:00
Benau
a962954c5e Allow install addons live in lobby 2019-11-30 02:03:56 +08:00
Benau
13da9bb9c7 Load database with full path for installed stk 2019-11-26 12:01:11 +08:00
Alayan
9647dea346 Fix #3714 2019-11-07 22:24:13 +01:00
Benau
42d341a925 Split stk version and os string to 2 columns for better statistic purpose 2019-11-08 01:17:27 +08:00
Benau
0f9688f5da Disable possible blocking writing to log and console for starting timer 2019-11-07 12:20:37 +08:00
Benau
a8fdd98a0e Add a high ping workaround in server
This will allow around ping with 400ms to have a playable game with
the default values of max-ping and jitter-tolerance, as long as the
internet connection is stable (no packet loss)
2019-10-31 11:36:03 +08:00
Benau
1904e37ff1 Add mean packet loss info of peers to database 2019-10-27 23:43:51 +08:00
Alayan
50988c6c60 Fix #3687 2019-10-26 02:28:42 +02:00
Benau
04dd5a8bfb Add IPv6 ban table 2019-10-25 12:44:50 +08:00
Benau
0217eaf173 Add sqlite function for ipv6 cidr testing 2019-10-25 09:20:36 +08:00
Benau
958868526f Allow live kicking from ban list 2019-10-23 14:42:22 +08:00
Benau
a5e5b20a19 Fix #3875 2019-10-23 13:34:52 +08:00
Benau
1625d55de5 Reset AI peer for empty server 2019-10-17 12:18:11 +08:00
Benau
3b75740163 Check peer first to avoid crash 2019-10-16 10:43:36 +08:00
Benau
11897da80c Don't kick ai peer for idling 2019-10-16 01:16:45 +08:00
Benau
843ca083d5 Fix empty player count when resetting server 2019-10-15 19:15:22 +08:00
Benau
cf412c947c Show player count with AI in server browser 2019-10-15 16:28:48 +08:00
Benau
1614868b5d Add AI handling for online racing games 2019-10-15 16:19:30 +08:00
Benau
396e55a39d Show android robot icon for bots in lobby 2019-10-09 15:28:09 +08:00
Benau
a26f67bf16 Allow using AI in lan racing game 2019-10-09 14:08:22 +08:00
riso
0e4f875443 Clean IPV4/ipv4 to IPv4, IPV6/ipv6 to IPv6 2019-09-03 14:24:03 -05:00
Benau
58ad947443 Add IPV6 support to stats database 2019-08-23 11:01:00 +08:00
Benau
7becfb311d Use more real address in server 2019-08-21 10:46:04 +08:00
Benau
3f0db672d6 Allow getting public IPV6 address with STUN for server 2019-08-20 00:54:13 +08:00
Benau
88adfbc8df Limit chat to 1000 characters 2019-08-11 02:11:48 +08:00
Benau
5ac5932d3a Allow specifying database waiting timeout 2019-07-08 00:26:11 +08:00
Benau
275dbe3631 Show country flag in soccer if client supports 2019-06-16 15:25:53 +08:00
Benau
a56343b7e3 Clean up headers
Remove special RTL handling as it will be done when texting shaping
2019-06-15 13:52:28 +08:00
Benau
86bc8bd877 Add country code info to submit ranking 2019-05-14 01:04:20 +08:00
Benau
7ee774118b Move validation checking to sendPacketToAllPeersWith 2019-05-13 15:41:15 +08:00
Benau
bb65ba927e Always discard unknown synchronous message instead of keeping it
Synchronous message can only be EVENT_TYPE_MESSAGE anyway
2019-05-13 14:02:04 +08:00
Benau
fff6c1d51f Add success status to player who reports 2019-05-13 13:25:43 +08:00
Benau
5b6b38346c Clean up protocol manager 2019-05-13 12:02:21 +08:00
Benau
d7bffa4ade Check again for max players if it's pending connection
Should fix #3874
2019-05-12 13:39:16 +08:00
Benau
4fe2fc5f58 Add last session player info if sqlite supports window functions 2019-05-12 13:04:43 +08:00
Benau
21322fdf9e Allow showing full country info in views 2019-05-11 10:16:38 +08:00