Valhalla Legends Forums Archive | Battle.net Bot Development | Really dumb question so laugh at me and answer plz

AuthorMessageTime
Blade_360
:-[Ok I'm using CleanSlateBot.ocx I've gotten everything programmed except for the Connect and disconnect button
I have:

[code]Private Sub Connect_Click()
   CleanSlateBot1.Connect
End Sub[/code]

But it won't connect for some reason when I click the button nothing happens ??? could someone give me the correct code? Thanks. :)

Edit - Please use the [ code ] and [ /code ] tags when posting source code samples in the future. Thanks.
December 19, 2002, 7:53 PM
Skywing
I'd guess that you haven't set the Accept value of the control correctly.
December 20, 2002, 9:31 AM
Blade_360
Well Simi helped me with that what I'm having trouble with now is the Send stuff heres what I got
[code]Private Sub Send_Click()
CleanSlateBot1.Send chattxt.Text
End Sub [/code] I know thats wrong but if it wouldn't be too much trouble if they could give me the correct code.
December 20, 2002, 6:45 PM
dRAgoN
http://cuphead.valhallalegends.com/ocx_me.txt

This may help.

~l)ragon
December 20, 2002, 7:18 PM
Blade_360
I've used that like a billion times and read it over and over. Doesn't have all the stuff I want though
December 20, 2002, 8:53 PM
dRAgoN
[code]
Private Sub Connect_Click()
   CleanSlateBot1.Disconnect
   CleanSlateBot1.Connect
End Sub
[/code]

should work fine unless cup changed his ocx in someway 8\

~l)ragon
December 20, 2002, 10:42 PM

Search