Get teamstats (status script) [ getstatus ]


(Chuck) #1

Hello,

For my clan I’m writing a little statistics script ( who’s currently playing, banner generation, that sort of thing ).

So far, I’ve been able to get most of the information I want with ‘\xFF\xFF\xFF\xFFgetstatus\x00’ but it doesn’t tell me who’s on what team, or does it?

I was wondering if anyone has an idea how to do that.

Greetings,

Chuck.


(schnoog) #2

Hi,
some mods returning the player-team-association within the “p” - value (f.e. P=----------1111222222111-1122112222 )

Regards
Schnoog


(Chuck) #3

Very well, so if I understand correctly:

\P\11112112212221221-221

I’m assuming that each number is identical to a player, in respective order? … it does make me wonder why the ‘-’ is there?

like:
(\P\11112112212221221-221)
1 = player_1
1 = player_2
1 = player_3
1 = player_4
2 = player_5

etc?

Do you happen to have some additional documentation regarding the ‘getstatus’ response?

Thanks, I have some testing to do! :slight_smile:


(Chuck) #4

Once I filtered out all the dashes (-) it went smooth, it’s working!

Thanks, much appreciated! =)