skin stats

This commit is contained in:
ChocoTaco1 2022-12-06 16:15:26 -05:00
parent b7f92907ae
commit 8115568a12

View file

@ -1091,6 +1091,11 @@ $dtStats::FV[$dtStats::FC["TG"]++,"TG"] = "plasmaDeathGround";
$dtStats::FV[$dtStats::FC["TG"]++,"TG"] = "blasterDeathGround"; $dtStats::FV[$dtStats::FC["TG"]++,"TG"] = "blasterDeathGround";
$dtStats::FV[$dtStats::FC["TG"]++,"TG"] = "mineDeathGround"; $dtStats::FV[$dtStats::FC["TG"]++,"TG"] = "mineDeathGround";
$dtStats::FV[$dtStats::FC["Game"]++,"Game"] = "skin";
$dtStats::FV[$dtStats::FC["Game"]++,"Game"] = "sex";
$dtStats::FV[$dtStats::FC["Game"]++,"Game"] = "race";
$dtStats::FV[$dtStats::FC["Game"]++,"Game"] = "voice";
$dtStats::FV[$dtStats::FC["TG"]++,"TG"] = "null";//rng number $dtStats::FV[$dtStats::FC["TG"]++,"TG"] = "null";//rng number
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
//Unused vars that are not tracked but used for other things and need to be reset //Unused vars that are not tracked but used for other things and need to be reset
@ -3589,6 +3594,11 @@ function dtStatsMissionDropReady(%game, %client){ // called when client has fini
else else
%dtStats = %client.dtStats; %dtStats = %client.dtStats;
%dtStats.skin = getTaggedString(%client.skin);
%dtStats.race = %client.race;
%dtStats.sex = %client.sex;
%dtStats.voice = %client.voice;
%dtStats.joinPCT = (isGameRun() == 1) ? %game.getGamePct() : 0; %dtStats.joinPCT = (isGameRun() == 1) ? %game.getGamePct() : 0;
updateTeamTime(%dtStats, -1); updateTeamTime(%dtStats, -1);
%dtStats.team = %client.team;// should be 0 %dtStats.team = %client.team;// should be 0
@ -9514,4 +9524,5 @@ function testVarsRandomAll(%max){
// Removed Map Stats // Removed Map Stats
// Removed all stat menus other then leaderboard stuff and server panel // Removed all stat menus other then leaderboard stuff and server panel
// Made Live Stats Admin only its useful for testing stats // Made Live Stats Admin only its useful for testing stats
// Changed stats compile speed to 64ms with map stats gone // Changed stats compile speed to 64ms with map stats gone
// Extra stats for player model