• Welcome to Valhalla Legends Archive.
 

CSB Question

Started by Dyndrilliac, March 25, 2004, 06:03 PM

Previous topic - Next topic

Dyndrilliac

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.
Quote from: Edsger W. DijkstraIt is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.

NeTworK

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

MyndFyre

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.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Stealth

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.
- Stealth
Author of StealthBot

Dyndrilliac

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: Edsger W. DijkstraIt is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.

iago

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*
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Dyndrilliac

#6
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: Edsger W. DijkstraIt is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.

CrAz3D

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##...?
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

MyndFyre

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.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

ChR0NiC

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

Dyndrilliac

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.
Quote from: Edsger W. DijkstraIt is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.