• Welcome to Valhalla Legends Archive.
 

IX86ver mpq update?

Started by Ringo, August 22, 2006, 05:25 PM

Previous topic - Next topic

Ringo

All the IX86verX.mpq's have updated on west?
I cant logon any sc* client with the old checkrevision :(
Im wundering if the file number hash number thingys have changed?
Anyone know what they are up to? :P

Jman

#1
I don't know... but I just noticed this aswell.

edit: It seems that a legit client will download the new mpq's with the file transfer thing before it makes the check revision... it seems that it is doing this on east also though the check is not failing there.

raylu

StealthBot connecting:
00000000  01                                               .
00000001  ff 50 3a 00 00 00 00 00  36 38 58 49 50 58 45 53 .P:..... 68XIPXES
00000011  cf 00 00 00 00 00 00 00  00 00 00 00 68 01 00 00 ........ ....h...
00000021  09 04 00 00 09 04 00 00  55 53 41 00 55 6e 69 74 ........ USA.Unit
00000031  65 64 20 53 74 61 74 65  73 00 ff 25 08 00 00 00 ed State s..%....
00000041  00 00                                            ..
                                                                              00000000  ff 25 08 00 e3 7a da 10                          .%...z..
                                                                              00000008  ff 50 63 00 00 00 00 00  34 6c c2 de 74 1e 00 00 .Pc..... 4l..t...
                                                                              00000018  00 de c6 10 b0 bd c6 01  49 58 38 36 76 65 72 34 ........ IX86ver4
                                                                              00000028  2e 6d 70 71 00 41 3d 33  31 38 39 33 33 32 36 33 .mpq.A=3 18933263
                                                                              00000038  20 42 3d 38 37 35 39 37  30 31 33 31 20 43 3d 34  B=87597 0131 C=4
                                                                              00000048  32 34 37 35 31 37 34 31  20 34 20 41 3d 41 5e 53 24751741  4 A=A^S
                                                                              00000058  20 42 3d 42 2b 43 20 43  3d 43 2b 41 20 41 3d 41  B=B+C C =C+A A=A
                                                                              00000068  5e 42 00                                         ^B.
00000043  ff 51 6c 00 97 7e 15 74  01 00 0e 01 bc 65 52 87 .Ql..~.t .....eR.
00000053  01 00 00 00 00 00 00 00  0d 00 00 00 01 00 00 00 ........ ........
00000063  c4 e1 5b 00 00 00 00 00  90 4c 17 1f da 5e 7e 61 ..[..... .L...^~a
00000073  d4 63 5e df 08 f4 bc 41  5e 97 ca 6c 53 74 61 72 .c^....A ^..lStar
00000083  63 72 61 66 74 2e 65 78  65 20 30 35 2f 31 30 2f craft.ex e 05/10/
00000093  30 36 20 30 30 3a 31 33  3a 35 38 20 31 32 31 36 06 00:13 :58 1216
000000A3  35 31 32 00 4c 61 67 67  69 6e 67 00             512.Lagg ing.
                                                                              0000006B  ff 51 09 00 01 01 00 00  00                      .Q...... .


The official client connecting:
00000000  01                                               .
00000001  ff 50 3a 00 00 00 00 00  36 38 58 49 50 58 45 53 .P:..... 68XIPXES
00000011  cf 00 00 00 53 55 6e 65  c0 a8 00 03 68 01 00 00 ....SUne ....h...
00000021  09 04 00 00 09 04 00 00  55 53 41 00 55 6e 69 74 ........ USA.Unit
00000031  65 64 20 53 74 61 74 65  73 00                   ed State s.
                                                                              00000000  ff 25 08 00 d1 45 03 fb                          .%...E..
0000003B  ff 25 08 00 d1 45 03 fb                          .%...E..
                                                                              00000008  ff 50 62 00 00 00 00 00  f4 58 f6 b8 4c 2e 00 00 .Pb..... .X..L...
                                                                              00000018  00 de c6 10 b0 bd c6 01  49 58 38 36 76 65 72 34 ........ IX86ver4
                                                                              00000028  2e 6d 70 71 00 41 3d 33  31 37 39 33 38 31 34 33 .mpq.A=3 17938143
                                                                              00000038  20 42 3d 36 38 36 39 39  32 31 37 32 20 43 3d 38  B=68699 2172 C=8
                                                                              00000048  38 38 31 30 37 38 32 20  34 20 41 3d 41 5e 53 20 8810782  4 A=A^S
                                                                              00000058  42 3d 42 2b 43 20 43 3d  43 2d 41 20 41 3d 41 2b B=B+C C= C-A A=A+
                                                                              00000068  42 00                                            B.
00000043  ff 51 6a 00 43 1a 27 56  01 00 0e 01 18 68 30 51 .Qj.C.'V .....h0Q
00000053  01 00 00 00 00 00 00 00  0d 00 00 00 01 00 00 00 ........ ........
00000063  a4 52 2e 00 00 00 00 00  70 ca 11 32 f0 e0 61 9d .R...... p..2..a.
00000073  33 b2 0a 34 8a d4 8b fd  6f cd ae 49 73 74 61 72 3..4.... o..Istar
00000083  63 72 61 66 74 2e 65 78  65 20 30 35 2f 31 30 2f craft.ex e 05/10/
00000093  30 36 20 30 30 3a 31 33  3a 35 38 20 31 32 31 36 06 00:13 :58 1216
000000A3  35 31 32 00 72 61 79 6c  75 00                   512.rayl u.
                                                                              0000006A  ff 51 09 00 00 00 00 00  00                      .Q...... .
Pie?

Hdx

IX86ver.dll.zip
Maby you can shed some light?
Only current game that is working for bots is D2 and D2XP.
DRTL/DSHR/W2BN arnt even working >.<
~-~(HDX)~-~

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

Jman

Yeah.. I noticed D2 is still working. Perhaps they are planning on doing some patch or resetting the ladder (as many people expect to happen soon)? It wouldn't make much sense that would be the reason but I dunno.

l2k-Shadow

Does anyone know how to correctly call the CheckRevision inside the ix86ver.dll?
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

Ringo

Hmm, i was tinkering with it ages ago, but cant seem to find the code, but i can remember that its called exacly the same as checkrevision.dll or bnetauth.dll's check revision function if that helps :p
I think i had problems with the value returned tho, probly because of vb6 data types :o
Iv uploaded the old and new ver1.dlls here, so hopfully somone can find out the differnce.

Im thinking its just the seed value thingy that each ver number has hardcoded, that have changed, because both files are exacly the same size.

Worrying thought tho, even if they are just testing somthing  :-\

l2k-Shadow

i tried calling it like bnetauth's call and it crashed so that's not the correct way :(
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

Ringo

With or with out the file name/number? :P
I think its like
String In -- File1
String In -- File2
String In -- File3
String In -- Formula
Long Out -- Ver
Long Out -- Checksum
String Out -- Exe info
And the file number would be for the IX86verX.mpq

l2k-Shadow

#9
Quote from: Ringo on August 22, 2006, 07:55 PM
With or with out the file name/number? :P
I think its like
String In -- File1
String In -- File2
String In -- File3
String In -- Formula
Long Out -- Ver
Long Out -- Checksum
String Out -- Exe info
And the file number would be for the IX86verX.mpq


Private Declare Function CR Lib "ix86ver0.dll" Alias "CheckRevision" (ByVal FileExe As String, ByVal FileStormDll As String, ByVal FileBnetDll As String, ByVal HashText As String, ByRef Version As Long, ByRef Checksum As Long, ByRef ExeInfo As String) As Long

Private Sub Form_Load()
Dim c&, ex$, v&, Files(2) As String, hash$, r&
    Files(0) = App.Path & "\STAR\starcraft.exe"
    Files(1) = App.Path & "\STAR\storm.dll"
    Files(2) = App.Path & "\STAR\battle.snp"
    hash = "A=189790454 B=107955712 C=107303329 4 A=A-S B=B+C C=C-A A=A-B"
    r = CR(Files(0), Files(1), Files(2), hash, v, c, ex)
    MsgBox Hex(c)
End Sub


I tried including the last arguement too with the file number, no luck.
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

Hdx

You guys do know that you have to patch the .dll so that it dosen't look for the game running...
~-~(HDX)~-~

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

l2k-Shadow

Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

Ringo

Quote from: l2k-Shadow on August 22, 2006, 08:01 PM

Private Declare Function CR Lib "ix86ver0.dll" Alias "CheckRevision" (ByVal FileExe As String, ByVal FileStormDll As String, ByVal FileBnetDll As String, ByVal HashText As String, ByRef Version As Long, ByRef Checksum As Long, ByRef ExeInfo As String) As Long

Private Sub Form_Load()
Dim c&, ex$, v&, Files(2) As String, hash$, r&
    Files(0) = App.Path & "\STAR\starcraft.exe"
    Files(1) = App.Path & "\STAR\storm.dll"
    Files(2) = App.Path & "\STAR\battle.snp"
    hash = "A=189790454 B=107955712 C=107303329 4 A=A-S B=B+C C=C-A A=A-B"
    r = CR(Files(0), Files(1), Files(2), hash, v, c, ex)
    MsgBox Hex(c)
End Sub


I tried including the last arguement too with the file number, no luck.
Ah, initialize the exe info buffer :)

Quote from: HdxBmx27 on August 22, 2006, 08:04 PM
You guys do know that you have to patch the .dll so that it dosen't look for the game running...
~-~(HDX)~-~
Ah ha, could that explain why i always got a checksum back nothing like what SC was inserting into its packets?
Iv got a gut feeling all bots may have to support this soon :P

Eric

Quote[18:13:29] Basic Battle.net Binary Bot v2.00 Beta Build: 339
[18:13:29] Copyright (C) 2005 Eric Evans
[18:13:31] Connecting to Battle.net game server...
[18:13:31] Connected to Battle.net game server; negotiating...
[18:13:31] IX86ver4.mpq requires an update; downloading...
[18:13:31] Successfully entered chat environment as: Euphoric[nK]

I knew that would come in handy sooner or later... it seems to just be the individual keys that were changed.  I must depart, but if when I return no one has discovered them, I'll check for them.

Hdx

SC: Crev(0, A=997208940 B=47093520 C=970034789 4 A=A^S B=B^C C=C+A A=A-B) = 0xA8E5C798

JBLS: Crev(0, A=997208940 B=47093520 C=970034789 4 A=A^S B=B^C C=C+A A=A-B) = 0x388E2CEE

The've changed something. Looking more into it. Possibly jsut the seeds, I hope so.
Also this would mean we have to change the BNLS protocol to be told what server the bot is using, because East till uses the old files.
~-~(HDX)~-~

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