Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: tA-Kane on April 28, 2004, 06:12 PM

Title: Weird statstrings?
Post by: tA-Kane on April 28, 2004, 06:12 PM
It seems the latest round of Battle.net server upgrades (at least on US East, dunno about any other gateways) messed up the statstrings for SEXP and STAR... now, the product code is not only sent at the beginning, but at the end of the statstring, too. Weird, eh?

QuoteReceive data (44 bytes).
>00000C7F> FF 0A 2C 00  30 78 30 35  33 39 00 52  41 54 53 20  ..,.0x0539.RATS
>00000C8F> 30 20 30 20  30 20 30 20  30 20 30 20  30 20 30 20  0 0 0 0 0 0 0 0
>00000C9F> 52 41 54 53  00 30 78 30  35 33 39 00               RATS.0x0539.

Receive data (43 bytes).
>00000CAB> FF 0F 2B 00  07 00 00 00  00 00 00 00  FF FF FF FF  ..+.............
>00000CBB> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  30 78 30 35  ............0x05
>00000CCB> 33 39 00 6F  70 20 5B 76  4C 5D 00                  39.op [vL].

Receive data (65 bytes).
>00000CD6> FF 0F 41 00  01 00 00 00  00 00 00 00  AC 00 00 00  ..A.............
>00000CE6> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  44 65 6E 69  ............Deni
>00000CF6> 61 6C 00 50  58 45 53 20  30 20 30 20  36 38 38 38  al.PXES 0 0 6888
>00000D06> 39 20 30 20  30 20 30 20  30 20 30 20  50 58 45 53  9 0 0 0 0 0 PXES
>00000D16> 00                                                  .

Receive data (67 bytes).
>00000D17> FF 0F 43 00  01 00 00 00  00 00 00 00  2F 00 00 00  ..C........./...
>00000D27> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  55 73 65 72  ............User
>00000D37> 4C 6F 73 65  72 2E 00 50  58 45 53 20  30 20 30 20  Loser..PXES 0 0
>00000D47> 36 38 32 20  30 20 30 20  30 20 30 20  30 20 50 58  682 0 0 0 0 0 PX
>00000D57> 45 53 00                                            ES.

Receive data (65 bytes).
>00000D5A> FF 0F 41 00  01 00 00 00  00 00 00 00  6D 00 00 00  ..A.........m...
>00000D6A> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  42 69 6E 61  ............Bina
>00000D7A> 72 79 43 68  61 74 00 50  58 45 53 20  30 20 30 20  ryChat.PXES 0 0
>00000D8A> 30 20 30 20  30 20 30 20  30 20 30 20  50 58 45 53  0 0 0 0 0 0 PXES
>00000D9A> 00                                                  .

Receive data (59 bytes).
>00000D9B> FF 0F 3B 00  01 00 00 00  00 00 00 00  5E 00 00 00  ..;.........^...
>00000DAB> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  41 72 74 61  ............Arta
>00000DBB> 00 52 41 54  53 20 30 20  30 20 39 20  30 20 30 20  .RATS 0 0 9 0 0
>00000DCB> 30 20 30 20  30 20 52 41  54 53 00                  0 0 0 RATS.

Receive data (63 bytes).
>00000DD6> FF 0F 3F 00  01 00 00 00  00 00 00 00  CB 00 00 00  ..?.............
>00000DE6> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  53 6B 79 77  ............Skyw
>00000DF6> 69 6E 67 5B  76 4C 5D 40  41 7A 65 72  6F 74 68 00  ing[vL]@Azeroth.
>00000E06> 33 52 41 57  20 31 52 33  57 20 30 20  4C 76 00     3RAW 1R3W 0 Lv.

Receive data (42 bytes).
>00000E15> FF 0F 2A 00  01 00 00 00  00 00 00 00  00 00 00 00  ..*.............
>00000E25> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  4D 79 6E 64  ............Mynd
>00000E35> 46 79 72 65  00 56 44 32  44 00                     Fyre.VD2D.

Receive data (62 bytes).
>00000E3F> FF 0F 3E 00  01 00 00 00  00 00 00 00  EA 00 00 00  ..>.............
>00000E4F> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  52 61 69 68  ............Raih
>00000E5F> 61 6E 00 50  58 45 53 20  30 20 30 20  36 39 20 30  an.PXES 0 0 69 0
>00000E6F> 20 30 20 30  20 30 20 30  20 50 58 45  53 00         0 0 0 0 PXES.

Receive data (64 bytes).
>00000E7D> FF 0F 40 00  01 00 00 00  00 00 00 00  5E 00 00 00  ..@.........^...
>00000E8D> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  27 7C 27 72  ............'|'r
>00000E9D> 61 6E 63 65  00 50 58 45  53 20 30 20  30 20 36 35  ance.PXES 0 0 65
>00000EAD> 20 30 20 30  20 30 20 30  20 30 20 50  58 45 53 00   0 0 0 0 0 PXES.

Receive data (61 bytes).
>00000EBD> FF 0F 3D 00  01 00 00 00  00 00 00 00  6D 00 00 00  ..=.........m...
>00000ECD> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  77 61 73 67  ............wasg
>00000EDD> 69 6A 00 4E  42 32 57 20  30 20 30 20  30 20 30 20  ij.NB2W 0 0 0 0
>00000EED> 30 20 30 20  30 20 30 20  4E 42 32 57  00           0 0 0 0 NB2W.

Receive data (65 bytes).
>00000EFA> FF 0F 41 00  01 00 00 00  00 00 00 00  EB 00 00 00  ..A.............
>00000F0A> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  57 69 6E 6E  ............Winn
>00000F1A> 65 72 5B 76  4C 5D 00 50  58 45 53 20  30 20 30 20  er[vL].PXES 0 0
>00000F2A> 30 20 30 20  30 20 30 20  30 20 30 20  50 58 45 53  0 0 0 0 0 0 PXES
>00000F3A> 00                                                  .

Receive data (59 bytes).
>00000F3B> FF 0F 3B 00  01 00 00 00  02 00 00 00  AC 00 00 00  ..;.............
>00000F4B> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  5B 76 4C 5D  ............[vL]
>00000F5B> 00 50 58 45  53 20 30 20  30 20 30 20  30 20 30 20  .PXES 0 0 0 0 0
>00000F6B> 30 20 30 20  30 20 50 58  45 53 00                  0 0 0 PXES.

Receive data (69 bytes).
>00000F76> FF 0F 45 00  01 00 00 00  00 00 00 00  7D 00 00 00  ..E.........}...
>00000F86> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  74 68 75 73  ............thus
>00000F96> 63 65 6C 61  63 6B 70 69  73 73 00 50  58 45 53 20  celackpiss.PXES
>00000FA6> 30 20 30 20  30 20 30 20  30 20 30 20  30 20 30 20  0 0 0 0 0 0 0 0
>00000FB6> 50 58 45 53  00                                     PXES.

Receive data (61 bytes).
>00000FBB> FF 0F 3D 00  01 00 00 00  00 00 00 00  4E 00 00 00  ..=.........N...
>00000FCB> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  41 6B 61 6D  ............Akam
>00000FDB> 61 73 00 50  58 45 53 20  30 20 30 20  30 20 30 20  as.PXES 0 0 0 0
>00000FEB> 30 20 30 20  30 20 30 20  50 58 45 53  00           0 0 0 0 PXES.

Receive data (96 bytes).
>00000FF8> FF 0F 60 00  01 00 00 00  00 00 00 00  58 01 00 00  ..`.........X...
>00001008> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  59 6F 6E 69  ............Yoni
>00001018> 5B 76 4C 5D  00 50 58 32  44 55 53 45  61 73 74 2C  [vL].PX2DUSEast,
>00001028> 43 68 65 63  6B 52 65 76  69 73 69 6F  6E 2C 84 80  CheckRevision,..
>00001038> FF FF FF FF  FF 09 FF FF  FF FF FF 03  FF FF FF FF  ................
>00001048> FF FF FF FF  FF FF FF 01  80 80 FF FF  FF FF FF 00  ................

Receive data (66 bytes).
>00001058> FF 0F 42 00  01 00 00 00  00 00 00 00  FD 02 00 00  ..B.............
>00001068> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  68 69 73 6D  ............hism
>00001078> 61 6A 65 73  74 79 2E 00  50 58 45 53  20 30 20 30  ajesty..PXES 0 0
>00001088> 20 30 20 30  20 30 20 30  20 30 20 30  20 50 58 45   0 0 0 0 0 0 PXE
>00001098> 53 00                                               S.

Receive data (61 bytes).
>0000109A> FF 0F 3D 00  01 00 00 00  00 00 00 00  2F 00 00 00  ..=........./...
>000010AA> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  63 69 70 68  ............ciph
>000010BA> 65 72 00 52  41 54 53 20  30 20 30 20  31 20 30 20  er.RATS 0 0 1 0
>000010CA> 30 20 30 20  30 20 30 20  52 41 54 53  00           0 0 0 0 RATS.

Receive data (96 bytes).
>000010D7> FF 0F 60 00  01 00 00 00  00 00 00 00  00 00 00 00  ..`.............
>000010E7> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  53 6B 79 77  ............Skyw
>000010F7> 69 6E 67 5B  76 4C 5D 00  50 58 32 44  55 53 45 61  ing[vL].PX2DUSEa
>00001107> 73 74 2C 42  69 6E 61 72  79 43 68 61  74 2C 84 80  st,BinaryChat,..
>00001117> FF FF FF FF  FF FF FF FF  FF FF FF 03  FF FF FF FF  ................
>00001127> FF FF FF FF  FF FF FF 01  E5 80 80 80  01 FF FF 00  ................

Receive data (68 bytes).
>00001137> FF 0F 44 00  01 00 00 00  00 00 00 00  2F 00 00 00  ..D........./...
>00001147> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  54 68 65 4D  ............TheM
>00001157> 69 6E 69 73  74 65 72 65  64 00 52 41  54 53 20 30  inistered.RATS 0
>00001167> 20 30 20 30  20 30 20 30  20 30 20 30  20 30 20 52   0 0 0 0 0 0 0 R
>00001177> 41 54 53 00                                         ATS.

Receive data (67 bytes).
>0000117B> FF 0F 43 00  01 00 00 00  10 00 00 00  FF FF FF FF  ..C.............
>0000118B> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  4D 61 63 42  ............MacB
>0000119B> 69 6E 61 72  79 42 6F 74  00 52 41 54  53 20 30 20  inaryBot.RATS 0
>000011AB> 30 20 30 20  30 20 30 20  30 20 30 20  30 20 52 41  0 0 0 0 0 0 0 RA
>000011BB> 54 53 00                                            TS.

Receive data (67 bytes).
>000011BE> FF 0F 43 00  01 00 00 00  00 00 00 00  0F 00 00 00  ..C.............
>000011CE> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  5A 61 6B 61  ............Zaka
>000011DE> 74 68 5B 76  4C 5D 00 50  58 45 53 20  30 20 30 20  th[vL].PXES 0 0
>000011EE> 34 38 35 20  30 20 30 20  30 20 30 20  30 20 50 58  485 0 0 0 0 0 PX
>000011FE> 45 53 00                                            ES.

Receive data (41 bytes).
>00001201> FF 0F 29 00  01 00 00 00  00 00 00 00  6E 00 00 00  ..).........n...
>00001211> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  4C 6F 62 6F  ............Lobo
>00001221> 2E 69 44 00  56 44 32 44  00                        .iD.VD2D.

Receive data (59 bytes).
>0000122A> FF 0F 3B 00  01 00 00 00  00 00 00 00  CB 00 00 00  ..;.............
>0000123A> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  5A 6F 72 6D  ............Zorm
>0000124A> 00 50 58 45  53 20 30 20  30 20 39 20  30 20 30 20  .PXES 0 0 9 0 0
>0000125A> 30 20 30 20  30 20 50 58  45 53 00                  0 0 0 PXES.

Receive data (61 bytes).
>00001265> FF 0F 3D 00  01 00 00 00  10 00 00 00  FF FF FF FF  ..=.............
>00001275> 00 00 00 00  0D F0 AD BA  0D F0 AD BA  30 78 30 35  ............0x05
>00001285> 33 39 00 52  41 54 53 20  30 20 30 20  30 20 30 20  39.RATS 0 0 0 0
>00001295> 30 20 30 20  30 20 30 20  52 41 54 53  00           0 0 0 0 RATS.
Title: Re:Weird statstrings?
Post by: UserLoser. on April 28, 2004, 06:15 PM
Another example:
[17:38:34] FreeBSD@USEast joined the channel using Starcraft: Brood War (unrecognized format: "0 0 1 0 0 0 0 0 PXES").
[17:39:44] Suffer[BH]@USEast joined the channel using Starcraft: Brood War (unrecognized format: "0 0 1338 0 0 0 0 0 PXES").
[17:40:08] 1337[BH]@USEast joined the channel using Starcraft: Brood War (unrecognized format: "0 0 1337 0 0 0 0 0 PXES").
Title: Re:Weird statstrings?
Post by: tA-Kane on April 28, 2004, 06:16 PM
also affects W2BN, so it's probably a problem with that particular type of statstring, and not the clients. I suppose it'd be safe to assume it's a problem on SSHR and JSTR as well...

[Edit]It seems Battle.net changed (either purposefully (hopefully...) or on accident) the way data is sent in regards to whether or not to use icons_STAR.bni, and if so, which icon to use.

This thread may be of use to anyone who's interested in supprting icons_STAR.bni:

http://forum.valhallalegends.com/phpbbs/index.php?board=17;action=display;threadid=3526

Additionally, you should read my BNI file fomat documentation if you haven't already:
http://linkware.clan-mac.com/kanebot/misc/bni_file.shtml

And while we're on the topic, I hear icons-WAR3.bni is in a different format than "normal", but I do not have this file and (seemingly) cannot download it. Would anyone mind sending it to me?[/Edit]
Title: Re:Weird statstrings?
Post by: GoSuGaMING on April 28, 2004, 06:40 PM
hmm... bnet didnt have a patch recently did they?
Title: Re:Weird statstrings?
Post by: BaDDBLooD on April 28, 2004, 07:08 PM
Quote from: GoSuGaMING on April 28, 2004, 06:40 PM
hmm... bnet didnt have a patch recently did they?

perhaps
Title: Re:Weird statstrings?
Post by: tA-Kane on April 28, 2004, 07:08 PM
Quote from: GoSuGaMING on April 28, 2004, 06:40 PM
hmm... bnet didnt have a patch recently did they?
In fact, they did. At around 3:30 PM - 3:35 PM Pacific, they updated the US East gateway.
Title: Re:Weird statstrings?
Post by: Falcon[anti-yL] on April 28, 2004, 07:38 PM
like 10 min ago bw patch 1.1 came into effect.
Title: Re:Weird statstrings?
Post by: Maddox on April 29, 2004, 01:32 AM
Quote from: tA-Kane on April 28, 2004, 06:16 PM
also affects W2BN, so it's probably a problem with that particular type of statstring, and not the clients. I suppose it'd be safe to assume it's a problem on SSHR and JSTR as well...

[Edit]It seems Battle.net changed (either purposefully (hopefully...) or on accident) the way data is sent in regards to whether or not to use icons_STAR.bni, and if so, which icon to use.

This thread may be of use to anyone who's interested in supprting icons_STAR.bni:

http://forum.valhallalegends.com/phpbbs/index.php?board=17;action=display;threadid=3526

Additionally, you should read my BNI file fomat documentation if you haven't already:
http://linkware.clan-mac.com/kanebot/misc/bni_file.shtml

And while we're on the topic, I hear icons-WAR3.bni is in a different format than "normal", but I do not have this file and (seemingly) cannot download it. Would anyone mind sending it to me?[/Edit]


icons-WAR3.bni is an MPQ file which can be downloaded with the bnftp v2 protocol.
Title: Re:Weird statstrings?
Post by: Arta on April 29, 2004, 11:19 AM
Anyone got a theory as to what this is for? Bug or feature?
Title: Re:Weird statstrings?
Post by: Spht on April 29, 2004, 11:35 AM
Quote from: Arta[vL] on April 29, 2004, 11:19 AM
Anyone got a theory as to what this is for? Bug or feature?

It's for the new WCG (WorldCyberGames.com) icons (which are in icons_STAR.bni / icons_SEXP.bni).  The last field of a Starcraft statstring (icon) used to always be a number from what I recall (ie, 'KS01' would be 1263743025 as I described a while back, as someone posted).  Icon will always be 'STAR' or 'SEXP' (depending on product) now if no WCG icon was assigned to the person.