• Welcome to Valhalla Legends Archive.
 

D2DV

Started by pianka, April 26, 2003, 02:55 PM

Previous topic - Next topic

pianka

What happened to to Diablo II original...did they patch the verbyte like they did starcraft...? It says the hashes or version data is wrong, did they patch it or something...grrr...

Camel

#1
it works fine. do exactly what you do for d2xp, except send 'D2DV' instead of 'D2XP'

[edit] err, don't send your d2xp cd key though =P

pianka

Quote from: Camel on April 26, 2003, 03:39 PM
[edit] err, don't send your d2xp cd key though =P
lol, its my hashes, they are too old

pianka

Well... maybe it isn't look at this response I got from trying to load D2DV:

[18:02:16] Unknown Verification Return Value, may need to upgrade game client.

Wtf is that shit, they must have changed the verbyte or SOMETHING...could it still be my hashes, I just downloaded the d2 ones from liquid phlux... it only said diablo 2, it might have been the expansion hashes...? hmm who knows....

Tazo

get them from www.madz.tk. The exp ones on madz are old, though. The original are fine. Also, what bot are you using...

tA-Kane

Quote from: PiaNKA on April 26, 2003, 05:06 PMI just downloaded the d2 ones from liquid phlux... it only said diablo 2, it might have been the expansion hashes...? hmm who knows....
Try D2XP and see if the hashes work.
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

pianka

Few things:
1) Got it to load D2DV
2) Can't figure out D2XP login sequence, and bnet docs is down :(
3) I downloaded the ones from madz.tk instead, and they worked (obviously)
4) I'm using Chat Nine, a bot that I made...I am now working on statstring parsing and D2 realm stuff (Not working well, cept the statstring parsing, thats working fine)
Uh... I think that's it :)

Camel

#7
               Select Case GetID
                   Case "PX2D"
                       KeyCount = 2
                       hashout = HashThisCDKey(frmSetup.Cdkey, seed) & _
                                 HashThisCDKey(frmSetup.Cdkey2, seed)
                   Case Else
                       KeyCount = 1
                       hashout = HashThisCDKey(frmSetup.Cdkey, seed)
               End Select
               
               hashout = _
                   MKL(KeyCount) & _
                   MKL(IIf(frmSetup.Spawn, 1, 0)) & _
                   hashout
               
               SendPacket &H51, _
                   MKL(seed) & _
                   MKL(version) & _
                   MKL(CheckSum) & _
                   hashout & _
                   ExeInfo & Chr(0) & _
                   Left(frmSetup.uLogin, 15) & Chr(0)


that's the only difference, IIRC correctly, between D2DV and D2XP

[edit] obviously, you have to send 'D2XP' instead of 'D2DV' though =P

[edit2] that should say 'D2DV' instead of 'D2XP' (> .<)

pianka

I got it, lol, it wasn't my code, it was the binaries, and I've yet to figure out the D2XP logon sequence. I looked at a bunch of public sources, but they all look completely different from each other, and my source. I wish BNET Docs might get itself up one of these days... *COUGH*

Zakath

You understand the hashing process and what data you send that pertains to the CD-Key in packet 0x51?

If so, set the CD-Key count to 2 instead of 1, and send the 2nd CD-Key immediately after the first. That's the only difference.
Quote from: iago on February 02, 2005, 03:07 PM
Yes, you can't have everybody...contributing to the main source repository.  That would be stupid and create chaos.

Opensource projects...would be dumb.

Camel

+1 to zak for repeating what i said and not calling himself "st0rm"

Banana fanna fo fanna


Tazo

Quote from: Camel on April 28, 2003, 09:41 PM
+1 to zak for repeating what i said and not calling himself "st0rm"
I don't get it either ^^