Author | Message | Time |
---|---|---|
ChR0NiC | [code]Public Declare Function X Lib "BnetAuth.dll" _ (ByVal outbuf As String, ByVal password As String) As Long Public Sub CreateAccount(Username As String, password As String) Dim Result As Boolean Dim Hash As String Hash = String(5 * 4, vbNullChar) Result = X(Hash, password) If Result = True Then packetbuf.InsertNonNTString Hash packetbuf.InsertNTString Username packetbuf.SendPacket frmMain.sckBnet, &H3D addText "Created " & Username & "/" & password & " successfully!", AtomicGreen Else addText "Error: Failed to create the account " & Username, AtomicRed frmMain.sckBnet.Close End If End Sub[/code] I hope this will help anyone who is trying to get the "Create Account" to work. | November 25, 2003, 3:11 AM |
Turbo | [quote author=ChR0NiC link=board=17;threadid=3833;start=0#msg31289 date=1069729897] [code]Public Declare Function X Lib "BnetAuth.dll" _ (ByVal outbuf As String, ByVal password As String) As Long Public Sub CreateAccount(Username As String, password As String) Dim Result As Boolean Dim Hash As String Hash = String(5 * 4, vbNullChar) Result = X(Hash, password) If Result = True Then packetbuf.InsertNonNTString Hash packetbuf.InsertNTString Username packetbuf.SendPacket frmMain.sckBnet, &H3D addText "Created " & Username & "/" & password & " successfully!", AtomicGreen Else addText "Error: Failed to create the account " & Username, AtomicRed frmMain.sckBnet.Close End If End Sub[/code] I hope this will help anyone who is trying to get the "Create Account" to work. [/quote] I already posted code for account creation like a few days ago. | November 25, 2003, 3:13 AM |
ChR0NiC | [quote author=Turbo link=board=17;threadid=3833;start=0#msg31290 date=1069730016] I already posted code for account creation like a few days ago. [/quote] I just wanted to feel special ;D Don't take that away from me >:( | November 25, 2003, 3:16 AM |
Soul Taker | ANd 90% of it is done by a dll neither of you made, so hush. | November 25, 2003, 3:48 PM |
ObsidianWolf | and how much of the code is original? | November 25, 2003, 7:50 PM |
St0rm.iD | probably from ethbot. | November 25, 2003, 8:35 PM |
ObsidianWolf | not too much original code floating out there these days. | November 25, 2003, 8:49 PM |
dRAgoN | [quote author=UserLoser. link=board=17;threadid=3833;start=0#msg31441 date=1069803497] [quote author=Soul Taker link=board=17;threadid=3833;start=0#msg31350 date=1069775281] ANd 90% of it is done by a dll neither of you made, so hush. [/quote] Who originally made BnetAuth.dll? [/quote] Zorm did. | November 26, 2003, 2:37 PM |
MesiaH | wrong, Stu did, and he gave the source to zorm (BTW i still have the original BnetAuth.dll source if anybody wants it) Stu decided to go ahead and release it, then Raihan and other people got there hands on it, and now u see those lame functions named A and C and whatever else is in them. [me=MesiaH]feels like a history teacher :-D[/me] | November 26, 2003, 7:15 PM |
Bannable | [quote author=MesiaH link=board=17;threadid=3833;start=0#msg31707 date=1069874136] wrong, Stu did, and he gave the source to zorm (BTW i still have the original BnetAuth.dll source if anybody wants it) Stu decided to go ahead and release it, then Raihan and other people got there hands on it, and now u see those lame functions named A and C and whatever else is in them. [me=MesiaH]feels like a history teacher :-D[/me] [/quote] I would like to see how BnetAuth.dll works, I haven't been able to figure out how to do the stuff it does yet :-\ | November 30, 2003, 5:45 PM |
Zakath | It's simply a DLL written in C++ containing implementations of various functions used during the logon process. It contains Yobguls' CheckRevision function, for example, although it exports it as 'Z' for some idiotic reason. Everything in it is available to the public, I think. There have almost certainly been additions to this library since the revision of the source that I have, but I doubt there have been any significant alterations to it aside from that. | December 1, 2003, 2:34 AM |
MesiaH | For those of you who have PM'ed me and are interested in the somewhat original source to BnetAuth.dll, please visit this thread: https://davnit.net/bnet/vL/phpbbs/index.php?board=30;action=display;threadid=3986 | December 1, 2003, 6:02 AM |
Maddox | IIRC, bnetauth was compiled by stu from code from the old botdev forum. | December 2, 2003, 6:49 AM |