• Welcome to Valhalla Legends Archive.
 

HELP

Started by TriCk, November 21, 2003, 10:46 PM

Previous topic - Next topic

TriCk

I found this in an old post...


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


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....

l)ragon

X is a function in bnetauth.dll
*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*ˆ¨¯¯¨ˆ*^~·.,l)ragon,.-·~^*ˆ¨¯¯¨ˆ*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*

TriCk

Thanks can you tell me what one...?
The Declare for it

iago

This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


TriCk

So...
Private Declare Function X Lib "bnetauth.dll" ... THEN WHAT...?

Lord-Vegito

#5

Public Declare Function x Lib "bnetauth.dll" Alias "X" (ByVal outbuf As String, ByVal Password As String) As Long


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?

hismajesty

#6
Quote from: LoRd]VeGiTo[ on November 23, 2003, 05:21 PM
Edit: y does it say my posts are at -3? how the heck do u get negative posts?

Posting in certain forums which don't increase post count iirc.