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
It would help a lot if you put it in context. Post the code around it.
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
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.
Quote from: FOH-Master on August 02, 2003, 07:33 AM
.CDKey = "2819352424070"
.LODKey = "AAAABBBBCCCCDDDD"
Please fill in D2 key + LOD key and repost ;)
thanks for the info. by the way i took that code ages ago and i think that cd key is banned. ;D
Quote from: Adron on August 02, 2003, 08:13 AM
Quote from: FOH-Master on August 02, 2003, 07:33 AM
.CDKey = "2819352424070"
.LODKey = "AAAABBBBCCCCDDDD"
Please fill in D2 key + LOD key and repost ;)
dont have those keys sorry. lol. im a fool
its not banned im on it right now
Quote from: ___/\___ on August 02, 2003, 08:17 AM
its not banned im on it right now
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.
Quote from: FOH-Master on August 02, 2003, 07:33 AM
.HomeChannel = "op ootd"
I've never seen you in ootd...whats your aka..other than kilaz-e-diablo??
demonzrulezuz
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)
as i said im a bit of a newb but i kinda get what you mean. thanks for the info fuze-
I think Fuze's response is totally out of context.. he's talking about WSock32.accept(), not CSB.accept