Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: gotcha_ass on February 04, 2003, 11:39 AM

Title: Chat EventID info
Post by: gotcha_ass on February 04, 2003, 11:39 AM
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.
Title: Re: Chat EventID info
Post by: Spht on February 04, 2003, 11:41 AM
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.
Title: Re: Chat EventID info
Post by: gotcha_ass on February 04, 2003, 12:06 PM
It is for me considering I dont know how.  Would you please explain??
Title: Re: Chat EventID info
Post by: Spht on February 04, 2003, 12:16 PM
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.
Title: Re: Chat EventID info
Post by: gotcha_ass on February 04, 2003, 01:23 PM
ok, what does  the 0000 and the [D2DV] mean in :

1002 JOIN groggytoad 0000 [D2DV]        
Title: Re: Chat EventID info
Post by: Spht on February 04, 2003, 02:37 PM
That's his flags. Look up flags meanings on Arta's BnetDocs at http://www.valhallalegends.com/arta/bnetdocs
Title: Re: Chat EventID info
Post by: gotcha_ass on February 04, 2003, 03:53 PM
And the [D2DV], I know its the client, but whats it sent for?? Icons??
Title: Re: Chat EventID info
Post by: haZe on February 04, 2003, 04:04 PM
Icons and server data. Also data for your bot do you know what he's using.
Title: Re: Chat EventID info
Post by: Noodlez on February 04, 2003, 04:43 PM
server data?
Title: Re: Chat EventID info
Post by: gotcha_ass on February 04, 2003, 06:36 PM
What is the EID 2010 for. Is it sent after the login is accepted??
Title: Re: Chat EventID info
Post by: haZe on February 05, 2003, 01:11 AM
Server data = DATA FOR THE SERVER!  :P
 ;D
Title: Re: Chat EventID info
Post by: Crypticflare on February 05, 2003, 03:42 AM
hmm thats really cool. It helped me out a lot with how to parse the data based on events. Thanks
Title: Re: Chat EventID info
Post by: gotcha_ass on February 05, 2003, 01:49 PM
wat about the info sent, after you log on?
Title: Re: Chat EventID info
Post by: Crypticflare on February 05, 2003, 03:12 PM
Well the Case 2010 must mean an approved login. Is that what you were asking?
Title: Re: Chat EventID info
Post by: Mesiah / haiseM on February 05, 2003, 03:36 PM
2010 is indeed login packet.
Title: Re: Chat EventID info
Post by: gotcha_ass on February 05, 2003, 06:56 PM
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.
Title: Re: Chat EventID info
Post by: tA-Kane on February 05, 2003, 10:55 PM
Have you tried packetlogging your telnet session ???
Title: Re: Chat EventID info
Post by: Yoni on February 06, 2003, 06:04 AM
Press c (lowercase) or Ctrl-C as soon as you connect
Title: Re: Chat EventID info
Post by: Banana fanna fo fanna on February 06, 2003, 11:01 AM
...why would you packet log a telnet session...?
Title: Re: Chat EventID info
Post by: gotcha_ass on February 06, 2003, 11:52 AM
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??
Title: Re: Chat EventID info
Post by: Mesiah / haiseM on February 06, 2003, 04:07 PM
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.
Title: Re: Chat EventID info
Post by: Arta on February 08, 2003, 02:56 AM
It's something like 0x03Username\nPassword\n\n. Not entirely sure though, it's been a while since I worked with chatbots.