• Welcome to Valhalla Legends Archive.
 

Exact Packets

Started by Luxer, August 31, 2004, 05:26 PM

Previous topic - Next topic

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()

LordNevar


A good fortune may forbode a bad luck, which may in turn disguise a good fortune.
The greatest trick the Devil ever pulled, was convincing the world he didn't exsist.

UserLoser.


LordNevar

Than I stand corrrected.

A good fortune may forbode a bad luck, which may in turn disguise a good fortune.
The greatest trick the Devil ever pulled, was convincing the world he didn't exsist.

Banana fanna fo fanna

i think it might be 0e but i forget

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.

l2k-Shadow

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: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

Networks

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.

l2k-Shadow

Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.