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.
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
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.
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.
You set your LOD key, but are using product D2DV.
Lol...wheres .usewait = true or false BWAHAHA I WIN
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.
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.
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.
Also, XP2D is wrong. Just fyi..
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
Ethereal works just fine on my mom's Windows XP machine (without a reboot, I might add).
normally it doesnt require a reboot, ill do it after i get home from work (blah)