Opened 9 years ago

Last modified 8 years ago

#49 new enhancement

Sort players using team grouping

Reported by: shadow Owned by: mseifert
Priority: major Milestone:
Component: sc2replay Version: 0.8
Keywords: Cc:
Blocked By: Blocking:


Hi, it would be nice if we could sort players by teams (by using a specific variable, for instance?).

If the feature is already implemented, can you please tell me how to use it in the Warp API?


Change History (4)

comment:1 Changed 9 years ago by mseifert

Information about player teams is not used, yet. The parser for the replay versions 0.11.0 to 1.0.2 can parse this information, though.

Since version 0.8, you could possibly sort the players with a small workaround:

  • Parse the replay
  • Parse the replay.details file again and extract the players' teams (see documentation of replay.details)
  • Sort the players according to teams

Or just change the replay parser itself. It is up to you.

Please also note that the WARP API is not stable, yet. It should be until version 1.0, however.

comment:2 Changed 9 years ago by shadow

Thanks for this fast reply.
Do you plan on adding this feature soon ?

comment:3 Changed 9 years ago by mseifert

I will implement this soon and send you an e-mail to checkout the SVN-version.

I do not know, whether this information can also be extracted for older replays (version 0.2.0 to 0.10.0).

comment:4 Changed 8 years ago by mseifert

Milestone: version 0.9
Note: See TracTickets for help on using tickets.