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:
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
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!
You need a BNLS id/password -- bug Skywing or Yoni.
Thanks, I'll keep trying at it!
you also need a cd key i beleive :-\
Quote from: hismajesty on July 24, 2003, 07:01 PM
you also need a cd key i beleive :-\
That comes later.