Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: l2k-Shadow on December 11, 2004, 07:15 PM

Title: Packet 0x4A ?
Post by: l2k-Shadow on December 11, 2004, 07:15 PM
I have never seen this before but lately I have been receiving packet 0x4A when logging in. I receive it right after i receive 0x51. After packet logging, it seems that it containts a Null-terminated string "IX86ExtraWork.mpq".
Anyone have any idea what does is the purpose of this packet/what does the mpq do?
Title: Re: Packet 0x4A ?
Post by: BaDDBLooD on December 11, 2004, 07:18 PM
It get's information from your system if your using a real blizzard game.  If you checked that little box "send computer statistics to blizzard", that's how they get it.
Title: Re: Packet 0x4A ?
Post by: l2k-Shadow on December 11, 2004, 07:19 PM
o i c thanks
Title: Re: Packet 0x4A ?
Post by: Mephisto on December 11, 2004, 09:09 PM
You may also get the packet unrecognized error on SphtBotv3:
Unrecognized BNCS packet SID_004A received:
0000:  49 58 38 36 45 78 74 72 61 57 6F 72 6B 2E 6D 70   IX86ExtraWork.mp
0010:  71 00                                             q.
Title: Re: Packet 0x4A ?
Post by: iago on December 11, 2004, 10:15 PM
On my old bot, I just put a notification: "It wants to to download <file>.  Ignoring it."
Title: Re: Packet 0x4A ?
Post by: Soul Taker on December 11, 2004, 11:38 PM
Quote from: iago on December 11, 2004, 10:15 PM
On my old bot, I just put a notification: "It wants to to download <file>.  Ignoring it."
I do that, and check the FILETIME on the file, so the server will think I already have an up-to-date version.
Title: Re: Packet 0x4A ?
Post by: UserLoser. on December 11, 2004, 11:51 PM
That's probably the best idea is to just display that Battle.net sent you an optional request.  IIRC, if you do call it and return the results to Battle.net, they have to be sent before you log onto an account.  Battle.net sends you the optional ExtraWork request after a successful cdkey and version check.  Most bots that I've seen and/or used attempt to log onto their account after a successful cdkey and/or version check; so you would have to delay your logon and wait to see if Battle.net has sent you any such request before making your logon attempt.
Title: Re: Packet 0x4A ?
Post by: Zakath on December 12, 2004, 02:35 AM
Or you could just ignore it.
Title: Re: Packet 0x4A ?
Post by: iago on December 12, 2004, 01:03 PM
It gets sent to an error log if I ignore it.  It probably does on other bots too.  You should at least handle it somehow, even if you just handle it and do nothing.
Title: Re: Packet 0x4A ?
Post by: Zakath on December 12, 2004, 01:19 PM
That's what I meant by "ignore it." Create a handler that just does nothing.