Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Imperceptus on October 11, 2005, 11:43 PM

Title: Chat Client question
Post by: Imperceptus on October 11, 2005, 11:43 PM
I noticed that bnet says I can view the list of channels for a game in channel menu, can i retrieve it sending 0x0B while emulating a normal chat client? or will it not return anything?
Title: Re: Chat Client question
Post by: Joe[x86] on October 12, 2005, 12:41 AM
You can't.
Title: Re: Chat Client question
Post by: MyndFyre on October 12, 2005, 02:30 AM
Are you talking about a CHAT (protocol 0x03) client, or a normal game (protocol 0x01) client?  You can send the 0x0b message in the game client, but a telnet client cannot send any binary packets.
Title: Re: Chat Client question
Post by: Imperceptus on October 12, 2005, 05:20 PM
0x03

note even if it was like?
socket.senddata &h3 0?
Title: Re: Chat Client question
Post by: MyndFyre on October 12, 2005, 05:48 PM
Quote from: Imperceptus on October 12, 2005, 05:20 PM
0x03

note even if it was like?
socket.senddata &h3 0?
What are you talking about?

I mean the protocol 0x03 -- what you send when you first connect.  Immediately after connecting, you send 1 for the binary protocol, 2 for FTP, and 3 for chat/telnet (equivalent to pressing CTRL+C).

After that, only plaintext and CRLF is allowed.
Title: Re: Chat Client question
Post by: UserLoser. on October 12, 2005, 06:06 PM
Quote from: MyndFyre on October 12, 2005, 05:48 PM
Quote from: Imperceptus on October 12, 2005, 05:20 PM
0x03

note even if it was like?
socket.senddata &h3 0?
What are you talking about?

I mean the protocol 0x03 -- what you send when you first connect.  Immediately after connecting, you send 1 for the binary protocol, 2 for FTP, and 3 for chat/telnet (equivalent to pressing CTRL+C).

After that, only plaintext and CRLF is allowed.

Just something to add in - pressing C works too, so 0x2b should work too :P
Title: Re: Chat Client question
Post by: Kp on October 12, 2005, 07:28 PM
It's a longstanding bug that the server sends chat clients the same restricted user message that Diablo 1 receives.  For D1, the message makes sense.  For chat clients, it just looks silly. :)
Title: Re: Chat Client question
Post by: Mesiah / haiseM on October 15, 2005, 02:37 AM
You might be able to log on anon. and find out information on some games... You can't get the list of channels without using the bnary protocol (0x01). Kinda sucks... Binary Gateways are always something good to have laying around ;) Can create any packet you want :)