Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: brew on March 30, 2008, 07:05 PM

Title: BnetAuth CheckRevision
Post by: brew on March 30, 2008, 07:05 PM
Is there any reason for BnetAuth's implementation of CheckRevision would succeed, but produce an invalid checksum for WAR3 CR requests? It does pad the files, i checked.
It produces 0xdd585324 for the checksum when I pass "ver-IX86-5.mpq" for the mpq name, and
"B=2951995818 A=2013111097 C=2841202106 4 A=A^S B=B^C C=C+A A=A-B" for the checksum formula. BNCSUtil's checksum for the same parameters is very different (and correct according to the server), yet this exact same cr algorithm works just perfect with diablo 2. Any ideas? And yes, i am using up-to-date hash files.
Title: Re: BnetAuth CheckRevision
Post by: UserLoser on March 31, 2008, 09:08 AM
using right version byte?
Title: Re: BnetAuth CheckRevision
Post by: brew on March 31, 2008, 02:58 PM
Quote from: UserLoser on March 31, 2008, 09:08 AM
using right version byte?
yes