Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: AzN on January 23, 2004, 11:51 PM

Title: Create Account & Change Password
Post by: AzN on January 23, 2004, 11:51 PM
Is there also a way to make the bot stay connected and create accounts?
Title: Re:Create Account & Change Password
Post by: Soul Taker on January 24, 2004, 04:24 AM
Quote from: AzN on January 23, 2004, 11:51 PM
Is there also a way to make the bot stay connected and create accounts?
Look up.
Title: Re:Create Account & Change Password
Post by: o.OV on January 24, 2004, 08:16 AM
Is X the same as CreateAccount ?


Public Declare Function Singly Lib "BnetAuth.dll" Alias "CreateAccount" (ByVal outbuf As String, ByVal Password As String) As Long

Public Sub CreateAccount(ByVal Username As String, ByVal Password As String)
   Dim Hash As String
   Hash = String(5 * 4, vbNullChar)
   If Singly(Hash, Password) Then
       pBuffer.InsertNTString Hash
       pBuffer.NTString Username
       pBuffer.sendPacket &H3D
       Else
       'error: result unexpected
   End If
End Sub
Title: Re:Create Account & Change Password
Post by: Fr0z3N on January 24, 2004, 08:48 AM
No.
Title: Re:Create Account & Change Password
Post by: o.OV on January 24, 2004, 09:00 AM
Quote from: Fr0z3N on January 24, 2004, 08:48 AM
No.

I thought it was.. Oh well. :-\
Title: Re:Create Account & Change Password
Post by: o.OV on January 24, 2004, 09:15 AM
Prophet.

One major error I see is..
You closed the connection immediately after calling the Sub SendCreateAccount.
You did not give Battle.Net a chance to reply to Packet 0x3D therefore making Case &H3D obsolete.
Title: Re:Create Account & Change Password
Post by: o.OV on January 24, 2004, 06:45 PM
This topic was started by Prophet..

What happened to the first half of the posts?

Glitch in the forums or did someone modiify something?
Title: Re:Create Account & Change Password
Post by: Soul Taker on January 24, 2004, 11:09 PM
Quote from: o.OV on January 24, 2004, 06:45 PM
This topic was started by Prophet..

What happened to the first half of the posts?

Glitch in the forums or did someone modiify something?
I'm going to guess someone split the topic since the first half was posted in August IIRC.
Title: Re:Create Account & Change Password
Post by: Kp on January 25, 2004, 12:12 AM
Quote from: Soul Taker on January 24, 2004, 11:09 PMI'm going to guess someone split the topic since the first half was posted in August IIRC.

Correct.  The split would not have been necessary if AzN had not resurrected an ancient topic that was resting peacefully.
Title: Re:Create Account & Change Password
Post by: Networks on January 29, 2004, 08:46 AM
Can u just logon and the create and change passwords to accounts or is there a packet or w/e you need to stop or not send to be able to create and change account/passwords?
Title: Re:Create Account & Change Password
Post by: o.OV on January 29, 2004, 09:09 AM
Quote from: Networks on January 29, 2004, 08:46 AM
Can u just logon and the create and change passwords to accounts or is there a packet or w/e you need to stop or not send to be able to create and change account/passwords?

So long as you don't send the packet to LOGIN to Battle.Net with a username and password.. you can create_accounts/change_passwords.
Title: Re:Create Account & Change Password
Post by: Networks on January 29, 2004, 10:28 AM
ok thanx
Title: Re:Create Account & Change Password
Post by: Mesiah / haiseM on January 31, 2004, 03:17 PM
really? if thats the case, anybody could create mass accounts easily... interesting.
Title: Re:Create Account & Change Password
Post by: Kp on January 31, 2004, 03:20 PM
Quote from: MesiaH on January 31, 2004, 03:17 PM
really? if thats the case, anybody could create mass accounts easily... interesting.

Presuming there are no checks against this, yes, they could.  However, without consuming the requisite two hours, the accounts would be rather short lived.  I expect the server does or soon will require that you log in after creating an account, since real clients do so automatically anyway.  Only bots would be affected by a rule which bans for doing non-login things after a successful account create, afaik.