Rip off of vL thread
Is it possible to have a bot intercept battle.net packets and send certin, different ones?
Yes. Although it wouldn't be a bot, there's a funny name for it. Not a proxy.. I can't remember what it's called. But yeah, tell the game to connect to 127.0.0.1 instead of Battle.net, and your program listens on Battle.net and forwards the packets to the Battle.net server and from the Battle.net srever back to the game.
When I did that, however, I couldn't use UDP because VB sucks at UDP. In other languages, it would probably be possible, though.
I made that for StealthBot, it would probably work on clients, too, but I forget if I made it look at the StealthBot config for connection info or not.
So I'd just need to write a little program to sniff packets going through battle.net, send it to my client then forward it back to battle.net?
And back through the circle of life, yep.
Quote from: GameSnake on April 23, 2005, 10:59:52 AM
So I'd just need to write a little program to sniff packets going through battle.net, send it to my client then forward it back to battle.net?
You aren't sniffing, they're being sent to you. Assuming you do it my way.
QuoteYou aren't sniffing, they're being sent to you. Assuming you do it my way.
And if you don't mind me asking what is your way?
If packets are being sent to you then how can you read them without looking for them?
Have the client connect to your program, and your program to Battle.Net. You'd be tunneling the connection and modifying what you want.
@iago: tunnel
Ok thanks.
Quote from: GameSnake on April 23, 2005, 12:17:20 PM
QuoteYou aren't sniffing, they're being sent to you. Assuming you do it my way.
And if you don't mind me asking what is your way?
If packets are being sent to you then how can you read them without looking for them?
See my first post!
I thought you had an example or somthing.. nevermind. =)
Thanks iago, Rabbit.