Valhalla Legends Forums Archive | Battle.net Bot Development | War3 Problem on 0x51 [Fixed]

AuthorMessageTime
PaiD
Ok I am usin the w3 code that was released a few days ago. I can send 0x51 just fine but when ever I do I get sent back &H101 and I cant understand why.
[code]
Private Function Send0x51(Hash As String, MPQName As String, SessionID As Long)
Dim Version As Long, CheckRevision As Long, checksum As Long
Dim exeinfo As String, ClientKey As Long
Dim lngProdID As Long, lngValue1 As Long
Dim OutBuffer As String
ClientKey = GetTickCount()
exeinfo = Space(256)
CheckRevision = z(HashPath & ExeName, HashPath & "Storm.dll", HashPath & "Game.dll", Hash, Version, checksum, exeinfo, MPQName)
If CheckRevision = 0 Then
AddC vbRed, "Hashes did not pass CheckRevision."
frmMain.sckBNCS.Close
Exit Function
End If
exeinfo = PBuffer.KillNull(exeinfo)
Call DecodeHashCDKey(BNCS.Cdkey, ClientKey, ServerToken, lngProdID, lngValue1, OutBuffer)
With PBuffer
.InsertDWORD ClientKey
.InsertDWORD Version
.InsertDWORD checksum
.InsertDWORD &H1
.InsertDWORD &H0
.InsertDWORD Len(BNCS.Cdkey)
.InsertDWORD lngProdID
.InsertDWORD lngValue1
.InsertDWORD &H0
.InsertNonNTString OutBuffer
.InsertNTString exeinfo
.InsertNTString Bot.Title
.SendPacket &H51
End With
End Function
[/code]
July 13, 2004, 2:42 AM
ChR0NiC
Let's see your KillNull function
July 13, 2004, 2:49 AM
PaiD
[code]
Public Function KillNull(ByVal Text As String) As String
Dim i As Integer
i = InStr(1, Text, Chr(0))
If i = 0 Then
KillNull = Text
Exit Function
End If
KillNull = Left(Text, i - 1)
End Function
[/code]
July 13, 2004, 2:50 AM
ChR0NiC
I am 100% baffled as to why it does not work, so all I can suggest is that your using the wrong exe's or an older version.

Edit: You won't get my 100% attention with this post, because Yoni is pretty angry involving the whole W3 hash thing, so I won't comment all that much. I may help with the cdkey/checkrevision part, but definitely not the password part, which I know will give many people some problems.
July 13, 2004, 2:56 AM
UserLoser.
Exactly what I expected to happen from this. People taking the code having no clue how to use it, expecting it to work.
July 13, 2004, 2:58 AM
ChR0NiC
[quote author=UserLoser. link=board=17;threadid=7689;start=0#msg70112 date=1089687505]
Exactly what I expected to happen from this. People taking the code having no clue how to use it, expecting it to work.
[/quote]

I suggest providing no help on this topic because it is obviously not worthy of 98% of the users who will come across it. GosuGaming and BaddBlood were banned due to it's exposure (I believe), so no help shall be given.

PS: Fix that ugly 0x51....I've seen it about 999999 times when people ask for help on 0x51. I am getting sick of seeing it, and although it works, it's really YUCKY >:(
July 13, 2004, 3:02 AM
Newby
[quote author=UserLoser. link=board=17;threadid=7689;start=0#msg70112 date=1089687505]
Exactly what I expected to happen from this. People taking the code having no clue how to use it, expecting it to work.
[/quote]
What do you expect? 95% of the boards can't code a bot from scratch, they expect anything in a DLL to work.
July 13, 2004, 3:14 AM
PaiD
Ok after I recoded 0x51 I still got the error &h101 and I found out the prob was with my hashes :'( but problem fixed now and now I am movin on.

Edit: BaDDBLooD found out my problem and also helped with 0x51
July 13, 2004, 6:52 AM
ChR0NiC
I told you to check the hashes in my first post, why does it take everybody so long to try my suggestions >:(

Edit: My mistake, it was in my second post.
July 13, 2004, 6:59 AM
PaiD
sry I didnt think it was the problem b/c I was told the hashes were uptodate
July 13, 2004, 7:00 AM
Quarantine
I told everyone in channel to use the link I gave out silly.
July 13, 2004, 7:01 AM
PaiD
I would like to give a thx to the ppl who helped me on this and to the ppl who made the dlls
July 13, 2004, 8:31 AM
iago
[quote author=DueL link=board=17;threadid=7689;start=0#msg70150 date=1089707497]
I would like to give a thx to the ppl who helped me on this and to the ppl who made the dlls
[/quote]

You're thanking people whose stolen code you're using...
July 13, 2004, 12:25 PM
PaiD
well I thought it was nice of me to say thx.
July 13, 2004, 12:44 PM
Factor
iago , open source is good for people programming , because it gives them more to look at and if you're bitching about DueL using someone else's code look at Bill Gates before you bitch at other people first!
July 13, 2004, 1:18 PM
iago
[quote author=Factor link=board=17;threadid=7689;start=0#msg70160 date=1089724688]
iago , open source is good for people programming , because it gives them more to look at and if you're bitching about DueL using someone else's code look at Bill Gates before you bitch at other people first!
[/quote]

You clearly don't know me. I'm an open source zealot, 98% of the time. I love open source. But it's _stealing_ that I don't agree with. And the war3 login code was _stolen_.
July 13, 2004, 1:46 PM
Factor
Well I thought it was open source.... I did not know that someone stole the source and leaked it out.
July 13, 2004, 2:17 PM
PaiD
Factor I see your new https://davnit.net/bnet/vL/phpbbs/index.php?board=17;action=display;threadid=7657

Edit: Read that to see what has happened
July 13, 2004, 2:28 PM
DaRk-FeAnOr
[quote author=iago link=board=17;threadid=7689;start=15#msg70162 date=1089726364]
[quote author=Factor link=board=17;threadid=7689;start=0#msg70160 date=1089724688]
iago , open source is good for people programming , because it gives them more to look at and if you're bitching about DueL using someone else's code look at Bill Gates before you bitch at other people first!
[/quote]

You clearly don't know me. I'm an open source zealot, 98% of the time. I love open source. But it's _stealing_ that I don't agree with. And the war3 login code was _stolen_.
[/quote]
Not true. Iago is a spy sent by the man. He continuously spreads pro-Microsoft propaganda and chastises me for programming in Java, saying that it supports Terrorism by ruining our economy :'(.
July 13, 2004, 3:19 PM
iago
[quote author=DaRk-FeAnOr link=board=17;threadid=7689;start=15#msg70173 date=1089731963]
[quote author=iago link=board=17;threadid=7689;start=15#msg70162 date=1089726364]
[quote author=Factor link=board=17;threadid=7689;start=0#msg70160 date=1089724688]
iago , open source is good for people programming , because it gives them more to look at and if you're bitching about DueL using someone else's code look at Bill Gates before you bitch at other people first!
[/quote]

You clearly don't know me. I'm an open source zealot, 98% of the time. I love open source. But it's _stealing_ that I don't agree with. And the war3 login code was _stolen_.
[/quote]
Not true. Iago is a spy sent by the man. He continuously spreads pro-Microsoft propaganda and chastises me for programming in Java, saying that it supports Terrorism by ruining our economy :'(.
[/quote]

You just said the exact opposite of everything I believe in >:'-(
July 13, 2004, 4:06 PM
hismajesty
[quote author=DaRk-FeAnOr link=board=17;threadid=7689;start=15#msg70173 date=1089731963]
[quote author=iago link=board=17;threadid=7689;start=15#msg70162 date=1089726364]
[quote author=Factor link=board=17;threadid=7689;start=0#msg70160 date=1089724688]
iago , open source is good for people programming , because it gives them more to look at and if you're bitching about DueL using someone else's code look at Bill Gates before you bitch at other people first!
[/quote]

You clearly don't know me. I'm an open source zealot, 98% of the time. I love open source. But it's _stealing_ that I don't agree with. And the war3 login code was _stolen_.
[/quote]
Not true. Iago is a spy sent by the man. He continuously spreads pro-Microsoft propaganda and chastises me for programming in Java, saying that it supports Terrorism by ruining our economy :'(.
[/quote]

Next time I see iago on webcam I'll be sure to look for this hanging in the background. :P
July 13, 2004, 4:32 PM
ChR0NiC
[quote author=hismajesty[yL] link=board=17;threadid=7689;start=15#msg70180 date=1089736323]
Next time I see iago on webcam I'll be sure to look for this hanging in the background. :P
[/quote]

HOLY **** !!! :-\
July 13, 2004, 9:03 PM

Search