Valhalla Legends Forums Archive | Battle.net Bot Development | CSB BNLS Authorization

AuthorMessageTime
MaGiC_MaN456
Hey- I've just started trying to set up a bot program using the CSB OCX, and im waiting to get an ID and such. I've been setting up a simple program so far, writing code for all the events and such before I can use it. When I try to connect right now, it runs only the BNLS connect, connecting, and disconnect events. I thought that it would go to the BNLS authorization event also, then disconnect me.

Quick Simple Example:
[code]
Private Sub CSB_BnetConnected()
Text1.Text = Text1.Text & "BNET Connected!" & vbNewLine
End Sub

Private Sub CSB_BNLSAuthEvent(Success As Boolean)
If Success = True Then
Text1.Text = Text1.Text & "Authorized" & vbNewLine
Else
Text1.Text = Text1.Text & "Unauthorized" & vbNewLine
End If
End Sub

Private Sub CSB_BNLSConnected()
Text1.Text = Text1.Text & "BNLS Connected!" & vbNewLine
End Sub

Private Sub CSB_BNLSConnecting()
Text1.Text = Text1.Text & "BNLS Connecting" & vbNewLine
End Sub

Private Sub CSB_BNLSDisconnected()
Text1.Text = Text1.Text & "Disconnected" & vbNewLine
End Sub

Private Sub Form_Load()
With CSB
.BNLSBotID = ""
.BNLSBotPassword = ""
.CDKey = ""
.Product = "RATS"
.HomeChannel = Channel
.Password = "**********"
.Username = "magicman456"
.Server = "uswest.battle.net"
.Accept = "579728"
.Disconnect
.Connect
End With
End Sub
[/code]

Am I missing a csb property or do I just need an Id/Password to reach the authorization event?? Any help would be very very nice!
July 24, 2003, 11:56 PM
Camel
You need a BNLS id/password -- bug Skywing or Yoni.
July 24, 2003, 11:59 PM
MaGiC_MaN456
Thanks, I'll keep trying at it!
July 24, 2003, 11:59 PM
hismajesty
you also need a cd key i beleive :-\
July 25, 2003, 12:01 AM
Camel
[quote author=hismajesty link=board=17;threadid=2062;start=0#msg15956 date=1059091262]
you also need a cd key i beleive :-\
[/quote]

That comes later.
July 25, 2003, 12:14 AM

Search