• Welcome to Valhalla Legends Archive.
 

Can someone help me with this?

Started by Blood, September 15, 2006, 02:06 PM

Previous topic - Next topic

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.

Hdx

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)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

Blood

Quote from: HdxBmx27 on September 15, 2006, 02:26 PM
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)~-~
Damn, I coulda swore thats the only thing that could give me a no hashes problem. 2 seconds, ill get a packet log.

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 -_-

Hdx

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)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

Blood

Nonono, read my first post :) 2 secs ill use WPE.

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.


Hdx

Quote from: HdxBmx27 on September 15, 2006, 03:21 PM
thats because you don't have the hash files!
Go download them!
~-~(HDX)~-~
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)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

Blood

Quote from: HdxBmx27 on September 15, 2006, 03:44 PM
Quote from: HdxBmx27 on September 15, 2006, 03:21 PM
thats because you don't have the hash files!
Go download them!
~-~(HDX)~-~
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)~-~
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?

Hdx

Quote from: Blood on September 15, 2006, 03:51 PM
%....'..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?
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)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

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.

Blood

Quote from: HdxBmx27 on September 15, 2006, 04:14 PM
Quote from: Blood on September 15, 2006, 03:51 PM
%....'..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?
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)~-~
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 :-/

Hdx

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)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

Blood

Quote from: HdxBmx27 on September 15, 2006, 04:37 PM
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)~-~
It uses bnetauth.dll, he said it had something to do with that. So no ideas? :-/

Hdx

Quote from: Blood on September 15, 2006, 04:40 PM
Quote from: HdxBmx27 on September 15, 2006, 04:37 PM
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)~-~
It uses bnetauth.dll, he said it had something to do with that. So no ideas? :-/
Yes, bnetauth no longer works. Tell him to upgrade to bncsutil and release a new ver of the bot.
~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status