Valhalla Legends Archive

Programming => General Programming => Topic started by: gosumoo on July 10, 2003, 05:19 PM

Title: Frozen throne Stats String Parse
Post by: gosumoo on July 10, 2003, 05:19 PM
I am having trouble with this.... anyone care to help?
Title: Re:Frozen throne Stats String Parse
Post by: Soul Taker on July 10, 2003, 07:20 PM
It's identical to WAR3, except for the different client ID.
Title: Re:Frozen throne Stats String Parse
Post by: Camel on July 13, 2003, 06:20 PM
The first value obviously is the product.
The second value is the icon: 'W3XY' where X represents the first letter of the best race (Human, Orc, Night elf, Undead, Random, Tournament) and Y represents the icon level (tier).
The third value is, IIRC, the total number of wins.
The fourth value, if included, is the clan the user is in.
Title: Re:Frozen throne Stats String Parse
Post by: Soul Taker on July 13, 2003, 08:01 PM
WAR3 statstrings stopped containing the amount of wins a looong time ago.  Thus making the third value the clan.
Title: Re:Frozen throne Stats String Parse
Post by: Camel on July 13, 2003, 11:44 PM
Quote from: Soul Taker on July 13, 2003, 08:01 PM
WAR3 statstrings stopped containing the amount of wins a looong time ago.  Thus making the third value the clan.

Sorry, third value is level. And no, clan is fourth.
Title: Re:Frozen throne Stats String Parse
Post by: Soul Taker on July 13, 2003, 11:55 PM

0000:  FF 0F 35 00 01 00 00 00 00 00 00 00 1F 00 00 00   ÿ5...........
0010:  00 00 00 00 0D F0 AD BA 0D F0 AD BA 53 6F 75 6C   .....ð­º.ð­ºSoul
0020:  54 61 6B 65 72 00 33 52 41 57 20 31 52 33 57 20   Taker.3RAW 1R3W
0030:  35 20 6B 48 00                                    5 kH.

There's an example.
Camel: I think we were talking about different things. I was considering '1R3W' the first, '5' the second, and 'kH' the third in that example.  You were talking about actual values it seems.  My mistake.