What is the current "Accept" for CSB? I am using "CleanSlatebot2.ocx" for my BNLS log in and -65 (What is in CupHead's Documentation) causes no effect, and what I found in other bots - 579728 - Causes me to get an invalid version message box to popup.
Do you have a bnls account..
Are you getting all the required information to connect.
Are you righting the clients backwards, like
Starcraft = STAR, so in BNLS its RATS
Quote from: NeTworK on March 25, 2004, 08:17 PM
Do you have a bnls account..
Are you getting all the required information to connect.
Are you righting the clients backwards, like
Starcraft = STAR, so in BNLS its RATS
IIRC, if the Accept value isn't correct, none of this would matter. If the Accept value is incorrect, then CSB will do nothing; if it is correct, and there is a BNLS account or the client is wrong, then you'll get an error, but some stuff will happen for the connection process.
Speaking from my own extensive experience with CleanSlateBot, I have never seen it pop up a messagebox of any kind.
Is your code creating this messagebox? As Myndfyre correctly stated, CSB will just not do anything if you have an incorrect Accept value.
I do not have any message boxes being created, and had yoni create me a BNLS account yesterday - and all my information is being passed to CSB correctly, I made sure of this several times. What happens is If I use the accept value in Cuphead's documentation(-65) nothing happens,.
If I use the value I found in sources supposedly explaining how to use CSB(579728) then it will do this:
MsgBox "Invalid Version!", vbCritical, "Error"
Quote[11:45:51 AM] Connecting to Battle.net...
[11:45:51 AM] Connected to Battle.Net!
[11:45:51 AM] Connection to Battle.Net Closed.
Now, what I don't understand, is there are NO messageboxes in my code whatsoever. I did a search for them. Therefore I can deduce that this is CSB's doing, and not my own.
The code for my messages are as follows:
Private Sub C_BnetConnected()
AddC Me.Chat, vbGreen, "Connected to Battle.Net!"
End Sub
Private Sub C_BnetConnecting()
AddC Me.Chat, vbYellow, "Connecting to Battle.net..."
End Sub
Private Sub C_BnetDisconnected()
AddC Me.Chat, vbRed, "Connection to Battle.Net Closed."
End Sub
And yes I have checked to make sure I'm telling it what client to use. PXES, and SEXP - tried them both but no effect. And yes I'm using a good valid SC Key.
Quote from: Dyndrilliac on March 26, 2004, 10:52 AM
MsgBox "Invalid Version!", vbCritical, "Error"
Now, what I don't understand, is there are NO messageboxes in my code whatsoever.
That what's the messagebox you just quoted? *confused*
That's not in my code, that's what the message box would look like were the message box in my code - and it is not present.
I simply was stating that it(The MessageBox) had the Error Message of "Invalid Version!", the vbCritical MessageBox Icon, and the Messagebox WindowCaption of "Error".
Edit: Nevermind. found the problem, I made a typo on my LoadConfig sub.
Quote from: Dyndrilliac on March 26, 2004, 02:39 PM
That's not in my code, that's what the message box would look like were the message box in my code - and it is not present.
I simply was stating that it(The MessageBox) had the Error Message of "Invalid Version!", the vbCritical MessageBox Icon, and the Messagebox WindowCaption of "Error".
Edit: Nevermind. found the problem, I made a typo on my LoadConfig sub.
Gotta love those ignorant typos, even though they are not ignorant.
Side Question:
What is the purpose of the CSB.Accept 5##...?
Quote from: CrAz3D on March 26, 2004, 04:56 PM
Quote from: Dyndrilliac on March 26, 2004, 02:39 PM
That's not in my code, that's what the message box would look like were the message box in my code - and it is not present.
I simply was stating that it(The MessageBox) had the Error Message of "Invalid Version!", the vbCritical MessageBox Icon, and the Messagebox WindowCaption of "Error".
Edit: Nevermind. found the problem, I made a typo on my LoadConfig sub.
Gotta love those ignorant typos, even though they are not ignorant.
Side Question:
What is the purpose of the CSB.Accept 5##...?
It was originally intended to prevent morons from using CSB if CupHead didn't give them the value.
Quote from: Dyndrilliac on March 25, 2004, 06:03 PM
What is the current "Accept" for CSB? I am using "CleanSlatebot2.ocx" for my BNLS log in and -65 (What is in CupHead's Documentation) causes no effect, and what I found in other bots - 579728 - Causes me to get an invalid version message box to popup.
Just help the guy out......here you go
CleanSlateBot1.Accept = 579728
There is no "hyphin" or minus sign
Quote from: ChR0NiC on March 26, 2004, 05:39 PM
Quote from: Dyndrilliac on March 25, 2004, 06:03 PM
What is the current "Accept" for CSB? I am using "CleanSlatebot2.ocx" for my BNLS log in and -65 (What is in CupHead's Documentation) causes no effect, and what I found in other bots - 579728 - Causes me to get an invalid version message box to popup.
Just help the guy out......here you go
CleanSlateBot1.Accept = 579728
There is no "hyphin" or minus sign
You may have not noticed, but I stated earlier I had fixed the problem already. Lol.