Valhalla Legends Forums Archive | Battle.net Bot Development | Chat EventID info

AuthorMessageTime
gotcha_ass
Does anyone have the info on the chat protocol's eventIDs?  I really just need when they are sent and the data contained, I could guess but then I'd probablly guess wrong.
February 4, 2003, 5:39 PM
Spht
Is it so hard to just connect with Telnet and copy down the events you see as you get them? It's sent in raw data so it shouldn't be too hard at all.
February 4, 2003, 5:41 PM
gotcha_ass
It is for me considering I dont know how.  Would you please explain??
February 4, 2003, 6:06 PM
Spht
Start -> Run -> Telnet.exe

Connect to useast.battle.net, uswest.battle.net, europe.battle.net, or asia.battle.net on port 6112.

Once you're connected, press Ctrl-C then type in your login information once you're prompted to. The messages you receive after that are events and the first four bytes in each message is the event ID.
February 4, 2003, 6:16 PM
gotcha_ass
ok, what does  the 0000 and the [D2DV] mean in :

1002 JOIN groggytoad 0000 [D2DV]        
February 4, 2003, 7:23 PM
Spht
That's his flags. Look up flags meanings on Arta's BnetDocs at http://www.valhallalegends.com/arta/bnetdocs
February 4, 2003, 8:37 PM
gotcha_ass
And the [D2DV], I know its the client, but whats it sent for?? Icons??
February 4, 2003, 9:53 PM
haZe
Icons and server data. Also data for your bot do you know what he's using.
February 4, 2003, 10:04 PM
Noodlez
server data?
February 4, 2003, 10:43 PM
gotcha_ass
What is the EID 2010 for. Is it sent after the login is accepted??
February 5, 2003, 12:36 AM
haZe
Server data = DATA FOR THE SERVER!  :P
;D
February 5, 2003, 7:11 AM
Crypticflare
hmm thats really cool. It helped me out a lot with how to parse the data based on events. Thanks
February 5, 2003, 9:42 AM
gotcha_ass
wat about the info sent, after you log on?
February 5, 2003, 7:49 PM
Crypticflare
Well the Case 2010 must mean an approved login. Is that what you were asking?
February 5, 2003, 9:12 PM
MesiaH
2010 is indeed login packet.
February 5, 2003, 9:36 PM
gotcha_ass
yep i figured that, but what I need is the format to send to connect to the channel(telnet didnt tell me that) cuase my bot jus connects and sits there.
February 6, 2003, 12:56 AM
tA-Kane
Have you tried packetlogging your telnet session ???
February 6, 2003, 4:55 AM
Yoni
Press c (lowercase) or Ctrl-C as soon as you connect
February 6, 2003, 12:04 PM
St0rm.iD
...why would you packet log a telnet session...?
February 6, 2003, 5:01 PM
gotcha_ass
no I need to know the string to send from a bot to connect to a channel after you logged on, or does it do it automatically??
February 6, 2003, 5:52 PM
MesiaH
ya know this is so annoying, there are INCREDIBLE amounts of chatbot sources out there, a very nice one on the botdev site! Download Assbot, not only is it a nice simple chatbot, but has a nice about form as well.
February 6, 2003, 10:07 PM
Arta
It's something like 0x03Username\nPassword\n\n. Not entirely sure though, it's been a while since I worked with chatbots.
February 8, 2003, 8:56 AM

Search