310 Commits

Author SHA1 Message Date
Benau
0e4424b3ea Show message for back to lobby if needed 2019-01-02 12:44:18 +08:00
Benau
52a4bbeac7 Add player name and team arrows for live join kart 2019-01-02 10:34:23 +08:00
Benau
81776cb4df Let other players know the newly joined player 2019-01-01 16:32:37 +08:00
Benau
2f8da236e3 Add initial live join handling for the one who does it 2019-01-01 15:46:45 +08:00
Benau
2ceeabf882 Split kart assignment for live join 2018-12-31 14:05:21 +08:00
Benau
a4a60ae6f6 Separate load world message creation 2018-12-31 13:15:08 +08:00
Benau
5458fcea4e Simplify waiting players joining 2018-12-31 01:21:17 +08:00
Benau
d9f1d18d9b Use placeholder tux for reserved players 2018-12-30 16:37:13 +08:00
Benau
bd6264b3b0 Remove old method in GameSetup 2018-12-30 11:53:28 +08:00
Benau
50aa334912 Use new method to start game 2018-12-30 11:13:18 +08:00
Benau
9a4013843e Kick idling peers in server with new method 2018-12-29 16:10:41 +08:00
Benau
346f763cef Save grand prix scores in server with new method 2018-12-29 15:53:12 +08:00
Benau
43761e4d9e Use ServerConfig::m_max_ping for delaying server if supports live join
So any players having ping below that value can play the game smooth
2018-12-26 16:22:15 +08:00
Benau
d6946198c5 Make flag a rewinder
It remove the capturing delay and allow ctf in local splitscreen
2018-12-24 16:01:21 +08:00
Benau
e38edaae2c Move state frequency to ServerConfig which clients can adapt 2018-12-22 01:03:15 +08:00
Benau
a85dbcc0f7 Add the possibility to correct invalid reverse at server side 2018-12-21 21:55:55 +08:00
Benau
9029621b59 Use majority agreement for voting 2018-12-21 18:12:58 +08:00
Benau
7954b118a8 Use only official tracks for default vote
So network AI won't have trouble finishing some bad wip / addons tracks
2018-12-20 15:42:10 +08:00
Benau
6342e04fea Remove or adjust more invalid vote settings 2018-12-20 12:45:27 +08:00
Benau
a3a36e33a6 Clean up tracks screen and lobbies 2018-12-17 15:23:19 +08:00
hiker
0eca431627 Tried to fix compilation problems due to merging. 2018-12-16 02:36:16 +11:00
hiker
4269ac6294 Merge remote-tracking branch 'origin/master' into voting_gui 2018-12-16 02:06:50 +11:00
hiker
10bca0f334 End of voting now only is triggered when the voting time ends,
not when all votes have been received.
2018-12-16 01:36:52 +11:00
Benau
176af22c8d Add the framework for displaying estimated game started info 2018-12-14 19:22:59 +08:00
Benau
8f5ee309a8 Add live changing handicap 2018-12-13 16:36:16 +08:00
Benau
d1d4ba4422 Don't assume STKPeer exists with NetworkPlayerProfile
This is not true when disconnect happens at the same time
2018-12-13 14:14:33 +08:00
hiker
f01465fc93 Re-enable end of voting as soon as s vote from each player is received. 2018-12-10 09:14:52 +11:00
hiker
ed29c280b3 Added initial voting animation while loading the track. 2018-12-10 00:29:14 +11:00
Benau
66f7aea3bb Add online request to live update server config 2018-12-07 00:52:44 +08:00
Benau
7fa92366ed Make possible to remove disconnected player vote 2018-12-07 00:28:49 +08:00
Benau
a69db65c71 Reset extra server info each game for live changing 2018-12-06 14:52:28 +08:00
Benau
6be39f7ef8 Enable kick-idle-player-seconds only for WAN server 2018-12-06 01:14:01 +08:00
Benau
3d64340137 Add the framework in server lobby for live update config 2018-12-05 14:19:01 +08:00
Benau
72f1dc66cc Kick idle player which has no network activity to server 2018-12-05 11:12:44 +08:00
Benau
a7311238cf Warn high ping user earlier 2018-12-05 08:35:11 +08:00
hiker
edad214001 Allow the gui to be updates while loading a track, and use this
to show a simple (and still stuttering) animation while loading
a track,
2018-12-05 09:51:41 +11:00
hiker
d6d879d2ed Show votes in vote overview screen. This is NOT fully working,
and contains debug output.
2018-12-01 09:32:21 +11:00
hiker
e20d6a437a Removed debug code. 2018-11-28 08:17:21 +11:00
hiker
bd0641f12a Store voting data in lobby protocol so it is available on client
and server. Voting behaviour is now to start the race as soon as
all votes are in.
2018-11-28 08:13:59 +11:00
Benau
7d1e7df010 Merge remote-tracking branch 'origin/master' 2018-11-27 15:17:48 +08:00
Benau
9e066706aa Prevent clients removing too many official assets 2018-11-26 16:38:11 +08:00
Benau
dba713f72e Fix #3589 2018-11-26 11:55:43 +08:00
Benau
950695769c std::shuffle players list for randomized starting position 2018-11-25 16:12:39 +08:00
Benau
4c534dc28c Handle first-team assignment better when joining in the middle of game 2018-11-25 15:49:04 +08:00
Benau
689376dd0f Make FFA and CTF minor mode 2018-11-24 01:41:36 +08:00
Benau
e47a7b26a0 Add variation for tie vote instead of always from "less" one 2018-11-23 22:17:21 +08:00
hiker
65dc27a3c8 Removed earlier end of voting when majority agrees, but instead
start immediately when all votes are in.
2018-11-17 23:26:22 +11:00
Benau
e77eb2ccf6 Allow server owner to force soccer time / goal limits 2018-11-17 00:48:48 +08:00
Benau
f94e226e22 Add ready status to player icon 2018-11-16 20:56:21 +08:00
hiker
0da03e14ca Use a central timeout controller (in LobbyProtocol) to be used by
both client and server. Voting time now starts from the moment the
kart screen is shown (not on first player having finished voting).
Improved coding style.
2018-11-16 16:57:23 +11:00