Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Jaquio on January 13, 2004, 11:11 PM

Title: Help with BNLS
Post by: Jaquio on January 13, 2004, 11:11 PM
I am in need of help with BNLS I have followed cupheads example but for some odd reason I cannot get it to work. I can get hashes to work just want BNLS also so could someone please help me with this. I would really like the help.
Title: Re:Help with BNLS
Post by: effect on January 13, 2004, 11:24 PM
Sure thing ill help you with your totally unspecific problem!!
Title: Re:Help with BNLS
Post by: Kp on January 14, 2004, 12:01 AM
As Null pointed out somewhat sarcastically, it's going to be a bit hard to help you since you didn't specify anything to work with.  Assuming you're new rather than stupid, here's some things we'll need:

* Language.  I'm guessing VB since you mentioned CupHead's tutorial.
* Specific nature of the problem - can you compile?  Link?  Run?
* What you've tried in order to resolve it.
* What (if any) effect your attempted solutions had on the problem
* Whether you actually have a BNLS login.  Without one, you won't get very far trying to use BNLS.

Answer that list and we'll have enough information someone might be able to give you a good answer.
Title: Re:Help with BNLS
Post by: Jaquio on January 14, 2004, 01:00 AM
yes the language is VB. I can compile and run it, its just my account doenst show up in the channel. I have tried changing things like my cdkeys and servers. It had no effect what so ever on it. Yes I do have a BNLS account.

I hope that helps if not just say so and I will post more.
Title: Re:Help with BNLS
Post by: Gangz on January 14, 2004, 01:04 AM
A specific example maybe? A bit of code that hints us to your direct problem?
Title: Re:Help with BNLS
Post by: Jaquio on January 14, 2004, 01:20 AM
Private Sub Form_Load()
With CleanSlateBot1
   .BNLSBotID = "My BNLS ID"
   .BNLSBotPassword = "My BNLS Pass"
   .CDKey = "My CD-Key"
   .ChangePassword = False
   .Character = ""
   .HomeChannel = "Testing"
   .LODKey = ""
   .NewPassword = "None"
   .Password = "My Password"
   .Product = "PXES"
   .Realm = "USEast"
   .Server = "useast.battle.net"
   .UseRealm = False
   .Username = "My Username"
   .UseUDP = False
End With
End Sub


That is my code thats all I have since im not making anymore until I get BNLS to work. Thats stright from cup heads example and yes I did fill in the correct info.
Title: Re:Help with BNLS
Post by: Adron on January 14, 2004, 01:27 AM
How can someone not get CSB to work?
Title: Re:Help with BNLS
Post by: Jaquio on January 14, 2004, 01:31 AM
Heck if I know that code just doesnt work... It is right isnt it.. If not could someone please help me get it right.
Title: Re:Help with BNLS
Post by: Soul Taker on January 14, 2004, 03:16 AM
Not positive as I've never used CSB, but I've noticed in previous posts people seemed to have to set an Accept value or something similar.
Title: Re:Help with BNLS
Post by: Jaquio on January 14, 2004, 03:50 AM
Quote from: Soul Taker on January 14, 2004, 03:16 AM
Not positive as I've never used CSB, but I've noticed in previous posts people seemed to have to set an Accept value or something similar.

An accept value? What other posts were these they may help.
Title: Re:Help with BNLS
Post by: Gangz on January 14, 2004, 09:49 AM
Straight from cuheads site that you said you used. try to read it completely, because i see something in this code that you do not have


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-=-                                                         -=-
-=- 6.1 Quick Demo                                          -=-
-=-    Create a form, add the OCX to your project, drop one -=-
-=- onto your form.  Then, double click your form and add   -=-
-=- this to Form_Load:                                      -=-
-=-                                                         -=-
-=- CleanSlateBot1.BNLSBotID = "La la la..."                -=-
-=- CleanSlateBot1.BNLSBotPassword = "Nuh uh!"              -=-
-=- CleanSlateBot1.CDKey = "Zorm left his key here.  =X"    -=-
-=- CleanSlateBot1.Product = "PXES"                         -=-
-=- CleanSlateBot1.HomeChannel = "Clan Ze][2o"              -=-
-=- CleanSlateBot1.Password = "Hahaha!  No."                -=-
-=- CleanSlateBot1.Username = "Zorm"                        -=-
-=- CleanSlateBot1.NewPassword = "bleh"                     -=-
-=- CleanSlateBot1.ChangePassword = False                   -=-
-=- CleanSlateBot1.Server = "usw-bna-chat03.battle.net"     -=-
-=- CleanSlateBot1.Accept = -65                             -=-
=-=CleanSlateBot1.Connect                              
That's all it takes.  Assuming you fix the information.

Title: Re:Help with BNLS
Post by: Jaquio on January 14, 2004, 10:27 AM
Hrm... Well guess what here is my code.


Public Sub Form_Load()
CleanSlateBot1.BNLSBotID = "My ID"
CleanSlateBot1.BNLSBotPassword = "My Id Password"
CleanSlateBot1.CDKey = "4???87???28??"
CleanSlateBot1.Product = "PXES"
CleanSlateBot1.HomeChannel = "Testing"
CleanSlateBot1.Password = "??????"
CleanSlateBot1.Username = "?????"
CleanSlateBot1.NewPassword = ""
CleanSlateBot1.ChangePassword = False
CleanSlateBot1.Server = "63.240.202.139"
CleanSlateBot1.Accept = -65
CleanSlateBot1.Connect
End Sub



And it still does not work. I think I am doing something majorly wrong the example says the bot will show up in the channel correct? well it don't do I have to make the rest of the bot before it will work?
Title: Re:Help with BNLS
Post by: Eternal on January 14, 2004, 10:29 AM
Note: I am fairly sure the accept value has changed from "-65". It's a 5 digit number now I think. It *might* be here in the archives somewhere - use the search facility.
Title: Re:Help with BNLS
Post by: Jaquio on January 14, 2004, 10:34 AM
I got it, I re-looked at cupheads example and for some reason I never noticed the .Accept value which is 579728 I not once have ever seen it there...

Oh forgot btw I got it working thanks everyone who helped and I guess since I got it working topic closed.
Title: Re:Help with BNLS
Post by: Meh on January 14, 2004, 02:49 PM
the .accept value is now 579728
Title: Re:Help with BNLS
Post by: MyndFyre on January 15, 2004, 09:30 PM
Quote from: The-Rabid-Lord on January 14, 2004, 02:49 PM
the .accept value is now 579728
lol, thank you Captain Obvious!
Title: Re:Help with BNLS
Post by: Meh on January 16, 2004, 11:33 AM
I didnt read the post before me  :-[