Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: oldskooldrew on September 05, 2004, 10:55 PM

Title: [VB] - Profile Setting problems...
Post by: oldskooldrew on September 05, 2004, 10:55 PM
With thise code i dont get the age set, and i think, not sure, but i dont receive the age to people either.




Public Sub SetProfile(strUser As String)

   Dim PacketBuf As New PacketBuffer
   With PacketBuf
       .InsertDWORD 1
       .InsertDWORD 4
       .InsertNTString strUser
       .InsertNTString "profile\sex"
       .InsertNTString "profile\age"
       .InsertNTString "profile\location"
       .InsertNTString "profile\description"
       .InsertNTString txtSex.Text
       .InsertNTString txtAge.Text
       .InsertNTString txtLocation.Text
       .InsertNTString txtDescription.Text
       .SendPacket frmBot.winsck, &H27
   End With
   Unload Me
End Sub

i'm not sure exactly, i know some things have changed since i was last programming for bnet, but im pretty sure i changed it to suit bnet.
Title: Re:[VB] - Profile Setting problems...
Post by: DeTaiLs on September 05, 2004, 11:12 PM
b.net got rid of the age setting
Title: Re:[VB] - Profile Setting problems...
Post by: oldskooldrew on September 06, 2004, 12:55 AM
Okay, that very well could be the problem. Any info as to why?
Title: Re:[VB] - Profile Setting problems...
Post by: Falcon[anti-yL] on September 06, 2004, 01:09 AM
Age on the internet... shouldn't be that hard to figure out why :P
Title: Re:[VB] - Profile Setting problems...
Post by: Stealth on September 06, 2004, 03:03 AM
Has something to do with COPPA.