Skip to content

2017-04-11

Choose a tag to compare

@Aessi Aessi released this 11 Apr 10:51
· 9 commits to master since this release

You need to update the Combo title and the dedicated server scripts (replace the ones in the GameData folder).

Diff from previous version

New callbacks

  • Maniaplanet.Mode.UseTeams
    Used in tandem with the new Maniaplanet.Mode.GetUseTeams method. It allows the user to check if the game mode uses teams or not (value of UseClans from the script)
  • Maniaplanet.Pause.Status
    Used in tandem with the new Maniaplanet.Pause.GetStatus method. It allows the user to check the status of the pause system in the game mode.

Updated callbacks

  • XmlRpc.ApiVersion
    The "version" value was not properly escaped which caused the JSON payload to be malformed sometimes.
  • Maniaplanet.StartServer_Start
  • Maniaplanet.StartServer_End
  • Maniaplanet.StartMatch_Start
  • Maniaplanet.StartMatch_End
  • Maniaplanet.StartMap_Start
  • Maniaplanet.StartMap_End
  • Maniaplanet.StartRound_Start
  • Maniaplanet.StartRound_End
  • Maniaplanet.StartTurn_Start
  • Maniaplanet.StartTurn_End
  • Maniaplanet.StartPlayLoop
  • Maniaplanet.EndPlayLoop
  • Maniaplanet.EndTurn_Start
  • Maniaplanet.EndTurn_End
  • Maniaplanet.EndRound_Start
  • Maniaplanet.EndRound_End
  • Maniaplanet.EndMap_Start
  • Maniaplanet.EndMap_End
  • Maniaplanet.EndMatch_Start
  • Maniaplanet.EndMatch_End
  • Maniaplanet.EndServer_Start
  • Maniaplanet.EndServer_End
  • Maniaplanet.LoadingMap_Start
  • Maniaplanet.LoadingMap_End
  • Maniaplanet.UnloadingMap_Start
  • Maniaplanet.UnloadingMap_End
  • Maniaplanet.Podium_Start
  • Maniaplanet.Podium_End
    All these callbacks now have a "time" property inside the JSON payload that gives the server time (value of Now from the script) at the time of the sending.
  • Maniaplanet.StartMap_Start
  • Maniaplanet.StartMap_End
    New "restarted" property in the JSON payload that allows the user to know if the map was restarted or not.
  • Maniaplanet.EndPlayLoop
    This callback was sent two times instead of one. Once before EndTurn_Start which is correct, but also a second time before EndRound_Start, it is not the case anymore.
  • Maniaplanet.WarmUp.Status
    New "available" property in the JSON payload that allows the user to know if the game mode includes a warmup system or not.
  • Shootmania.Event.OnHit
    New "points" and "distance" properties in the JSON payload.
  • Shootmania.Event.OnArmorEmpty
    New "distance" property in the JSON payload.
  • Shootmania.Event.OnPlayerRequestActionChange
    Fix callback documentation that stated that the "actionchange" property was a string. It is an integer. The value was correct in the callback.
  • Shootmania.Scores
    Fix callback documentation that gave an id of 0 to the two teams. Left team has id 0 and right has id 1 now. The value was correct in the callback.
    Add a "matchpoints" property to the players' scores in the JSON payload.
  • Shootmania.UIProperties -> Shootmania.UI.Properties
    The Shootmania.UIProperties callback was renamed to Shootmania.UI.Properties to match its Trackmania equivalent.
    The callback now returns a third value that are the UI properties in JSON format.
  • Trackmania.Scores
    Fix callback documentation that gave an id of 0 to the two teams. Left team has id 0 and right has id 1 now. The value was correct in the callback.
    Trackmania.UI.Properties
    The callback now returns a third value that are the UI properties in JSON format.

Removed callbacks

  • Shootmania.Combo.Pause
    Replaced by the Maniaplanet.Pause.Status callback.

New methods

  • Maniaplanet.Mode.GetUseTeams
    Used in tandem with the new Maniaplanet.Mode.UseTeams callback. It allows the user to check if the game mode uses teams or not (value of UseClans from the script)
  • Maniaplanet.Pause.GetStatus
    Used in tandem with the new Maniaplanet.Pause.Status callback. It allows the user to check the status of the pause system in the game mode.
  • Maniaplanet.Pause.SetActive
    Allow the user to enable or disable the pause in the game modes where it is available.

Updated methods

  • Shootmania.GetUIProperties -> Shootmania.UI.GetProperties
    The Shootmania.GetUIProperties method was renamed to Shootmania.UI.GetProperties to match its Trackmania equivalent.
  • Shootmania.SetUIProperties -> Shootmania.UI.SetProperties
    The Shootmania.SetUIProperties method was renamed to Shootmania.UI.SetProperties to match its Trackmania equivalent.
  • Maniaplanet.WarmUp.BlockEndWarmUp
    Allows the user to disable the countdown when all teams' slots are filled and force all players to be ready before ending the warmup.

Removed methods

  • Shootmania.Combo.GetPause
    Replaced by the Maniaplanet.Pause.GetStatus method.
  • Shootmania.Combo.SetPause
    Replaced by the Maniaplanet.Pause.SetActive method.