Valhalla Legends Forums Archive | Battle.net Bot Development | Packet 0x4A

AuthorMessageTime
c0ol
Ive seen several people ask me about this packet, and i have not seen it yet, anyone who can post it, and comment on what it is, please do so, thanks.
May 29, 2003, 6:07 AM
kamakazie
[quote]
SID_EXTRAWORKMPQ (0x4a)

(STRING) Platform Specific ExtraWork MPQ Filename
[/quote]

This is what I have documented, however this may have changed. I believe the response is SID_EXTRAWORKINFO (0x4b).

Note: The packet SID names above are made up since I don't believe there is any official name.

Edit: I believe Skywing made a program that uses dll in the mpq and outputs the data, though I can't find it at this time. Also, does anyone know how to trigger this packet? Or is just sent to the client and the client dictates whether or not it will send a response?

Edit #2: Fixed packet contents after looking at this a little closer and making a rather dumb error :\.
May 29, 2003, 8:10 AM
Camel
if you're sending 0x4a, why would you get 0x4b as a response? wouldn't you get 0x4a?
May 29, 2003, 11:53 AM
UserLoser
This packet usually sent to the client when logging on Diablo II Lord of Destruction. I believe http://www.valhallalegends.com/pub/IX86ExtraWork.zip is what you're looking for...
May 29, 2003, 3:25 PM
c0ol
kama thanks, id assume that info can be constant? and userlooser, everyone ive heard of who has had trouble with this packet was logging in as starcraft.
May 29, 2003, 6:58 PM
kamakazie
[quote author=Camel link=board=17;threadid=1473;start=0#msg11049 date=1054209200]
if you're sending 0x4a, why would you get 0x4b as a response? wouldn't you get 0x4a?
[/quote]

You don't send 0x4a, BNCS sends 0x4a; hence the reason an mpq filename is in the packet. The client responds to 0x4a with 0x4b.
May 29, 2003, 9:22 PM
c0ol
do u have a log of 0x4b?
May 30, 2003, 12:09 AM
kamakazie
[quote author=c0ol link=board=17;threadid=1473;start=0#msg11093 date=1054253383]
do u have a log of 0x4b?
[/quote]

[code]
SEND-> 0000 FF 4B 47 01 01 00 3F 01 53 79 73 74 65 6D 20 44 ˙KG...?.System D
SEND-> 0001 65 62 75 67 20 49 6E 66 6F 20 31 2E 30 33 0A 47 ebug Info 1.03.G
SEND-> 0002 61 6D 65 3A 20 53 74 61 72 63 72 61 66 74 0A 43 ame: Starcraft.C
SEND-> 0003 50 55 3A 20 20 41 75 74 68 65 6E 74 69 63 41 4D PU: AuthenticAM
SEND-> 0004 44 20 54 79 70 65 20 30 20 46 61 6D 69 6C 79 20 D Type 0 Family
SEND-> 0005 36 20 4D 6F 64 65 6C 20 38 20 53 74 65 70 70 69 6 Model 8 Steppi
SEND-> 0006 6E 67 20 30 20 42 72 61 6E 64 20 30 20 31 35 32 ng 0 Brand 0 152
SEND-> 0007 39 20 4D 48 7A 0A 52 41 4D 3A 20 20 32 35 35 20 9 MHz.RAM: 255
SEND-> 0008 4D 42 0A 4F 53 3A 20 20 20 57 69 6E 4E 54 20 35 MB.OS: WinNT 5
SEND-> 0009 2E 30 20 22 53 65 72 76 69 63 65 20 50 61 63 6B .0 "Service Pack
SEND-> 0010 20 33 22 20 42 75 69 6C 64 20 32 31 39 35 0A 44 3" Build 2195.D
SEND-> 0011 58 3A 20 20 20 34 2E 30 38 2E 30 31 2E 30 38 38 X: 4.08.01.088
SEND-> 0012 31 0A 56 69 64 31 3A 20 56 65 6E 64 6F 72 20 30 1.Vid1: Vendor 0
SEND-> 0013 30 30 30 31 30 64 65 20 44 65 76 69 63 65 20 30 00010de Device 0
SEND-> 0014 30 30 30 30 31 35 30 20 22 4E 56 49 44 49 41 20 0000150 "NVIDIA
SEND-> 0015 47 65 46 6F 72 63 65 32 20 47 54 53 2F 47 65 46 GeForce2 GTS/GeF
SEND-> 0016 6F 72 63 65 32 20 50 72 6F 22 0A 41 75 64 31 3A orce2 Pro".Aud1:
SEND-> 0017 20 4D 6F 64 75 6C 65 20 22 63 74 61 75 64 32 6B Module "ctaud2k
SEND-> 0018 2E 73 79 73 22 20 44 65 76 69 63 65 20 22 53 42 .sys" Device "SB
SEND-> 0019 20 41 75 64 69 67 79 20 41 75 64 69 6F 20 5B 44 Audigy Audio [D
SEND-> 0020 43 30 30 5D 22 0A 00 C00]"..
[/code]

This is the packet sent by Starcraft after forcing it (by proxying the connection and after authenticating, send 0x4a to the client) to send the information.
May 30, 2003, 4:14 AM
UserLoser
I don't think I've ever recieved it while being on Starcraft/Broodwar, I may have but just missed it since I usually clear my bot's screen after logging on.... Well for Lord of Destruction, the client makes files D2ddmmyy.txt in your Diablo II directory. The .txt's contain info like the text below, so I'm guessing the Diablo II client sends that back (0x4B) to the server for development of future games so Blizzard knows how well they run or whatever....

19:01:00.923 2003-05-25 19:01:00
19:01:00.923 Diablo II running under Windows XP (Version 5.010)
19:01:00.923 Vendor: Intel
19:01:00.923 Version: Pentium 4 (Type 0, Family F, Model 1, Stepping 2, Brand 8)
19:01:00.938 Speed: Approx. 1794 MHz
19:01:00.938 Total Physical Memory: 511.30MB
19:01:00.938 Application Path: C:\Program Files\Diablo II
19:01:00.954 Local IP: 192.168.1.108
19:01:00.954 Computer name: HOLMSTROM
19:01:00.954 imagehlp.dll loaded for better stack crawls.
19:01:01.938 CleanBackupFile: deleting C:\Program Files\Diablo II\D2030518.txt
19:01:03.937 Detecting boards which support Direct3D...
19:01:03.937 Initializing for Direct3D on NVIDIA GeForce2 GTS/GeForce2 Pro
19:01:04.921    Driver: nv4_disp.dll
19:01:04.921    Version: 0.0.0.0
19:01:04.921    Supports AGP texturing: Yes
19:01:04.921    Supports mipmaps: Yes
19:01:04.921    Supports gamma control: Yes
19:01:04.921    Supports gamma calibration: No
19:01:04.921    Supports 32 Bit Cutscenes: Yes
19:01:04.921    Supports 24 Bit Cutscenes: No
May 31, 2003, 1:52 AM
tA-Kane
By the way, 0x4A has been discussed about on these forums before.
https://davnit.net/bnet/vL/phpbbs/index.php?board=17;action=display;threadid=629

In regards to how to trigger the packet, it seems to be a server-side trigger. Possibly, Blizzard using the packet every few months for a short period to check and see the current machine stats of their users.

What is the format of the response? Does the client simply upload a text file? If the file is too large for the packet length, then what?
June 2, 2003, 12:56 AM
Skywing
[quote author=tA-Kane link=board=17;threadid=1473;start=0#msg11336 date=1054515390]
By the way, 0x4A has been discussed about on these forums before.
https://davnit.net/bnet/vL/phpbbs/index.php?board=17;action=display;threadid=629

In regards to how to trigger the packet, it seems to be a server-side trigger. Possibly, Blizzard using the packet every few months for a short period to check and see the current machine stats of their users.

What is the format of the response? Does the client simply upload a text file? If the file is too large for the packet length, then what?
[/quote]The client passes a structure generated by IX86ExtraWork.dll. The program of mine which somebody linked to above (IX86ExtraWork.zip) will force IX86ExtraWork to run even if you're not in the United States and have disabled reporting of the information in order to display the contents of the structure. It should work with the new IX86ExtraWork version; the .DLL included with mine is 1.00, not 1.03 IIRC.
June 2, 2003, 7:42 PM
zorm
However if you have disabled sending of this info, sc just checks if the extrawork file is current and doesn't send 0x4b?
June 2, 2003, 8:31 PM
Skywing
[quote author=zorm link=board=17;threadid=1473;start=0#msg11411 date=1054585916]
However if you have disabled sending of this info, sc just checks if the extrawork file is current and doesn't send 0x4b?
[/quote]IIRC, the game ignores the message then. There's also a check in the DLL itself you disabled it's usage, though; it'll refuse to gather information if you run it and this is the case (will fail).
June 2, 2003, 8:38 PM
Arta
How is it enabled/disabled by the user?
June 4, 2003, 5:57 AM
Skywing
[quote author=Arta[vL] link=board=17;threadid=1473;start=0#msg11515 date=1054706230]
How is it enabled/disabled by the user?
[/quote]When you patch up using a recent BNUpdate, it'll have a checkbox about gathering anonymous computer hardware statistics to send to Blizzard. This sets the "SysDesc" value in one of subkeys of the Battle.net key in the Registry.
June 4, 2003, 6:30 AM

Search