Hi,
This is the first time I am trying out this CleanSlateBot. I am having difficulty having it work at all. I have registered it, and put it into the VB and dropped it into the form. In the form_load function, I have put the following statements:
CleanSlateBot1.Server = "uswest.battle.net"
CleanSlateBot1.Username = "micy_a"
CleanSlateBot1.Password = "MyPassword"
CleanSlateBot1.Product = "PX2D"
CleanSlateBot1.Character = "piky_g"
CleanSlateBot1.CDKey = "MyCDkey"
CleanSlateBot1.LODKey = "MyLoDCDkey"
CleanSlateBot1.Realm = "USWest"
CleanSlateBot1.BNLSBotID = "my BNLS id"
CleanSlateBot1.BNLSBotPassword = "my BNLS password"
CleanSlateBot1.HomeChannel = "Pizza hut"
CleanSlateBot1.UseRealm = True
CleanSlateBot1.Accept = -65
CleanSlateBot1.ChangePassword = False
CleanSlateBot1.Connect
I have also put in alot of Debug.Print Statements inside a lot of the CleanSlateBot events, including the connecting to BNLS and connecting to Battle.net events. Now the problem is none of the events are being fired at all. CleanSlateBot (CSB) is not responding at all. There doesn't seem to be any life comming out of the CSB. Can anybody help?
Probably wrong accept value. Thanks for the cdkeys.
It's not the wrong accept value. The document says it must be -65. Can it be anything else?
Ok, Thanks for Yoni's hint, I found out that by putting 579728 into the accept value instead of -65, the events are firing. Realm connected. Maybe 579728 is the unsigned version of -65. Too lazy to calculate it for now. Maybe the documentation can be clearer on this.
No, it's the value for the latest version of CSB. I am almost sure it's documented somewhere.
How did you get this number btw?
http://cuphead.valhallalegends.com/ocx.htm
Look at the accept statements. It says "(Always -65)
", but in the line below it it says:
Example: CleanSlateBot1.Accept = 579728
Also the document below needs to be updated in 2 separate places.
http://cuphead.valhallalegends.com/ocx_me.txt
Ah yes. These are all CupHead's fault.
Quote from: Yoni on March 28, 2003, 09:59 AM
Ah yes. These are all CupHead's fault.
IIRC, CSB1's accept vaue was -65; the second value is for CSB2.