Author | Message | Time |
---|---|---|
FOH-Master | Hi, I am a bit of a new at VB but im taking classes and getting better at it. I was reading cupheads tutorial of how to build a bot and noticed he had a line in his code .accept= i was wondering if any one couls tell me what it meant. Thanks FOH-Master | August 2, 2003, 11:57 AM |
iago | It would help a lot if you put it in context. Post the code around it. | August 2, 2003, 12:11 PM |
FOH-Master | With CleanSlateBot1 .Accept 579728 .BNLSBotID = "Hatrix" .BNLSBotPassword = "HatrixCity" .CDKey = "2819352424070" .ChangePassword = False .Character = "" .HomeChannel = "op ootd" .LODKey = "AAAABBBBCCCCDDDD" .NewPassword = "None" .Password = "oscar" .Product = "PXES" .Realm = "USEast" .Server = "useast.battle.net" .UseRealm = False .Username = "kilaz-e-diablo" .UseUDP = False End With End Sub | August 2, 2003, 12:33 PM |
______ | thx for the cdkey >< note in future dont post the cdkey or pass to your name just mark it out instead of posting it up .accept is a "password" of sorts that stops people from using cleanslatebot.ocx. | August 2, 2003, 12:50 PM |
Adron | [quote author=FOH-Master link=board=17;threadid=2177;start=0#msg16818 date=1059827633] .CDKey = "2819352424070" .LODKey = "AAAABBBBCCCCDDDD" [/quote] Please fill in D2 key + LOD key and repost ;) | August 2, 2003, 1:13 PM |
FOH-Master | thanks for the info. by the way i took that code ages ago and i think that cd key is banned. ;D | August 2, 2003, 1:15 PM |
FOH-Master | [quote author=Adron link=board=17;threadid=2177;start=0#msg16820 date=1059830018] [quote author=FOH-Master link=board=17;threadid=2177;start=0#msg16818 date=1059827633] .CDKey = "2819352424070" .LODKey = "AAAABBBBCCCCDDDD" [/quote] Please fill in D2 key + LOD key and repost ;) [/quote] dont have those keys sorry. lol. im a fool | August 2, 2003, 1:15 PM |
______ | its not banned im on it right now | August 2, 2003, 1:17 PM |
FOH-Master | [quote author=___/\___ link=board=17;threadid=2177;start=0#msg16823 date=1059830270] its not banned im on it right now [/quote] glad u like it. i dont play sc nemore so i dont mind. im a warcraft 3 fan all the way. besides i have a few keys for sc. | August 2, 2003, 1:21 PM |
hismajesty | [quote author=FOH-Master link=board=17;threadid=2177;start=0#msg16818 date=1059827633] .HomeChannel = "op ootd" [/quote] I've never seen you in ootd...whats your aka..other than kilaz-e-diablo?? | August 2, 2003, 4:23 PM |
FOH-Master | demonzrulezuz | August 2, 2003, 5:06 PM |
FuZe | Not sure exactly what accept does for csb but for the server side of the winsock control, if you want to accept a connectionrequest the format is object.Accept requestID The object placeholder represents an object expression that evaluates to an object in the Applies To list. Data Type Long Return Value Void Remarks The Accept method is used in the ConnectionRequest event. The ConnectionRequest event has a corresponding argument, the RequestID parameter, that should be passed to the Accept method. The Accept method should be used on a new control instance (other than the one that is in the listening state.) To do this, at design time, set the Index of a single Winsock control to 0. An example is shown below: Private Sub Winsock1_ConnectionRequest _ (Index As Integer, ByVal requestID As Long) ' Close the connection if it is currently open ' by testing the State property. If Winsock1.State <> sckClosed Then Winsock1.Close ' Load a new instance of the control to service the connection. ' The variable newInstanceIndex maintains the current index of the ' next connection to load - this way we don't accidently use an ' index already created. Remember to Unload the control when the ' connection is closed Load Winsock1(newInstanceIndex) ' Pass the value of the requestID parameter to the ' Accept method. Winsock1.Accept requestID End Sub :) (from MSDN) | August 2, 2003, 8:01 PM |
FOH-Master | as i said im a bit of a newb but i kinda get what you mean. thanks for the info fuze- | August 3, 2003, 10:55 AM |
iago | I think Fuze's response is totally out of context.. he's talking about WSock32.accept(), not CSB.accept | August 3, 2003, 10:35 PM |