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
|
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
|
449365b5b6
|
Let server take splitscreen players into account for max players
|
2018-03-22 15:09:52 +08:00 |
|
Benau
|
dd3a544834
|
Use std atomic for timeout
|
2018-03-20 09:59:14 +08:00 |
|
Benau
|
e58d86d4d5
|
Merge branch 'origin/game_protocol'
|
2018-03-20 08:32:45 +08:00 |
|
hiker
|
c456edd9f2
|
Convert more time handling to handling ticks.
|
2018-03-20 09:25:39 +11:00 |
|
Benau
|
cfd1de43bb
|
Display all votes in the RHS of tracks screen
|
2018-03-19 15:08:38 +08:00 |
|
Benau
|
bb7c3c0de3
|
Move voting timeout to user config
|
2018-03-16 21:49:14 +08:00 |
|
Benau
|
1a852b7f22
|
configRemoteKart needs to include the random kart
|
2018-03-16 21:32:12 +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
|
d6936c5746
|
Add remaining time to vote message
|
2018-03-16 12:45:38 +08:00 |
|
Benau
|
cf898c2795
|
Remove waiting for other screen now that you can instantly know votes
|
2018-03-16 11:35:16 +08:00 |
|
Benau
|
f78276a930
|
Show player vote in message queue for immediate effect
|
2018-03-16 00:54:02 +08:00 |
|
Benau
|
1b8d4c80dc
|
Initial work to port network profile to use weak_ptr
|
2018-03-14 15:48:02 +08:00 |
|
hiker
|
d3a60356c9
|
Merge remote-tracking branch 'origin/fix-timestep' into game_protocol.
Started to use ticks instead of time floating point values in networking.
|
2018-03-13 18:37:12 +11:00 |
|
Benau
|
c73536263f
|
Add password protected and version info to server
|
2018-03-13 14:39:20 +08:00 |
|
Benau
|
0f6dbbb4a0
|
Add default-disabled lobby chatting
|
2018-03-12 16:51:30 +08:00 |
|
Benau
|
25da48634d
|
Add kick ban in network console configurable in config.xml
|
2018-03-12 13:59:38 +08:00 |
|
Benau
|
d527c0eee2
|
Use icon to identify server owner, online and offline players
Also hide the friend request button for offline players
|
2018-03-12 11:28:13 +08:00 |
|
Benau
|
95208967cf
|
Add kicking player for server owner
|
2018-03-12 02:05:38 +08:00 |
|
Benau
|
3bbec8aa27
|
Initial work on lobby redesign
|
2018-03-12 00:18:53 +08:00 |
|
Benau
|
5600d01b2c
|
Use shared_ptr of STKPeer if needed
|
2018-03-09 23:54:13 +08:00 |
|
Benau
|
dd2e32a953
|
Implement a thread-safe list of STKPeer
Block re-connect from the same ip and port and clean up add or
remove of peers
|
2018-03-09 18:33:19 +08:00 |
|
Benau
|
db68756fd6
|
Use mutex to prevent joining of players when start selection
|
2018-03-09 09:22:13 +08:00 |
|
Benau
|
0b00640760
|
Let stk host clean up server id file
|
2018-03-08 12:00:36 +08:00 |
|
Benau
|
efa294d4f4
|
Clean up lan and wan server code
|
2018-03-02 15:21:27 +08:00 |
|
Benau
|
13d4cc50cf
|
Use server id file to determine the status of no-graphics server
|
2018-02-28 16:09:53 +08:00 |
|
Benau
|
e760642842
|
Use NetworkConfig to set user id and token
|
2018-02-28 15:29:40 +08:00 |
|
Benau
|
4ac34fac76
|
Don't register LAN server
|
2018-02-27 12:56:22 +08:00 |
|
Benau
|
d8007c4518
|
Update server for new xml code
And initial work for starting a complete stk server
|
2018-02-26 14:23:34 +08:00 |
|
Benau
|
b26b784b6a
|
Various improvements to WAN and LAN connection
|
2018-02-24 15:48:30 +08:00 |
|
Benau
|
1023e6580e
|
Unregister STK server when exiting
|
2018-02-23 14:01:20 +08:00 |
|
Benau
|
4559fd6a2c
|
Remove unused protocol
|
2018-02-22 15:14:15 +08:00 |
|
Benau
|
1458f3ef8e
|
Fix wan connection, move get public address from stun to stk host
|
2018-02-22 15:11:07 +08:00 |
|
Benau
|
14b401b54e
|
Use std atomic for server state
|
2018-02-20 11:14:57 +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 |
|
Benau
|
3d8efcdfa1
|
Use >= for counter in case of some peer disconnect in between for completing race end
|
2018-02-15 15:33:18 +08:00 |
|
Benau
|
469f7d2fc5
|
Drop player if he has incompatible karts / tracks
|
2018-02-14 12:23:05 +08:00 |
|
Benau
|
8a1ef31f4a
|
Allow remove unusable karts or tracks in network game
|
2018-02-14 01:57:05 +08:00 |
|
Benau
|
46416781fa
|
Make it possible to restart race after going back to lobby
At the moment the token is reset by client after each restart
|
2018-02-13 15:20:55 +08:00 |
|
hiker
|
34af963cc1
|
Fixed incorrect server-start-delay (caused by the start delay
being delivered in a different thread, so adding DT in the main
thread was not the right time step).
|
2017-05-29 15:08:32 +10: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
|
d8706e2319
|
Added log message when server starts a race on clients.
|
2017-01-30 09:29:58 +11:00 |
|
hiker
|
b8bf4a3c2e
|
Fixed documentation.
|
2017-01-24 08:35:15 +11:00 |
|
hiker
|
6941317979
|
Increase server delay to reduce number of rewinds on server.
|
2017-01-04 09:50:43 +11:00 |
|