Commit Graph

18794 Commits

Author SHA1 Message Date
Benau
b1ad185d50 Only trying to connect without aloha for WAN only
So the checking of lan direct socket handling in stk host will have
effect
2018-03-29 12:56:01 +08:00
Benau
1b0bf98766 Fix typo 2018-03-28 13:32:38 +08:00
Benau
01c1287900 Always remove kart selection screen to avoid setRootID -1 assertion 2018-03-27 16:19:30 +08:00
Benau
c6fa384d94 Fix uninitialized values and broken local kart selection if reenter 2018-03-27 15:44:19 +08:00
Benau
b75428e4e5 Use distance with km 2018-03-27 11:56:36 +08:00
Benau
ce8a15d90c Add online id with player name for easier banning 2018-03-27 01:23:54 +08:00
Benau
5eb436384f Remove commented out code 2018-03-27 01:15:12 +08:00
Benau
70def13ca2 Use a more sophiscated server-client token validation 2018-03-27 01:02:31 +08:00
Benau
c8dadf76f1 Remove LatencyProtocol now we have server distance and ping in lobby 2018-03-26 14:19:33 +08:00
Benau
a685d5c212 Adjust direct and formal connection timeout 2018-03-26 14:15:05 +08:00
Benau
b5ff84bd46 Further clean up create server screen 2018-03-26 12:37:06 +08:00
Benau
8db959a755 Fix server selection column proportion 2018-03-26 12:27:40 +08:00
auria.mg
ee57bbd6b4 As suggested by deveee, make the server creation screen more scalable. Also cleanup/simplify a bit 2018-03-25 18:10:44 -04:00
Benau
0e2112d7f0 Add server distance calculation 2018-03-26 02:11:04 +08:00
Benau
42e1873458 Fix possible null pointer dereference 2018-03-26 00:32:26 +08:00
Benau
946a902f98 Adjust server creation screen for 1280x720
And add some more game modes
2018-03-24 15:44:15 +08:00
Benau
85895074aa Merge branch 'origin/master' 2018-03-24 09:31:06 +08:00
auria.mg
75c1739ff2 GUI tweaks 2018-03-23 20:38:16 -04:00
Benau
c3ea7f1088 Ignore the first 15 seconds for ping result 2018-03-24 08:20:27 +08:00
Benau
076fb3273f Add 1500ms timeout for direct connection to wan server
This way player can instantly connect to firewall-less server
without waiting for polling in stk addons server
2018-03-24 00:53:42 +08:00
Benau
025ca63df0 Display ping to server in lobby 2018-03-23 22:19:44 +08:00
Benau
1e2cb2dc4a Fix clang screen.hpp warning 2018-03-23 20:20:09 +08:00
Benau
3ee3d8d5bd Randomly use stun servers of the low ping from top-half of the list 2018-03-23 18:51:26 +08:00
Benau
52dc38d03b Use human readable ip for ban list
And update MapUserConfigParam to use initializer_list default value
2018-03-23 17:22:03 +08:00
Benau
e5c66d541b Hide friend request button if already made friend 2018-03-23 15:00:19 +08:00
Benau
dac7158ce0 Show WAN server owner if it's localhost or friends' 2018-03-23 13:41:07 +08:00
Benau
61b6389764 Use crown icon for server owner 2018-03-23 10:08:48 +08:00
Benau
ef15a1881c Better default focus for network dialog 2018-03-23 10:06:04 +08:00
auria.mg
2cabf3594f GUI bugfix 2018-03-22 20:55:23 -04:00
Benau
449365b5b6 Let server take splitscreen players into account for max players 2018-03-22 15:09:52 +08:00
Benau
0599e8c0d7 Fix broken network kart selection for some keyboard configuration 2018-03-22 14:53:29 +08:00
Benau
d8b68a2cbc Remove guest account in network splitscreen 2018-03-22 14:43:16 +08:00
Benau
ebadc84945 Fix assertion when going back fron network to normal kart selection screen 2018-03-22 13:26:44 +08:00
Benau
c026261e0f Improve splitscreen dialog for easier adding 2018-03-22 12:52:37 +08:00
Benau
1b4caa36af Use a better wording 2018-03-22 11:43:09 +08:00
Benau
e9c956b357 Fix possible crash in network splitscreen lobby 2018-03-22 11:42:40 +08:00
Deve
be037781b8 Tweak screen keyboard layout 2018-03-21 23:06:15 +01:00
Benau
152dfe7c55 Add toggling of network splitscreen in online menu 2018-03-22 01:38:29 +08:00
Benau
6fca802c8e Add network split screen kart selection 2018-03-21 15:41:44 +08:00
Benau
e63124ea3e Rename stun list to avoid conflicts with old config 2018-03-21 10:48:37 +08:00
auria.mg
41cd33ce55 Fix Wrong Way message, fixes #3159 2018-03-20 20:05:34 -04:00
Alayan-stk-2
a27dd674a0 Change camera view in debug to the previous/next kart (#3158)
* Change camera view from one kart to the previous/next with F5-6 keys or with menu buttons

* Simplify code

The kart_num/real_num distinction was part of the base code Benau did ; but it is completely redundant after the changes I did to the way kart_num is calculated (it was previously a static int, it's now an unsigned int).
2018-03-20 19:39:18 -04:00
Deve
db3399500f Better scaling initial android dialog 2018-03-20 21:38:06 +01:00
Deve
0471202c9c Fixed stupid isAccelerometerActive condition 2018-03-20 20:55:26 +01:00
Benau
4379244f3e Adjust based on auria's feedback 2018-03-20 14:56:17 +08:00
Benau
dd3a544834 Use std atomic for timeout 2018-03-20 09:59:14 +08:00
Alayan-stk-2
1dedd915ad Update the track list and reorder it to alphabetic order (#3154) 2018-03-19 20:50:31 -04:00
Benau
e58d86d4d5 Merge branch 'origin/game_protocol' 2018-03-20 08:32:45 +08:00
hiker
e1a2f68073 Fixed warning. 2018-03-20 10:25:06 +11:00
Deve
193ba6909f Represet special keys on screen keyboard by symbols 2018-03-20 00:10:13 +01:00