Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: PaiD on August 04, 2005, 03:27 PM

Title: 0x51 Wrong product
Post by: PaiD on August 04, 2005, 03:27 PM
What causes this error in 0x51.
0x203: Wrong product

It has done this sometimes using a valid w3 key with client as WAR3, any ideas?
Title: Re: 0x51 Wrong product
Post by: UserLoser. on August 04, 2005, 07:10 PM
Supply a valid product
Title: Re: 0x51 Wrong product
Post by: Topaz on August 04, 2005, 08:11 PM
Did you reverse the product string?
Title: Re: 0x51 Wrong product
Post by: UserLoser. on August 04, 2005, 10:08 PM
Quote from: Topaz on August 04, 2005, 08:11 PM
Did you reverse the product string?

There are no such strings that are to be reversed
Title: Re: 0x51 Wrong product
Post by: Topaz on August 04, 2005, 10:53 PM
DWORD.
Title: Re: 0x51 Wrong product
Post by: dxoigmn on August 04, 2005, 10:57 PM
Quote from: Topaz on August 04, 2005, 10:53 PM
DWORD.

Quote from: google define: DWORD
Definitions of  DWORD on the Web:

    * Double word, ie 4 bytes on x86.
      www.kernelhacking.org/docs/kernelhacking-HOWTO/indexs17.html

    * Double word. A data element that is 2 words, 4 bytes, or 32 bits in size.
      www.ti.com/sc/docs/products/msp/intrface/usb/terms.htm

    * A portion of memory, usually a variable, which has a length of four bytes. The term dword is given to anything which is four bytes in length. Literally, a dword is a "double word." Back
      www.pietschsoft.com/programming/vbapi/ref/glossary.html

I don't see string nor reverse.
Title: Re: 0x51 Wrong product
Post by: Eric on August 04, 2005, 11:07 PM
If your key is indeed valid then you're either sending SID_AUTH_CHECK incorrectly or your CD-Key decoding algorithims are flawed.  Yes, it's a vague answer, but it was also a vague question.
Title: Re: 0x51 Wrong product
Post by: Topaz on August 04, 2005, 11:30 PM
Recall how you have to send WAR3 as 3RAW to battle.net? Same thing with STAR -> RATS.
Title: Re: 0x51 Wrong product
Post by: Warrior on August 04, 2005, 11:45 PM
That's only if you decide to use the trick to get around sending a DWORD by sending a non null terminated string reversed (which ends up a DWORD)
Title: Re: 0x51 Wrong product
Post by: Eric on August 05, 2005, 12:26 AM
Quote from: Warrior on August 04, 2005, 11:45 PM
That's only if you decide to use the trick to get around sending a DWORD by sending a non null terminated string reversed (which ends up a DWORD)

People who consider a "non-null terminated string" to be a valid datatype shouldn't expect to make a working bot.
Title: Re: 0x51 Wrong product
Post by: Lenny on August 05, 2005, 01:18 AM
Let's not go through this topic over and over again ad nauseam.

Topaz, read Sizes & Types in BnetDocs and do some searches in the forum.