robpaveza / jinxbot

Automatically exported from code.google.com/p/jinxbot
0 stars 0 forks source link

KeyHashPart returns negative integer 6/10 times - Warden Interface #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
IF YOU HAVE AN ISSUE WITH BN#, PLEASE ATTACH A WIRESHARK PACKET CAPTURE
(*.cap) THAT DEMONSTRATES THE PROBLEM.  WIRESHARK CAN BE DOWNLOADED FROM
http://www.wireshark.org/.  WITHOUT A WIRESHARK PACKET CAPTURE FOR PROBLEMS
RELATING TO BN#, THE ISSUE WILL BE MARKED AS INVALID.

What steps will reproduce the problem?
1. Init Warden Interface
2. Debug out Keyhashpart
3. Profit

What is the expected output? What do you see instead?
KeyHashPart needs to be a non negative integer.

What version of the product are you using? On what operating system?
Newest build from repository.

Please provide any additional information below.
Let me know when its fixed. - Lead[x86]

Original issue reported on code.google.com by jeff.sh...@gmail.com on 7 Sep 2009 at 11:18

GoogleCodeExporter commented 9 years ago
Closing as invalid.  According to documentation at 
http://www.jinxbot.net/bns/html/M_BNSharp_Plugins_IWardenModule_InitWarden.htm.

The key hash part provided is a 32-bit integral interpretation of the first 
four 
bytes of the CD key hash sent to Battle.net.  Depending on the entropy of the 
hash, 
if the most significant byte is greater than or equal to 0x80, the integer 
value 
will be negative.

Original comment by myndf...@valhallalegends.com on 8 Sep 2009 at 8:54