Valhalla Legends Forums Archive | Battle.net Bot Development | HELP

AuthorMessageTime
TriCk
I found this in an old post...

[code]
Private Sub CreateAccount()
Dim accounthash As String
Dim result As Variant
accounthash = String(5 * 4, vbNullChar)
result = X(accounthash, m_Password)

pBuffer.InsertNonNTString accounthash
pBuffer.InsertNTString m_Username
pBuffer.SendPacket &H3D
End Sub
[/code]

I was wondering what X was...?

Also what packet in vb terms (&H...) do i get the response from..." I know its a DWORD, 0 = Fail and 1 = Success...
I'd like to add text like...
Select Case AccountCreate
Case "0"
TextAdd "Account Creation Failed"
Case "1"
TextAdd "Account Creation Successful!"
End Case

Or Something....
November 22, 2003, 4:46 AM
dRAgoN
X is a function in bnetauth.dll
November 22, 2003, 3:31 PM
TriCk
Thanks can you tell me what one...?
The Declare for it
November 22, 2003, 10:51 PM
iago
[quote author=TriCk link=board=17;threadid=3753;start=0#msg30742 date=1069541490]
Thanks can you tell me what one...?
[/quote]

X.
November 22, 2003, 10:59 PM
TriCk
So...
Private Declare Function X Lib "bnetauth.dll" ... THEN WHAT...?
November 22, 2003, 11:21 PM
Lord-Vegito
[code]
Public Declare Function x Lib "bnetauth.dll" Alias "X" (ByVal outbuf As String, ByVal Password As String) As Long
[/code]

oooo im so uber gosu at copy/pasting!! im bored :(

i havent posted in a long time, i wonder wut my count is at :-\ probly like 3 or 4...

Edit: y does it say my posts are at -3? how the heck do u get negative posts?
November 23, 2003, 11:21 PM
hismajesty
[quote author=LoRd]VeGiTo[ link=board=17;threadid=3753;start=0#msg30962 date=1069629666]
Edit: y does it say my posts are at -3? how the heck do u get negative posts?
[/quote]

Posting in certain forums which don't increase post count iirc.
November 24, 2003, 1:55 AM

Search