Closed Nostrademous closed 5 years ago
Here are some console.log dumps:
01/16/2019 - 12:41:35: Building: npc_dota_goodguys_fort destroyed at 114.449341.
01/16/2019 - 12:41:35: [SpawnGroup] SynchronouslySpawnGroup for group 'CL: [18: dota | world_layer_radiant_destruction | <none>]' took 1ms
01/16/2019 - 12:41:35: S:Gamerules: entering state 'DOTA_GAMERULES_STATE_POST_GAME'
01/16/2019 - 12:41:35: CDOTAUserMsg_PlayerMMR check: lobbyType=-1, GameEndReason=0
01/16/2019 - 12:41:35: CDOTAGCServerSystem::MatchSignOut gathering sign out stats. Duration in minutes = 1.908045
01/16/2019 - 12:41:35: Player 0 Account 0 TotalGold = 250.000000 TotalXP = 366.000000 nGoldPerMinute = 131 nXPPerMinute = 191
01/16/2019 - 12:41:35: Player 0 Account 0 TotalGold = 197.000000 TotalXP = 0.000000 nGoldPerMinute = 103 nXPPerMinute = 0
01/16/2019 - 12:41:35: Player 0 Account 0 TotalGold = 197.000000 TotalXP = 0.000000 nGoldPerMinute = 103 nXPPerMinute = 0
01/16/2019 - 12:41:35: Player 0 Account 0 TotalGold = 197.000000 TotalXP = 0.000000 nGoldPerMinute = 103 nXPPerMinute = 0
01/16/2019 - 12:41:35: Player 0 Account 0 TotalGold = 197.000000 TotalXP = 0.000000 nGoldPerMinute = 103 nXPPerMinute = 0
01/16/2019 - 12:41:35: Player 0 Account 0 TotalGold = 305.000000 TotalXP = 195.000000 nGoldPerMinute = 159 nXPPerMinute = 102
01/16/2019 - 12:41:35: Player 0 Account 0 TotalGold = 224.000000 TotalXP = 0.000000 nGoldPerMinute = 117 nXPPerMinute = 0
01/16/2019 - 12:41:35: Player 0 Account 0 TotalGold = 224.000000 TotalXP = 0.000000 nGoldPerMinute = 117 nXPPerMinute = 0
01/16/2019 - 12:41:35: Player 0 Account 0 TotalGold = 224.000000 TotalXP = 0.000000 nGoldPerMinute = 117 nXPPerMinute = 0
01/16/2019 - 12:41:35: Player 0 Account 0 TotalGold = 224.000000 TotalXP = 0.000000 nGoldPerMinute = 117 nXPPerMinute = 0
01/16/2019 - 12:41:35: Match signout: duration = 114 (114.482681) good guys win = 0
01/16/2019 - 12:41:35: Match start date: Wed Jan 16 12:38:08 2019
01/16/2019 - 12:41:35: Num players on teams: Good: 5 Bad: 5
01/16/2019 - 12:41:35: Team 0 Player 0 m_unAccountID = 0 Items: 0, 0, 0, 0, 0, 0, 0, 0, 0
01/16/2019 - 12:41:35: LastHit = 1 Deny = 0 ClaimedMiss = 2 ClaimedDeny = 0 Miss = 2
01/16/2019 - 12:41:35: Level: 2 Gold: 711 KDA: 0 / 2 / 0
01/16/2019 - 12:41:35: Actual Player Damage: 0 Actual Building Damage: 0 Actual Healing: 0
01/16/2019 - 12:41:35: Scaled Player Damage: 0 Scaled Building Damage: 0 Scaled Healing: 0
01/16/2019 - 12:41:35: XP per min: 131 Gold per min: 191 Claimed Farm: 205 Support Gold 0
01/16/2019 - 12:41:35: Team 0 Player 1 m_unAccountID = 0 Items: 0, 0, 0, 0, 0, 0, 0, 0, 0
01/16/2019 - 12:41:35: LastHit = 0 Deny = 0 ClaimedMiss = 0 ClaimedDeny = 0 Miss = 0
01/16/2019 - 12:41:35: Level: 1 Gold: 797 KDA: 0 / 0 / 0
01/16/2019 - 12:41:35: Actual Player Damage: 0 Actual Building Damage: 0 Actual Healing: 0
01/16/2019 - 12:41:35: Scaled Player Damage: 0 Scaled Building Damage: 0 Scaled Healing: 0
01/16/2019 - 12:41:35: XP per min: 103 Gold per min: 0 Claimed Farm: 0 Support Gold 0
01/16/2019 - 12:41:35: Team 0 Player 2 m_unAccountID = 0 Items: 0, 0, 0, 0, 0, 0, 0, 0, 0
01/16/2019 - 12:41:35: LastHit = 0 Deny = 0 ClaimedMiss = 0 ClaimedDeny = 0 Miss = 0
01/16/2019 - 12:41:35: Level: 1 Gold: 797 KDA: 0 / 0 / 0
01/16/2019 - 12:41:35: Actual Player Damage: 0 Actual Building Damage: 0 Actual Healing: 0
01/16/2019 - 12:41:35: Scaled Player Damage: 0 Scaled Building Damage: 0 Scaled Healing: 0
01/16/2019 - 12:41:35: XP per min: 103 Gold per min: 0 Claimed Farm: 0 Support Gold 0
01/16/2019 - 12:41:35: Team 0 Player 3 m_unAccountID = 0 Items: 0, 0, 0, 0, 0, 0, 0, 0, 0
01/16/2019 - 12:41:35: LastHit = 0 Deny = 0 ClaimedMiss = 0 ClaimedDeny = 0 Miss = 0
01/16/2019 - 12:41:35: Level: 1 Gold: 797 KDA: 0 / 0 / 0
01/16/2019 - 12:41:35: Actual Player Damage: 0 Actual Building Damage: 0 Actual Healing: 0
01/16/2019 - 12:41:35: Scaled Player Damage: 0 Scaled Building Damage: 0 Scaled Healing: 0
01/16/2019 - 12:41:35: XP per min: 103 Gold per min: 0 Claimed Farm: 0 Support Gold 0
01/16/2019 - 12:41:35: Team 0 Player 4 m_unAccountID = 0 Items: 0, 0, 0, 0, 0, 0, 0, 0, 0
01/16/2019 - 12:41:35: LastHit = 0 Deny = 0 ClaimedMiss = 0 ClaimedDeny = 0 Miss = 0
01/16/2019 - 12:41:35: Level: 1 Gold: 797 KDA: 0 / 0 / 0
01/16/2019 - 12:41:35: Actual Player Damage: 0 Actual Building Damage: 0 Actual Healing: 0
01/16/2019 - 12:41:35: Scaled Player Damage: 0 Scaled Building Damage: 0 Scaled Healing: 0
01/16/2019 - 12:41:35: XP per min: 103 Gold per min: 0 Claimed Farm: 0 Support Gold 0
01/16/2019 - 12:41:35: Team 1 Player 0 m_unAccountID = 0 Items: 0, 0, 0, 0, 0, 0, 0, 0, 0
01/16/2019 - 12:41:35: LastHit = 0 Deny = 0 ClaimedMiss = 1 ClaimedDeny = 0 Miss = 3
01/16/2019 - 12:41:35: Level: 1 Gold: 834 KDA: 0 / 1 / 0
01/16/2019 - 12:41:35: Actual Player Damage: 0 Actual Building Damage: 0 Actual Healing: 0
01/16/2019 - 12:41:35: Scaled Player Damage: 0 Scaled Building Damage: 0 Scaled Healing: 0
01/16/2019 - 12:41:35: XP per min: 159 Gold per min: 102 Claimed Farm: 129 Support Gold 0
01/16/2019 - 12:41:35: Team 1 Player 1 m_unAccountID = 0 Items: 0, 0, 0, 0, 0, 0, 0, 0, 0
01/16/2019 - 12:41:35: LastHit = 0 Deny = 0 ClaimedMiss = 0 ClaimedDeny = 0 Miss = 0
01/16/2019 - 12:41:35: Level: 1 Gold: 824 KDA: 0 / 0 / 0
01/16/2019 - 12:41:35: Actual Player Damage: 0 Actual Building Damage: 0 Actual Healing: 0
01/16/2019 - 12:41:35: Scaled Player Damage: 0 Scaled Building Damage: 0 Scaled Healing: 0
01/16/2019 - 12:41:35: XP per min: 117 Gold per min: 0 Claimed Farm: 0 Support Gold 0
...
Nice
If we monitor the console.log we should check for the presence of the following string:
<DATE> - <TIME>: Match signout: duration = <NUM> (<FLOAT_NUM>) good guys win = <BOOL>
If bool is 0 then Dire won. If bool is 1 then Radiant won.
Alternatively there is an earlier message that states:
<DATE> - <TIME>: Building: npc_dota_<goodguys or badguys>_fort destroyed at <TIME>