• Welcome to Valhalla Legends Archive.
 

Packet 0x4A

Started by c0ol, May 29, 2003, 01:07 AM

Previous topic - Next topic

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.

dxoigmn

#1
Quote
SID_EXTRAWORKMPQ (0x4a)

(STRING)     Platform Specific ExtraWork MPQ Filename

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 :\.

Camel

if you're sending 0x4a, why would you get 0x4b as a response? wouldn't you get 0x4a?

UserLoser

#3
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...

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.

dxoigmn

Quote from: Camel on May 29, 2003, 06:53 AM
if you're sending 0x4a, why would you get 0x4b as a response? wouldn't you get 0x4a?

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.

c0ol

do u have a log of 0x4b?

dxoigmn

#7
Quote from: c0ol on May 29, 2003, 07:09 PM
do u have a log of 0x4b?


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]"..


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.

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

tA-Kane

By the way, 0x4A has been discussed about on these forums before.
http://forum.valhallalegends.com/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?
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

Skywing

#10
Quote from: tA-Kane on June 01, 2003, 07:56 PM
By the way, 0x4A has been discussed about on these forums before.
http://forum.valhallalegends.com/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?
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.

Zorm

However if you have disabled sending of this info, sc just checks if the extrawork file is current and doesn't send 0x4b?
"Now, gentlemen, let us do something today which the world make talk of hereafter."
- Admiral Lord Collingwood

Skywing

Quote from: zorm on June 02, 2003, 03:31 PM
However if you have disabled sending of this info, sc just checks if the extrawork file is current and doesn't send 0x4b?
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).

Arta

How is it enabled/disabled by the user?

Skywing

Quote from: Arta[vL] on June 04, 2003, 12:57 AM
How is it enabled/disabled by the user?
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.