Gameye / halflife-statistic

Statistics for halflife engine games (TF2, CS:GO)
Other
0 stars 0 forks source link

implement team-score #18

Closed elmerbulthuis closed 6 years ago

elmerbulthuis commented 6 years ago

set it to 0 when a team is created

TNGPS commented 6 years ago

looks like we do not have a test for team-score ?

TNGPS commented 6 years ago

can implement the teamscore as soon as I know how it is defined ;-)

Smashmint commented 6 years ago

@TNGPS

The game modes Control Point (CP) and King Of The Kill (KOTH) team scores are calculated based on round wins. The tests control-point.feature and king-of-the-hill.feature are now updated the team with the team score per round.

You can work to have the team scores live available.

Smashmint commented 6 years ago

Ok, CP & KOTH modes are working! Only Payload left.

Smashmint commented 6 years ago

@TNGPS I've created the test for the payload game modes #43

The test contains 2 logs files, don't add others as they contain maps with broken capture points.

Smashmint commented 6 years ago

@elmerbulthuis @TNGPS In the payload mode player switches are handled correctly but the team-scores aren't switched with the player.

When the team-score stays with the same team, this score is being reset once the team scores the first point.

Example:

Blue 4 - Red 0 Team Switch Blue 4 - Red 0 Blue scores first point of round Blue 1 - Red 0