Valhalla Legends Forums Archive | Battle.net Bot Development | Exact Packets

AuthorMessageTime
Luxer
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()
August 31, 2004, 10:26 PM
LordNevar
"/join the void"
August 31, 2004, 11:37 PM
UserLoser.
[quote author=LordNevar link=board=17;threadid=8502;start=0#msg78471 date=1093995470]
"/join the void"
[/quote]

On Starcraft, no that wouldn't work.
August 31, 2004, 11:44 PM
LordNevar
Than I stand corrrected.
September 1, 2004, 12:05 AM
St0rm.iD
i think it might be 0e but i forget
September 1, 2004, 12:58 AM
Eli_1
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.
September 1, 2004, 1:11 AM
l2k-Shadow
Try to make your life easier by using a packetbuffer class and then just

[code]
Sub OnChannel
PacketBuffer.InsertNTString "/join The Void"
PacketBuffer.SendPacket &HE
End Sub
[/code]

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 :|
September 1, 2004, 7:30 PM
Networks
[quote author=l2k-Shadow link=board=17;threadid=8502;start=0#msg78571 date=1094067011]
Try to make your life easier by using a packetbuffer class and then just

[code]
Sub OnChannel
PacketBuffer.InsertNTString "/join The Void"
PacketBuffer.SendPacket &HE
End Sub
[/code]

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]

I believe it functions the same way with or without being connected to a proxy server.
September 1, 2004, 10:01 PM
l2k-Shadow
well then there we go :)
September 2, 2004, 5:07 AM

Search