forked from mirror/OpenTTD
(svn r2106) -Fix: improved the network-join algoritm, it is now a bit more stable
-Add: added 'pause_on_join' and 'max_join_time' for MP games, where you can auto-pause the game when a client wants to join the game. This to avoid connection losses because of big maps (200+ trains). (with tnx to #openttdcoop for the ideas and testing)
This commit is contained in:
@@ -161,6 +161,9 @@ VARDEF char _network_server_name[NETWORK_NAME_LENGTH];
|
||||
VARDEF char _network_server_password[NETWORK_PASSWORD_LENGTH];
|
||||
VARDEF char _network_rcon_password[NETWORK_PASSWORD_LENGTH];
|
||||
|
||||
VARDEF uint16 _network_max_join_time; //! Time a client can max take to join
|
||||
VARDEF bool _network_pause_on_join; //! Pause the game when a client tries to join (more chance of succeeding join)
|
||||
|
||||
VARDEF uint16 _redirect_console_to_client;
|
||||
|
||||
VARDEF uint16 _network_sync_freq;
|
||||
|
Reference in New Issue
Block a user