I am using StarCraft to connect to battle.net though a custom proxey... Don't ask. What I am trying to say is that I am a newb (if you have not figured that out yet ::) ) and that I have no clue about how StarCraft connects. All I know is that I can make my program connect with StarCraft and join a channel.
Here is my question:
Could somone tell me EXACTLY what to send to battle.net to join the void? This is what I have:
on JoinTheVoid()
bnetsocket.write "what do I put here to join the void?"
end JoinTheVoid()
"/join the void"
Quote from: LordNevar on August 31, 2004, 06:37 PM
"/join the void"
On Starcraft, no that wouldn't work.
Than I stand corrrected.
i think it might be 0e but i forget
Yeah, it's 0x0E.
The first 4 bytes of your packet (the data you send):
(BYTE) 0xFF
(BYTE) 0x0E
(WORD) Packet length including the 4 byte header
The rest:
(STRING) Your message
The hex dump of one may look something like this, when you're done.
0000: FF 0E 09 00 77 6F 30 74 00 ΓΏ...wo0t.
Try to make your life easier by using a packetbuffer class and then just
Sub OnChannel
PacketBuffer.InsertNTString "/join The Void"
PacketBuffer.SendPacket &HE
End Sub
could that work? If you are connecting using a proxy you might need to set it up little differently to work with the proxy server... <--- newb himself pardon me :|
Quote from: l2k-Shadow on September 01, 2004, 02:30 PM
Try to make your life easier by using a packetbuffer class and then just
Sub OnChannel
PacketBuffer.InsertNTString "/join The Void"
PacketBuffer.SendPacket &HE
End Sub
could that work? If you are connecting using a proxy you might need to set it up little differently to work with the proxy server... <--- newb himself pardon me :|
I believe it functions the same way with or without being connected to a proxy server.
well then there we go :)