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?
You can't.
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.
0x03
note even if it was like?
socket.senddata &h3 0
?
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.
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
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. :)
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 :)