• Welcome to Valhalla Legends Archive.
 

Statstring Values

Started by UserLoser, June 23, 2003, 10:28 PM

Previous topic - Next topic

UserLoser

I got most of this down, but I need some verification or help on some values to make sure I have it correct. [Starcraft/Broodwar/Japanese/Shareware/Warcraft II].

Example [W2BN]: 1482 208 13 0 0 1482 9999 1 0
This users ladder rating would be 1482, with 13 wins, ranked 208 on ladder, no spawn, ???, highest ladder rating, iron man rating, rank, ???

Is that correct for a user who is on W2BN, and what are the 5th and 9th values?

Also, on the other products, what are the 5th, 7th, 8th, 9th values?  Is the 7th one highest rank?

Camel

#1
       Case "RATS", "PXES", "RTSJ", "RHSJ"
           ParseStatString = Values(0) & _
                             IIf(Values(4) = 1, " (spawn)", "") & ": " & _
                             Values(3) & " wins" & _
                             IIf(Values(1), ", with a rating of " & Values(1) & " (high " & Values(6) & ")", "")
       Case "NB2W"
           ParseStatString = Values(0) & _
                             IIf(Values(4) = 1, " (spawn)", "") & ": " & _
                             Values(3) & " wins" & _
                             IIf(Values(1), ", with a rating of " & Values(1) & " (high " & Values(6) & ")", "") & _
                             IIf(Values(7), ", and an ironman rating of " & Values(7), "") & _
       Case "RHSD", "LTRD"
           Select Case Values(2)
               Case 0: cType = "warrior"
               Case 1: cType = "sorceror"
               Case 2: cType = "rogue"
           End Select
           ParseStatString = ParseStatString & _
               Values(0) & _
               ": Level " & Values(1) & " " & cType & " with " & _
               Values(3) & " dots, " & _
               Values(4) & " strength, " & _
               Values(5) & " magic, " & _
               Values(6) & " dexterity, " & _
               Values(7) & " vitality, and " & _
               Values(8) & " gold"

UserLoser

That didn't answer my question at all...I know how to parse it, I want to know what the values mean.

Camel

you can figgure out what they mean from my code :)

for example sc/w2:
1 ladder rating
3 number of wins
4 spawned?
6 ladder rating high score
7 (W2BN only) ironman rating
diablo:
1 level
2 char type
3 dots
4 str
5 magic
6 dex
7 vit
8 gold

ironman high score should be in there too, i think

UserLoser

Isn't one of them high rank?

Camel

#5
You have to check their profile to get high rank.

*cough* Arta should document all of the known keys and their formats on bnetdocs. ;)