Valhalla Legends Forums Archive | Battle.net Bot Development | Can someone help me with this?

AuthorMessageTime
Blood
K well, my bot is giving me a No Hashes? error. This didnt happen until the mpq update blizzard made, im not stupid or anything so I know my hash files are up to date, and that they are put in the proper place, due to ive been running this bot forever until the mpq updates. Can someone give me an update on these? I'm 99% sure this will fix the problem, if not can someone tell me what can?

Private Const CLIENT_D2XP As Long = &H44325850
Private Const ARCH_IX86 As Long = &H49583836

I appreciate the help, thanks. It's quite obvious, but this is for D2XP.
September 15, 2006, 7:06 PM
HdxBmx27
That prolly has nothing to do with your problem.
Also, those two values are correct.
Why don't you post a packet log or something?
Show us what you're doing.
~-~(HDX)~-~
September 15, 2006, 7:26 PM
Blood
[quote author=HdxBmx27 link=topic=15711.msg158111#msg158111 date=1158348360]
That prolly has nothing to do with your problem.
Also, those two values are correct.
Why don't you post a packet log or something?
Show us what you're doing.
~-~(HDX)~-~
[/quote]Damn, I coulda swore thats the only thing that could give me a no hashes problem. 2 seconds, ill get a packet log.
September 15, 2006, 7:32 PM
Blood
These are the only packets I get towards bnet when I click connect

0000  00 40 63 c7 15 ed 00 0d  72 e1 25 51 08 00 45 00  .@c..... r.%Q..E.
0010  00 30 c7 dc 00 00 6e 06  82 28 3f f0 ca 8a 48 92  .0....n. .(?...H.
0020  af b6 17 e0 09 f5 94 38  b6 36 c9 fc 8f 76 70 12  .......8 .6...vp.
0030  ff ff ba 94 00 00 02 04  05 b4 01 01 04 02        ........ ...... 

0000  00 40 63 c7 15 ed 00 0d  72 e1 25 51 08 00 45 00  .@c..... r.%Q..E.
0010  00 28 c8 7f 00 00 6e 06  81 8d 3f f0 ca 8a 48 92  .(....n. ..?...H.
0020  af b6 17 e0 09 f5 94 38  b6 37 c9 fc 8f b1 50 10  .......8 .7....P.
0030  ff c4 e7 58 00 00 00 00  00 00 00 00              ...X.... ....   

0000  00 40 63 c7 15 ed 00 0d  72 e1 25 51 08 00 45 00  .@c..... r.%Q..E.
0010  00 8f c8 84 00 00 6e 06  81 21 3f f0 ca 8a 48 92  ......n. .!?...H.
0020  af b6 17 e0 09 f5 94 38  b6 3f c9 fc 8f b1 50 18  .......8 .?....P.
0030  ff c4 02 3f 00 00 ff 50  67 00 00 00 00 00 71 a2  ...?...P g.....q.
0040  51 d0 46 0e 00 00 00 20  58 7d 99 cb c6 01 76 65  Q.F....  X}....ve
0050  72 2d 49 58 38 36 2d 31  2e 6d 70 71 00 43 3d 32  r-IX86-1 .mpq.C=2
0060  31 30 35 37 30 31 38 34  37 20 42 3d 38 30 39 34  10570184 7 B=8094
0070  35 30 31 38 36 20 41 3d  33 37 38 37 30 30 32 35  50186 A= 37870025
0080  36 39 20 34 20 41 3d 41  2d 53 20 42 3d 42 5e 43  69 4 A=A -S B=B^C
0090  20 43 3d 43 5e 41 20 41  3d 41 2d 42 00            C=C^A A =A-B. 

0000  00 40 63 c7 15 ed 00 0d  72 e1 25 51 08 00 45 00  .@c..... r.%Q..E.
0010  00 30 c8 83 00 00 6e 06  81 81 3f f0 ca 8a 48 92  .0....n. ..?...H.
0020  af b6 17 e0 09 f5 94 38  b6 37 c9 fc 8f b1 50 18  .......8 .7....P.
0030  ff c4 01 38 00 00 ff 25  08 00 23 c5 bb 25        ...8...% ..#..% 

0000  00 40 63 c7 15 ed 00 0d  72 e1 25 51 08 00 45 00  .@c..... r.%Q..E.
0010  00 28 c9 64 00 00 6e 06  80 a8 3f f0 ca 8a 48 92  .(.d..n. ..?...H.
0020  af b6 17 e0 09 f5 94 38  b6 a6 c9 fc 8f b2 50 10  .......8 ......P.
0030  ff c4 e6 e8 00 00 00 00  00 00 00 00              ........ .... 

0000  00 40 63 c7 15 ed 00 0d  72 e1 25 51 08 00 45 00  .@c..... r.%Q..E.
0010  00 28 c9 65 00 00 6e 06  80 a7 3f f0 ca 8a 48 92  .(.e..n. ..?...H.
0020  af b6 17 e0 09 f5 94 38  b6 a6 c9 fc 8f b2 50 11  .......8 ......P.
0030  ff c4 e6 e7 00 00 00 00  00 00 00 00              ........ ....

I see the mpq is the old type, I was almost sure I fixed that... thats possibly the problem -_-
September 15, 2006, 7:49 PM
HdxBmx27
please use WPE to packet log your program.
Show us both the c->s and the s->c!
Ohh wait...
I'm an idiot you're getting missing hash files error, thats because you don't have the hash files!
Go download them!
~-~(HDX)~-~
September 15, 2006, 8:21 PM
Blood
Nonono, read my first post :) 2 secs ill use WPE.
September 15, 2006, 8:29 PM
Blood
1  72.146.175.182:2602  63.240.202.138:6112  59  Send 
0000  01 FF 50 3A 00 00 00 00 00 36 38 58 49 50 58 32    ..P:.....68XIPX2
0010  44 0B 00 00 00 00 00 00 00 00 00 00 00 60 03 00    D............`..
0020  00 09 04 00 00 09 04 81 7C 55 53 41 00 55 6E 69    ........|USA.Uni
0030  74 65 64 20 53 74 61 74 65 73 00                  ted States.

2  63.240.202.138:6112  72.146.175.182:2602  112  Recv 
0000  FF 25 08 00 A8 BC 27 08 FF 50 68 00 00 00 00 00    .%....'..Ph.....
0010  F2 52 F5 10 DB 20 00 00 00 20 58 7D 99 CB C6 01    .R... ... X}....
0020  76 65 72 2D 49 58 38 36 2D 32 2E 6D 70 71 00 42    ver-IX86-2.mpq.B
0030  3D 32 31 31 35 37 34 30 34 30 38 20 43 3D 33 32    =2115740408 C=32
0040  35 36 30 39 33 30 32 32 20 41 3D 33 39 37 38 38    56093022 A=39788
0050  35 30 35 34 36 20 34 20 41 3D 41 2B 53 20 42 3D    50546 4 A=A+S B=
0060  42 2D 43 20 43 3D 43 2D 41 20 41 3D 41 2D 42 00    B-C C=C-A A=A-B.

September 15, 2006, 8:40 PM
HdxBmx27
[quote author=HdxBmx27 link=topic=15711.msg158117#msg158117 date=1158351717]
thats because you don't have the hash files!
Go download them!
~-~(HDX)~-~
[/quote]
You do not send 0x51 c->S
So this is not a bnet misshap, you have to have the hash files in order to preform the check revision functions. go download them, http://www.luc1fr.com/hdx/hashes/index.php?p=D2XP
~-~(HDX)~-~
September 15, 2006, 8:44 PM
Blood
[quote author=HdxBmx27 link=topic=15711.msg158120#msg158120 date=1158353077]
[quote author=HdxBmx27 link=topic=15711.msg158117#msg158117 date=1158351717]
thats because you don't have the hash files!
Go download them!
~-~(HDX)~-~
[/quote]
You do not send 0x51 c->S
So this is not a bnet misshap, you have to have the hash files in order to preform the check revision functions. go download them, http://www.luc1fr.com/hdx/hashes/index.php?p=D2XP
~-~(HDX)~-~
[/quote]That cant be it, cause this bot has worked past month or more, I know how to put hashes in lol. They worked all the time, til that checkrevision update, then I kept getting No hashes? error. I know its because of the mpq update, cause look at the packet

%....'..Ph.....
0010  F2 52 F5 10 DB 20 00 00 00 20 58 7D 99 CB C6 01    .R... ... X}....
0020  76 65 72 2D 49 58 38 36 2D 32 2E 6D 70 71 00 42    ver-IX86-2.mpq.B
0030  3D 32 31 31 35 37 34 30 34 30 38 20 43 3D 33 32    =2115740408 C=32
0040  35 36 30 39 33 30 32 32 20 41 3D 33 39 37 38 38    56093022 A=39788
0050  35 30 35 34 36 20 34 20 41 3D 41 2B 53 20 42 3D    50546 4 A=A+S B=
0060  42 2D 43 20 43 3D 43 2D 41 20 41 3D 41 2D 42 00    B-C C=C-A A=A-B.

See? thats the old revision, no?
September 15, 2006, 8:51 PM
HdxBmx27
[quote author=Blood link=topic=15711.msg158121#msg158121 date=1158353499]
%....'..Ph.....
0010  F2 52 F5 10 DB 20 00 00 00 20 58 7D 99 CB C6 01    .R... ... X}....
0020  76 65 72 2D 49 58 38 36 2D 32 2E 6D 70 71 00 42    ver-IX86-2.mpq.B
0030  3D 32 31 31 35 37 34 30 34 30 38 20 43 3D 33 32    =2115740408 C=32
0040  35 36 30 39 33 30 32 32 20 41 3D 33 39 37 38 38    56093022 A=39788
0050  35 30 35 34 36 20 34 20 41 3D 41 2B 53 20 42 3D    50546 4 A=A+S B=
0060  42 2D 43 20 43 3D 43 2D 41 20 41 3D 41 2D 42 00    B-C C=C-A A=A-B.

See? thats the old revision, no?
[/quote]
No, it isn't the old format was IX86Ver2.mpq
Please provide a screen shot fo your error.
And what bot are you useing?
~-~(HDX)~-~
September 15, 2006, 9:14 PM
Ersan
The guy who wrote the bot (read: leeched the source) probably called every 'checkrevision failed' error a 'missing hashes' error, because if you don't check for file existence that is what will happen, so he's probably sending the wrong mpqnumber to checkrevision, or it can't handle the new unsigned/64bit integers.
September 15, 2006, 9:20 PM
Blood
[quote author=HdxBmx27 link=topic=15711.msg158122#msg158122 date=1158354884]
[quote author=Blood link=topic=15711.msg158121#msg158121 date=1158353499]
%....'..Ph.....
0010  F2 52 F5 10 DB 20 00 00 00 20 58 7D 99 CB C6 01    .R... ... X}....
0020  76 65 72 2D 49 58 38 36 2D 32 2E 6D 70 71 00 42    ver-IX86-2.mpq.B
0030  3D 32 31 31 35 37 34 30 34 30 38 20 43 3D 33 32    =2115740408 C=32
0040  35 36 30 39 33 30 32 32 20 41 3D 33 39 37 38 38    56093022 A=39788
0050  35 30 35 34 36 20 34 20 41 3D 41 2B 53 20 42 3D    50546 4 A=A+S B=
0060  42 2D 43 20 43 3D 43 2D 41 20 41 3D 41 2D 42 00    B-C C=C-A A=A-B.

See? thats the old revision, no?
[/quote]
No, it isn't the old format was IX86Ver2.mpq
Please provide a screen shot fo your error.
And what bot are you useing?
~-~(HDX)~-~
[/quote]It's just a d2 namebot my friend made, id post s/s but no reason... lol It just says Connecting... then No Hashes? and thats it. But I coulda swore IX86Ver2.mpq was the new one... I think you should look in to that :-/
September 15, 2006, 9:21 PM
HdxBmx27
The problem is the bot. Yell at your friend.
There is nothing else we can do for you.
Trust me kiddo, I have looked into it -.-
~-~(HDX)~-~
September 15, 2006, 9:37 PM
Blood
[quote author=HdxBmx27 link=topic=15711.msg158128#msg158128 date=1158356266]
The problem is the bot. Yell at your friend.
There is nothing else we can do for you.
Trust me kiddo, I have looked into it -.-
~-~(HDX)~-~
[/quote]It uses bnetauth.dll, he said it had something to do with that. So no ideas? :-/
September 15, 2006, 9:40 PM
HdxBmx27
[quote author=Blood link=topic=15711.msg158129#msg158129 date=1158356406]
[quote author=HdxBmx27 link=topic=15711.msg158128#msg158128 date=1158356266]
The problem is the bot. Yell at your friend.
There is nothing else we can do for you.
Trust me kiddo, I have looked into it -.-
~-~(HDX)~-~
[/quote]It uses bnetauth.dll, he said it had something to do with that. So no ideas? :-/
[/quote]
Yes, bnetauth no longer works. Tell him to upgrade to bncsutil and release a new ver of the bot.
~-~(HDX)~-~
September 15, 2006, 9:41 PM
Blood
Okay, ill try that.

Can I get a link to the newest / working version of bncsutil?
September 15, 2006, 9:42 PM
Spilled[DW]
[quote author=Blood link=topic=15711.msg158131#msg158131 date=1158356579]
Okay, ill try that.

Can I get a link to the newest / working version of bncsutil?
[/quote]

HDX is right. It is passing the new mpq filename to checkrevision and its failing. I know this because my old bot used bnetauth and it did this same thing. You can find the new bnetauth.dll a few topics down from this but i recommend yelling at your friend to update to BNCSUtil. The new version of that is a few topics down also.
September 15, 2006, 10:34 PM
Ersan
Uh, I believe I was right, not Hdx!

And it's got nothing to do with the MPQ number it's the new integers.
September 16, 2006, 3:05 AM
Blood
[quote author=Ersan link=topic=15711.msg158168#msg158168 date=1158375932]
Uh, I believe I was right, not Hdx!

And it's got nothing to do with the MPQ number it's the new integers.
[/quote]Can you explain some more? :) Got aim?
September 16, 2006, 5:22 AM
HdxBmx27
https://davnit.net/bnet/vL/index.php?topic=15671.0
That is all you need to know about the changes that were made.
~-~(HDX)~-~
September 16, 2006, 5:35 AM

Search