• Welcome to Valhalla Legends Archive.
 

CleanSlateBot.ocx: events not firing

Started by timbo, May 25, 2003, 10:22 PM

Previous topic - Next topic

timbo

I cant figure out what's wrong with this picture, maybe someone else can.

With CSB
   .BNLSBotID = "mybnlsid"
   .BNLSBotPassword = "******"
   .CDKey = "****************"
   .ChangePassword = False
   .Character = "none"
   .HomeChannel = "my channel"
   .LODKey = "****************"
   .NewPassword = "None"
   .Password = "*********"
   .Product = "VD2D"
   .Realm = "USEast"
   .Server = "useast.battle.net"
   .UseRealm = False
   .Username = "username"
   .UseUDP = False
   .Accept = 579728
   .Connect
End With


here's some background...

figuring out the accept value had to be 579728 instead of -65 was my first hurdle to get events to fire.  now i can get the BNLS_Connecting, BNLS_Connected, and BNLS_Disconnected events to fire BUT no other events fire.

What I do not understand is why no other events are firing.  I have registered and unregistered the ocx, redownloaded it to make sure it didnt somehow get corrupted and I'm quite clueless of what the problem could be.

I have a debug.print in every event, however im not sure why the others arent firing.  I would assume that if my BNLS account/pass were incorrect then it would return the error as such, or same for incorrect information.  I'm not sure for incomplete information, but I dont know what I could possibly be leaving out.  I'm not ipbanned of BNLS as i can get another cleanslatebot client that I did not compose to connect.

______

#1
Quote from: timbo on May 25, 2003, 10:22 PM


With CSB
   .BNLSBotID = "mybnlsid"
   .BNLSBotPassword = "******"
   .CDKey = "****************"
   .ChangePassword = False
   .Character = "none"
   .HomeChannel = "my channel"
   .LODKey = "****************"
   .NewPassword = "None"
   .Password = "*********"
   .Product = "VD2D"
   .Realm = "USEast"
   .Server = "useast.battle.net"
   .UseRealm = False
   .Username = "username"
   .UseUDP = False
   .Accept = 579728
   .Connect
End With




I have never logged in as d2 or d2x but i think you wanna use realm, and a character that you have in your select character screen

.userealm = true

tA-Kane

Quote from: timbo on May 25, 2003, 10:22 PMnow i can get the BNLS_Connecting, BNLS_Connected, and BNLS_Disconnected events to fire BUT no other events fire.
Verify your Bot ID and password strings are correct.
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

tA-Kane

Quote from: ______ on May 25, 2003, 10:26 PMI have never logged in as d2 or d2x but i think you wanna use realm, and a character that you have in your select character screen
Not using realm will log you in as an open character. Not using realm will (should?) render the character string unused.
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

Banana fanna fo fanna

You set your LOD key, but are using product D2DV.

Tazo

Lol...wheres .usewait = true or false BWAHAHA I WIN

Stealth

#6
Booleans default to false - you don't actually have to set them if they're not going to change.

St0rm, I believe CSB will ignore a D2XP cdkey if the client is D2DV.

Are you recieving any error codes from the BNLS server or socket? Make sure you print the results properly of the _BNLSError and _BNLSAuthEvent subroutines.
- Stealth
Author of StealthBot

timbo

I have tried it with my working keys for XP2D (lod), VD2D (d2), PXES (bw), and RATS (sc).  

yes, booleans default to false. though i have tried it all 3 ways, specifying true, false and not at all.

I'm suspecting BNLS account at this point tho no errors are being returned via the cleanslatebot BNLS auth events.

Kp

Quote from: timbo on May 26, 2003, 11:58 AMI'm suspecting BNLS account at this point tho no errors are being returned via the cleanslatebot BNLS auth events.
What is your BNLS account name?  Do not include password.

Also, try taking a network trace of the activity when you start up.  Check if you successfully reach BNLS, whether it answers you, and what packets (if any) you send to BNCS.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

iago

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


timbo

BNLS account is mfe, Yoni created it friday i think.  traces to come when i get winpcap to work correctly on this machine (trace only picksup outgoing packets atm, clean install of both ethereal and wpcap (new comp))

Quote from: iago on May 26, 2003, 01:24 PM
Also, XP2D is wrong.  Just fyi..

you're right, PX2D it is

tA-Kane

Ethereal works just fine on my mom's Windows XP machine (without a reboot, I might add).
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

timbo

normally it doesnt require a reboot, ill do it after i get home from work (blah)