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
Benau
e5925a53b7
Use the network timer synchronizer to start game
2018-08-27 09:16:35 +08:00
Benau
73c264df94
Add support for CTF map
2018-08-16 02:09:44 +08:00
Benau
03728708cd
Rename soccer team to kart team for CTF
2018-08-15 15:13:55 +08:00
Benau
6369256022
Reset rewinding manager at each online or offline game
2018-07-24 14:18:43 +08:00
Benau
06bcb13590
Allow changing soccer team in lan or private servers
2018-07-14 15:16:54 +08:00
Benau
23e5dace40
Allow starting soccer mode in network with goals limit
2018-07-13 21:29:26 +08:00
Benau
4653089d95
Add ranked server for validated player
2018-06-04 01:19:27 +08:00
Benau
448ad5abcf
Clean up network local player handling
2018-04-21 16:32:43 +08:00
Benau
d55d5d0f3f
Get local player id from server for GP sorting later
2018-04-20 19:10:40 +08:00
Benau
e5c991e3d2
Merge remote-tracking branch 'origin/master' into kobato
2018-04-20 13:03:34 +08:00
Benau
b6caf00bfc
Stop race event manager if exiting lobby
2018-04-20 12:19:58 +08:00
Benau
93d1b9136d
Clean all previous AI if exists in offline game
2018-04-20 12:19:58 +08:00
hiker
969f938dce
Avoid an assertion error if previously a local race with AI
...
was done (then #ai karts + player karts != num_karts in
race manager).
2018-04-19 17:44:38 +10:00
Benau
47a86cc36f
Add initial support for GP and soccer info in lobby
2018-03-31 01:19:23 +08:00
Benau
c8dadf76f1
Remove LatencyProtocol now we have server distance and ping in lobby
2018-03-26 14:19:33 +08:00
Benau
78ac3a922d
Fix compiler warnings
2018-03-16 19:06:20 +08:00
Benau
82be7572a1
Use the new method to connect / start game
2018-03-16 17:11:23 +08:00
Benau
a5c1dbb446
Move voting to server lobby
2018-03-16 14:36:11 +08:00
Benau
1b8d4c80dc
Initial work to port network profile to use weak_ptr
2018-03-14 15:48:02 +08:00
Benau
0a5c1a69c7
Use shared_ptr for protocol to avoid leaking
...
With weak_ptr it's also possible to auto clear LobbyProtocol when
STKHost is shutdown
2018-02-18 12:39:05 +08:00
Benau
05f7c014dd
Create a prototype for thread-safe protocol manager
...
Using weak and shared_ptr, if !lock(), than it was atomtically
destroyed
2018-02-15 16:47:04 +08:00
hiker
17751631f1
Protocol data structure uses now finer grained locks, avoiding that
...
asynchronous updates or event delivery can be delayed by synchronous
updates/event deliveries to a different protocol.
2017-02-15 09:57:38 +11:00
hiker
77c14152c2
The server now uses the RewindManager to receive network events
...
and takes the kart input from this queue of events.
2016-12-15 08:12:04 +11:00
hiker
04d1d4817a
Removed KartUpdate protocol (which breakes online play).
2016-12-09 09:00:20 +11:00
hiker
4d065f67e6
Started to introduce GameProtocol (which will combine several
...
individual protocols.
2016-12-09 08:55:06 +11:00
hiker
de0f153f0c
Renamted SynchronizationProtocol to LatencyProtocol.
2016-11-28 08:45:17 +11:00
hiker
6053ad207f
Don't use the SynchronisationProtocol for startup state changes at all.
...
It is now totally optional, and only estimates the latency between the
server and all clients (and this value is not even used).
2016-11-25 22:17:24 +11:00
hiker
b1afac23a7
Moved creation of the race protocols into lobby, so SynchronizationProtocol
...
is not involved in the race start anymore.
2016-11-24 08:56:30 +11:00
hiker
62da83317e
Fixedc compilation, renamed LobbyRoomProtocol to LobbyProtocol.
2016-11-23 18:39:59 +11:00
hiker
026e1623ec
Renamed ServerLobbyRoomProtocol to just ServerLobby, ClientLobbyRoomProtocol
...
to ClientLobby, and LobbyRoomProtocol to Lobbyprotocol.
2016-11-23 09:39:33 +11:00