mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-19 16:14:44 +00:00
Changed to Date Format
This commit is contained in:
parent
2ae5b4c489
commit
4b9486d765
|
|
@ -1733,7 +1733,7 @@ package dtStats{
|
||||||
if($dtStats::Enable){
|
if($dtStats::Enable){
|
||||||
dtSaveServerVars();
|
dtSaveServerVars();
|
||||||
dtScanForRepair();
|
dtScanForRepair();
|
||||||
$mapID::gameID = addNum($mapID::gameID,1);
|
$mapID::gameID = formattimestring("mddyHHnnss");
|
||||||
if($dtStats::debugEchos)
|
if($dtStats::debugEchos)
|
||||||
error("GAME ID" SPC $mapID::gameID SPC "//////////////////////////////");
|
error("GAME ID" SPC $mapID::gameID SPC "//////////////////////////////");
|
||||||
}
|
}
|
||||||
|
|
@ -4010,13 +4010,13 @@ function dtStatsMissionDropReady(%game, %client){ // called when client has fini
|
||||||
}
|
}
|
||||||
function dtStatsClientLeaveGame(%client){
|
function dtStatsClientLeaveGame(%client){
|
||||||
$dtServerVars::lastPlayerCount = $HostGamePlayerCount - $HostGameBotCount;
|
$dtServerVars::lastPlayerCount = $HostGamePlayerCount - $HostGameBotCount;
|
||||||
|
|
||||||
if(isGameRun()){// if they dc during game over dont count it
|
if(isGameRun()){// if they dc during game over dont count it
|
||||||
$dtServer::mapDisconnects[cleanMapName($CurrentMission),Game.class]++;
|
$dtServer::mapDisconnects[cleanMapName($CurrentMission),Game.class]++;
|
||||||
if(%client.score != 0)
|
if(%client.score != 0)
|
||||||
$dtServer::mapDisconnectsScore[cleanMapName($CurrentMission),Game.class]++;
|
$dtServer::mapDisconnectsScore[cleanMapName($CurrentMission),Game.class]++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isObject(%client.dtStats)){
|
if(isObject(%client.dtStats)){
|
||||||
%client.dtStats.clientLeft = 1;
|
%client.dtStats.clientLeft = 1;
|
||||||
%client.dtStats.leftTime = getSimTime();
|
%client.dtStats.leftTime = getSimTime();
|
||||||
|
|
@ -12647,7 +12647,7 @@ function startMonitor(){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function dtSaveServerVars(){
|
function dtSaveServerVars(){
|
||||||
$dtServerVars::lastSimTime = getSimTime();
|
$dtServerVars::lastSimTime = getSimTime();
|
||||||
$dtServerVars::lastDate = formattimestring("mm/dd/yy hh:nn:a");
|
$dtServerVars::lastDate = formattimestring("mm/dd/yy hh:nn:a");
|
||||||
$dtServerVars::lastMission = cleanMapName($CurrentMission);
|
$dtServerVars::lastMission = cleanMapName($CurrentMission);
|
||||||
|
|
@ -12995,4 +12995,4 @@ function testVarsRandomAll(%max){
|
||||||
// Server crash messsage fix
|
// Server crash messsage fix
|
||||||
//
|
//
|
||||||
// 9.3
|
// 9.3
|
||||||
// Stat format change for flag cap times, they now start at 0
|
// Stat format change for flag cap times, they now start at 0
|
||||||
Loading…
Reference in a new issue