• Welcome to Valhalla Legends Archive.
 

Intercepting and Sending Packets

Started by iNsaNe, January 30, 2008, 08:47 PM

Previous topic - Next topic

iNsaNe

I want to create a custom game program that acts like WC3Banlist and Autorefresher. I want to first learn how Autorefresher works... I first want to try replicating the program but I dont know how, and I think this would be a good place to start.

How do I intercept packets coming from port 6112 on my computer, and then send packets back to Battle.net?

For example, when Battle.net sends me the packet that someone just joined the channel, I want the program to react to that packet and have my actual war3 account send an 0x0e (chat command) to the channel. How can I do this?

brew

<3 Zorm
Quote[01:08:05 AM] <@Zorm> haha, me get pussy? don't kid yourself quik
Scio te esse, sed quid sumne? :P

iNsaNe