News:

Happy New Year! Yes, the current one, not a previous one; this is a new post, we swear!

Main Menu

How would you do it!

Started by GameSnake, April 22, 2005, 10:03:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GameSnake

Rip off of vL thread
Is it possible to have a bot intercept battle.net packets and send certin, different ones?

iago

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.

rabbit

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.

GameSnake

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?

Screenor

And back through the circle of life, yep.

iago

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.

GameSnake

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?

rabbit

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

GameSnake


iago

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!

GameSnake

I thought you had an example or somthing.. nevermind. =)
Thanks iago, Rabbit.