Valhalla Legends Forums Archive | Battle.net Bot Development | Help on CleanSlateBot

AuthorMessageTime
nearground
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?
March 28, 2003, 7:09 AM
Yoni
Probably wrong accept value. Thanks for the cdkeys.
March 28, 2003, 7:14 AM
nearground
It's not the wrong accept value. The document says it must be -65. Can it be anything else?
March 28, 2003, 7:18 AM
nearground
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.
March 28, 2003, 7:35 AM
Yoni
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?
March 28, 2003, 7:52 AM
nearground
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
March 28, 2003, 9:33 AM
Yoni
Ah yes. These are all CupHead's fault.
March 28, 2003, 3:59 PM
Skywing
[quote author=Yoni link=board=17;threadid=838;start=0#msg6565 date=1048867197]
Ah yes. These are all CupHead's fault.
[/quote]IIRC, CSB1's accept vaue was -65; the second value is for CSB2.
March 29, 2003, 5:55 AM

Search