• Welcome to Valhalla Legends Archive.
 

[VB6] CleanSlateBot - subscript out of range

Started by TangoFour, July 11, 2004, 06:06 AM

Previous topic - Next topic

PaiD

Quote from: l3alla on July 11, 2004, 08:52 PM
Tango, our you using GetStuff code? If so then make sure the info you put in your source is the same in config.ini. for ex

GetStuff("Da`BoT", "User")
Make sure Da`BoT is in your config ex.
[Da`BoT]
Username=BLAH
Password=BLAH an so on
Hope this maby helps

if he used that, he would need to do GetStuff("Da`BoT", "Username")

ChR0NiC

Quote from: l3alla on July 11, 2004, 08:52 PM
Tango, our you using GetStuff code? If so then make sure the info you put in your source is the same in config.ini. for ex

GetStuff("Da`BoT", "User")
Make sure Da`BoT is in your config ex.
[Da`BoT]
Username=BLAH
Password=BLAH an so on
Hope this maby helps

Um........he got  Run Time Error 9 which means Subscript out of range, meaning the CSB is trying to access an array index which has not been set. So, thanks for your suggestions, but that has absolutely nothing to do with anything.

PaiD

I know it has nothing do to with his problem but if he did want to use your idea he might want to have it error free

BinaryzL

Quote from: ChR0NiC on July 11, 2004, 09:22 PM
Quote from: l3alla on July 11, 2004, 08:52 PM
Tango, our you using GetStuff code? If so then make sure the info you put in your source is the same in config.ini. for ex

GetStuff("Da`BoT", "User")
Make sure Da`BoT is in your config ex.
[Da`BoT]
Username=BLAH
Password=BLAH an so on
Hope this maby helps

Um........he got  Run Time Error 9 which means Subscript out of range, meaning the CSB is trying to access an array index which has not been set. So, thanks for your suggestions, but that has absolutely nothing to do with anything.

If you read what duel said maybe you wouldn't be writting this..

TangoFour

Thank you for your replies - the GetStuff code hasn't given me problems so far, so I'd like to think that's a done deal

I've also found a bit of information about the Login Sequence in another post, I'll work from there.

TangoFour

Ok, I'm facing a bit of a dilemma here...

I'm currently in the process of writing a BNLS-based Battle.net bot in VB from scratch, however, since I'm new to VB, this isn't exactly going perfectly.

While working, I created a little program in Java to test the stuff my bot sends out, and while doing so, I realised I can just as easily make the bot in Java, since I'm far more experienced with that language.

So here's the dilemma:
_ Do I switch to Java due to better understanding of the language and greater chance of succes?
_ Do I continue with VB for the learning opportunity?

Your opinion please

ChR0NiC

Do it in Java, Visual Basic is a language that will corrupt you. If you need some example bot projects in Java ask iago, and I'm sure he will help you out.

MyndFyre

Quote from: TangoFour on July 13, 2004, 05:35 PM
Ok, I'm facing a bit of a dilemma here...

I'm currently in the process of writing a BNLS-based Battle.net bot in VB from scratch, however, since I'm new to VB, this isn't exactly going perfectly.

While working, I created a little program in Java to test the stuff my bot sends out, and while doing so, I realised I can just as easily make the bot in Java, since I'm far more experienced with that language.

So here's the dilemma:
_ Do I switch to Java due to better understanding of the language and greater chance of succes?
_ Do I continue with VB for the learning opportunity?

Your opinion please

Let me answer for iago before he sees this:

Go Java!  Go Java!

(eww I feel dirty now).

But Java > VB.  ;)
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.