From f1def5318a28a6ad9017d06d005f189edf6d69fa Mon Sep 17 00:00:00 2001 From: ChocoTaco Date: Tue, 8 Jun 2021 13:47:42 -0400 Subject: [PATCH] Format change --- Classic/scripts/autoexec/zDarkTigerStats.cs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Classic/scripts/autoexec/zDarkTigerStats.cs b/Classic/scripts/autoexec/zDarkTigerStats.cs index b750d85..0b2bcc0 100644 --- a/Classic/scripts/autoexec/zDarkTigerStats.cs +++ b/Classic/scripts/autoexec/zDarkTigerStats.cs @@ -14,7 +14,7 @@ //-----------Settings------------ //Notes score ui width is 592 -$dtStats::version = 9.2; +$dtStats::version = 9.3; //disable stats system $dtStats::Enable = 1; //enable disable map stats @@ -2473,14 +2473,14 @@ package dtStatsGame{ if(%clTeam == 1){ $dtStats::teamOneCapCount++; if($dtStats::teamOneCapCount == 1) - $dtStats::teamOneCapTimes = cropFloat(%time,1); + $dtStats::teamOneCapTimes = 0 @ "," @ cropFloat(%time,1); else $dtStats::teamOneCapTimes = $dtStats::teamOneCapTimes @ "," @ cropFloat(%time,1); } else{ $dtStats::teamTwoCapCount++; if($dtStats::teamTwoCapCount == 1) - $dtStats::teamTwoCapTimes = cropFloat(%time,1); + $dtStats::teamTwoCapTimes = 0 @ "," @ cropFloat(%time,1); else $dtStats::teamTwoCapTimes = $dtStats::teamTwoCapTimes @ "," @ cropFloat(%time,1); } @@ -2590,14 +2590,14 @@ package dtStatsGame{ if(%clTeam == 1){ $dtStats::teamOneCapCount++; if($dtStats::teamOneCapCount == 1) - $dtStats::teamOneCapTimes = cropFloat(%time,1); + $dtStats::teamOneCapTimes = 0 @ "," @ cropFloat(%time,1); else $dtStats::teamOneCapTimes = $dtStats::teamOneCapTimes @ "," @ cropFloat(%time,1); } else{ $dtStats::teamTwoCapCount++; if($dtStats::teamTwoCapCount == 1) - $dtStats::teamTwoCapTimes = cropFloat(%time,1); + $dtStats::teamTwoCapTimes = 0 @ "," @ cropFloat(%time,1); else $dtStats::teamTwoCapTimes = $dtStats::teamTwoCapTimes @ "," @ cropFloat(%time,1); } @@ -12991,4 +12991,7 @@ function testVarsRandomAll(%max){ // 9.2 // Added a delay for server crash to be able to report it to the bot on server start // Fix Cap timers a 3rd time -// Server crash messsage fix \ No newline at end of file +// Server crash messsage fix +// +// 9.3 +// Stat format change for flag cap times, they now start at 0 \ No newline at end of file