add new required function to have the good round count in the XmlRpc callback
This commit is contained in:
parent
4ca1c7cb8b
commit
63b200e8c4
@ -4,7 +4,7 @@
|
||||
#Extends "Modes/Nadeo/Trackmania/Base/TrackmaniaRoundsBase.Script.txt"
|
||||
|
||||
#Const CompatibleMapTypes "TrackMania\\TM_Race,TM_Race"
|
||||
#Const Version "2023-09-25"
|
||||
#Const Version "2023-10-16"
|
||||
#Const ScriptName "Modes/TM2020-Gamemodes/LastManStanding.Script.txt"
|
||||
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
|
||||
@ -519,6 +519,7 @@ if (Round_ForceEndRound || Round_SkipPauseRound) {
|
||||
if (!Round_SkipPauseRound) {
|
||||
ForcedEndRoundSequence();
|
||||
}
|
||||
MB_SetValidRound(False);
|
||||
} else {
|
||||
Map_ValidRoundsNb += 1;
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
#Extends "Modes/Nadeo/Trackmania/Base/TrackmaniaRoundsBase.Script.txt"
|
||||
|
||||
#Const CompatibleMapTypes "TrackMania\\TM_Race,TM_Race"
|
||||
#Const Version "2023-09-25"
|
||||
#Const Version "2023-10-16"
|
||||
#Const ScriptName "Modes/TrackMania/TM_Knockout_Online.Script.txt"
|
||||
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
|
||||
@ -512,6 +512,7 @@ if (Round_ForceEndRound || Round_SkipPauseRound) {
|
||||
if (!Round_SkipPauseRound) {
|
||||
ForcedEndRoundSequence();
|
||||
}
|
||||
MB_SetValidRound(False);
|
||||
} else {
|
||||
// Eliminate players that did not finish in time
|
||||
declare Ident[] EliminatedPlayersScoresIds = []; // Score.Id
|
||||
|
@ -8,7 +8,7 @@
|
||||
#Extends "Modes/Nadeo/Trackmania/Base/TrackmaniaRoundsBase.Script.txt"
|
||||
|
||||
#Const CompatibleMapTypes "TrackMania\\TM_Race,TM_Race"
|
||||
#Const Version "2023-10-05"
|
||||
#Const Version "2023-10-16"
|
||||
#Const ScriptName "Modes/TM2020-Gamemodes/TM_ReverseCup.Script.txt"
|
||||
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
|
||||
@ -453,6 +453,7 @@ if (Round_ForceEndRound || Round_SkipPauseRound || Round_Skipped) {
|
||||
if (!Round_SkipPauseRound) {
|
||||
ForcedEndRoundSequence();
|
||||
}
|
||||
MB_SetValidRound(False);
|
||||
DisplayCustomPoints();
|
||||
MB_Sleep(3000);
|
||||
} else {
|
||||
|
@ -4,7 +4,7 @@
|
||||
#Extends "Modes/Nadeo/Trackmania/Base/TrackmaniaRoundsBase.Script.txt"
|
||||
|
||||
#Const CompatibleMapTypes "TrackMania\\TM_Race,TM_Race"
|
||||
#Const Version "2023-09-25"
|
||||
#Const Version "2023-10-16"
|
||||
#Const ScriptName "Modes/TM2020-Gamemodes/TM_RoundsNearest.Script.txt"
|
||||
|
||||
// #RequireContext CSmMode
|
||||
@ -259,6 +259,7 @@ if (Round_ForceEndRound || Round_SkipPauseRound || Round_Skipped) {
|
||||
if (!Round_SkipPauseRound) {
|
||||
ForcedEndRoundSequence();
|
||||
}
|
||||
MB_SetValidRound(False);
|
||||
} else {
|
||||
Map_ValidRoundsNb += 1;
|
||||
// Get the last round points
|
||||
|
@ -4,7 +4,7 @@
|
||||
#Extends "Modes/Nadeo/Trackmania/Base/TrackmaniaRoundsBase.Script.txt"
|
||||
|
||||
#Const CompatibleMapTypes "TrackMania\\TM_Royal,TM_Royal"
|
||||
#Const Version "2023-09-25"
|
||||
#Const Version "2023-10-16"
|
||||
#Const ScriptName "Modes/TrackMania/TM_RoyalRounds_Online.Script.txt"
|
||||
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
|
||||
@ -523,6 +523,7 @@ if (Round_ForceEndRound || Round_SkipPauseRound || Round_Skipped) {
|
||||
if (!Round_SkipPauseRound) {
|
||||
ForcedEndRoundSequence();
|
||||
}
|
||||
MB_SetValidRound(False);
|
||||
} else {
|
||||
Map_ValidRoundsNb += 1;
|
||||
// Get the last round points
|
||||
|
@ -6,7 +6,7 @@
|
||||
#Extends "Modes/Nadeo/Trackmania/Base/TrackmaniaRoundsBase.Script.txt"
|
||||
|
||||
#Const CompatibleMapTypes "TrackMania\\TM_Race,TM_Race"
|
||||
#Const Version "2023-09-25"
|
||||
#Const Version "2023-10-16"
|
||||
#Const ScriptName "Modes/TrackMania/TM_TimeAttackRounds_Online.Script.txt"
|
||||
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //
|
||||
@ -366,6 +366,7 @@ if (Round_ForceEndRound || Round_SkipPauseRound || Round_Skipped) {
|
||||
if (!Round_SkipPauseRound) {
|
||||
ForcedEndRoundSequence();
|
||||
}
|
||||
MB_SetValidRound(False);
|
||||
} else {
|
||||
Map_ValidRoundsNb += 1;
|
||||
ComputeLatestRaceScores();
|
||||
|
Loading…
Reference in New Issue
Block a user