The "LibXmlRpc_OnRespawn" callback sends more info : player login, block id, checkpoint in race, checkpoint in lap, number of respawn.
New XmlRpc callback "LibXmlRpc_OnStartCountDown" sent when the player is spawned on the track before the 3,2,1,GO!.
Replaced all calls to the Mode library "sync" functions by the same call to the new "async" function from ModeBase. It solves XmlRpc problems where call to the TriggerModeScriptEvent and TriggerModeScriptEventArray methods were ignored if they were sent a few milliseconds after map beginning/ending (during ladder communication with the master server especially).
Merge branch 'master' into Test
Merge branch 'master' into Test
Added the "TotalScores" of the teams to the LibXmlRpc_TeamsScores callback to fix the same problem than on the LibXmlRpc_PlayerRanking callback.
Merge branch 'master' into Test
Fix : use the correct ScriptName constant.
Now "TeamAttack.Script.txt" instead of "TimeAttack.Script.txt".
http://forum.maniaplanet.com/viewtopic.php?p=221874#p221874
Fix : the time attack mode now sends the "LibXmlRpc_BeginWarmUp" callback at the beginning of the warm up and "LibXmlRpc_EndWarmUp" at the end.
Additionally it also sends all events callbacks during the warm up (eg: "LibXmlRpc_OnStartLine", "OnWayPoint", etc).
http://forum.maniaplanet.com/viewtopic.php?p=221954#p221954
New library allowing to vote for the next map.
The library displays a list of all the maps available on the server. Each player can vote for one map. Several players can vote for the same map. When the vote timer reach 0. Each map with at least one vote is put into a pool. If a map has several votes, it's put several times into the pool. The library will then select a random map inside the pool and set it as the next map.
Add a name to the manialink that will be displayed in the debugger.
Removed an unused global.
Matchmaking enhancements : vote map, rematch and progressive matchmaking.
The setting "S_NbPlayersPerTeam" is replaced by "S_NbPlayersPerTeamMax".
New setting "S_NbPlayersPerTeamMin".
"S_NbPlayersPerTeamMin" and "S_NbPlayersPerTeamMax" allow to setup the minimum and maximum number of players in a team in matchmaking.
New rematch feature. At the end of a match the players can vote to play another one with the same people. If enough players agree a new match starts on the same server without going through the lobby again.
New vote map feature. At the start of the match and at the end of each map the players can vote for the next map. Each player can vote for one map, all the maps that receive a vote are placed in a pool. If a map have several votes, it will be placed the same number of time in the pool. Then one map is chosen randomly in the pool to be the next one.
New progressive matchmaking. When there's not enough players on the lobby, the matchmaking can start a match with less players and then send substitute to complete the match line up. Eg: 5vs5 Siege need 10 players on the lobby. With progressive matchmaking, the lobby can start a match with only 4 players. Then this match will receive substitutes from the lobby until there's 10 players.
The matchmaking function is now ran much more frequently, every 10 seconds instead of 40 seconds.
The players connection maximum waiting time when joining the match server is reduced to 20 seconds (it was 60 seconds before the update).
The animation of the gauge in the lobby is smoother.

New version of the matchmaking api. The S_MatchmakingAPIUrl setting value is now "https://matchmaking.maniaplanet.com/v6".
New setting S_MatchmakingRematchRatio, set the minimum ratio of players that have to agree to play a rematch before launching one. The value range from 0.0 to 1.0. Any negative value turn off the rematch vote. The default value is -1.0.
New setting S_MatchmakingRematchNbMax, set the maximum number of consecutive rematch. The default value is 2.
New setting S_MatchmakingVoteForMap, allow or not to vote for the next map. The default value is False.
New setting S_MatchmakingProgressive, enable or disable the progressive matchmaking. The default value is False.
Setting S_LobbyTimePerRound is removed and replaced by the S_LobbyMatchmakerTime and S_LobbyMatchmakerWait settings.
Setting S_LobbyMatchmakerTime set the duration of the versus screen display. The default value is 8 (it was 10 before the update).
Setting S_LobbyMatchmakerWait set the waiting time before calling the matchmaking function again. The default value is 2. So in the end the matchamking runs every (S_LobbyMatchmakerTime + S_LobbyMatchmakerWait) seconds -> 10 seconds by default.
New setting S_LobbyMatchmakerPerRound, set how many times the matchmaking function is called before ending the current round of King of the Lobby. The default value is 6.
Fix : the gauge don't increase continuously until map change under certain conditions anymore.
Rewrite of the script animating the gauge. Added an easing and a sound on the animation.
Matchmaking enhancements : vote map, rematch and progressive matchmaking.
Setting "S_NbPlayersPerTeam" is replaced by "S_NbPlayersPerTeamMax".
New setting "S_NbPlayersPerTeamMin".
"S_NbPlayersPerTeamMin" and "S_NbPlayersPerTeamMax" controls the maximum and minimum number of players a clan must have in matchmaking.
Setting "S_GameplayVersion" is removed. Elite now uses the same gameplay version that the other game modes.
Matchmaking enhancement : progressive matchmaking.
Display the matchmaking match id in the top left corner of the screen of the scores table.
Setting "S_RequiredPlayersNb" replaced by "S_NbPlayersPerTeamMax", default value is 3.
New setting "S_NbPlayersPerTeamMin", default value is 2.
"S_NbPlayersPerTeamMax" and "S_NbPlayersPerTeamMin"  allow to setup the maximum and minimum number of players per team in matchmaking.
Rename the "S_RequiredPlayersNb" setting into "S_NbPlayersPerTeamMax" to match the one in the Elite script.
Matchmaking enhancement : rematch and vote map.
The duration of the podium sequence at the end of the match is not shorten by the S_QuickMode setting anymore.
Setting "S_RequiredPlayersNb" renamed into "S_NbPlayersPerTeamMax" to match the change in the Elite script.
Each checkpoint can now be associated with one, two or three gates instead of being forced at two.
There is 45 seconds to capture all the checkpoint's gates. A bonus of 10 seconds is awarded when capturing a gate.
The capture time of the gates is equal to 4.5 seconds divided by the number of gates at the checkpoints. eg: 3 gates -> 1.5 seconds each, 2 gates -> 2.25 seconds each, 1 gate -> 4.5 second.
Only 2 ammo instead of 4 for the Rocket in attack. [see](http://forum.maniaplanet.com/viewtopic.php?p=219700#p219700)
Play a sound only on attacker elimination instead of a different sound for defender and attacker elimination. [see](http://forum.maniaplanet.com/viewtopic.php?p=219700#p219700)
New setting S_WeaponMode. It can take one of these values : 0 -> Rocket versus Laser, 1 -> select your weapon before the turn, 2 -> switch weapon during the turn. Default value is 2.
New setting S_GatesStopDefenders. Select if players can walk through gates or not. Default value is True, so defenders can't go through gates anymore. [see](http://forum.maniaplanet.com/viewtopic.php?p=219700#p219700)
It's now possible to move/hide some parts of the UI by pressing F8. It's also possible to hide/show the gates/spawn markers this way. [see](http://forum.maniaplanet.com/viewtopic.php?p=219700#p219700)
The small scores header at the top of the screen now displays the number of players remaining in each team instead of the number of checkpoints captured.
Fix : when using the old capture mode, capture time won't be divided by the number of gates at the checkpoint.
New setting S_AtkNbIncreaseCaptureSpeed. Select if the number of attackers on the gate increase the capture speed. It's now turned off by default.
Fix : If a spectator was on the server at the beginning of the turn he could later join the ongoing round with 1 armor point. It's not the case anymore.
Fix : Weapon was saved only at the end of the round and loaded after each respawn. Now weapon is saved as soon as the player change it.