Valhalla Legends Archive

Programming => Battle.net Bot Development => BnetDocs Research and Discussion => Topic started by: Joe[x86] on December 15, 2005, 12:27 AM

Title: SID_REQUIREDWORK
Post by: Joe[x86] on December 15, 2005, 12:27 AM
http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=430

First, the field name is ExtraWork MPQ name. Perhaps you mean RequiredWork MPQ?

Again, for "extract ExtraWork.dll and call the ExtraWork function inside of it."

Also, requestID 0x80000006 (RequiredWork) isn't documented here (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=40).

EDIT -
If the second DWORD of SID_GETFILETIME is always null, it might actually be a QWORD. Also, what do the brackets around icons.bni indicate? Last but not least, the requestID's are all out of order =p
Title: Re: SID_REQUIREDWORK
Post by: UserLoser. on December 16, 2005, 12:35 AM
Quote from: Joe on December 15, 2005, 12:27 AM
http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=430

First, the field name is ExtraWork MPQ name. Perhaps you mean RequiredWork MPQ?

Again, for "extract ExtraWork.dll and call the ExtraWork function inside of it."

Also, requestID 0x80000006 (RequiredWork) isn't documented here (http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=40).

EDIT -
If the second DWORD of SID_GETFILETIME is always null, it might actually be a QWORD. Also, what do the brackets around icons.bni indicate? Last but not least, the requestID's are all out of order =p

The filename will be IX86ExtraWork.mpq.  So no it's fine saying ExtraWork MPQ.
Title: Re: SID_REQUIREDWORK
Post by: Joe[x86] on December 16, 2005, 07:47 AM
The RequiredWork DLL is in the ExtraWork MPQ? Hm.

According to the page on SID_REQUIREDWORK, the SID_GETFILETIME request ID for the file is 0x80000006. Is this a mistype of 0x80000005 (ExtraWork), or did someone forget to document it?
Title: Re: SID_REQUIREDWORK
Post by: UserLoser. on December 16, 2005, 03:19 PM
Quote from: Joe on December 16, 2005, 07:47 AM
The RequiredWork DLL is in the ExtraWork MPQ? Hm.

According to the page on SID_REQUIREDWORK, the SID_GETFILETIME request ID for the file is 0x80000006. Is this a mistype of 0x80000005 (ExtraWork), or did someone forget to document it?

The purpose of the SID_REQUIREDWORK message is the client downloads the ExtraWork MPQ regardless, and the SID_EXTRAWORK message is the client downloads the ExtraWork MPQ depending on HKEY_CURRENT_USER\Software\Battle.net\Optimize\SysDesc
Title: Re: SID_REQUIREDWORK
Post by: Joe[x86] on December 17, 2005, 12:34 PM
Oh, so its the exact same work, the only difference is wheather or not is required? I see now.

On the EXTRAWORK page, it says to use Request ID 0x80000006, though, and thats not documented in GETFILETIME.
Title: Re: SID_REQUIREDWORK
Post by: MyndFyre on December 17, 2005, 03:45 PM
Quote from: Joe on December 17, 2005, 12:34 PM
Oh, so its the exact same work, the only difference is wheather or not is required? I see now.

On the EXTRAWORK page, it says to use Request ID 0x80000006, though, and thats not documented in GETFILETIME.

REQUIREDWORK isn't *required*, but it's supposed to be done regardless of the value of a particular registry key.  EXTRAWORK is dependent on the value of the registry setting.