View previous topic :: View next topic |
Author |
Message |
torpin005 Master Cheater
Reputation: 0
Joined: 19 Nov 2007 Posts: 255
|
Posted: Fri Apr 25, 2008 10:59 pm Post subject: [QUESTION] sending packets |
|
|
Hey, im just wondering if it C++ or C# if there is a way to send packets to a .exe
if there is let me know if you could tell me, thanks
_________________
Go check it out. Good Hacks |
|
Back to top |
|
 |
Aikos Cheater
Reputation: 0
Joined: 26 Nov 2007 Posts: 47
|
Posted: Sat Apr 26, 2008 3:58 am Post subject: |
|
|
I think you can't send packets to an exe.
|
|
Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Sat Apr 26, 2008 4:05 am Post subject: |
|
|
But you can send data to a server.
I've coded a chat once, the server in C++ and client in C#, I suggest you to do it in C++, in C# its nothing and useless. (3 lines =|)
|
|
Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sat Apr 26, 2008 8:04 am Post subject: |
|
|
He means sending packets to a client of a game as if the server sent it. You can do this but it requires proxying the connection between the server and client. The easiest method I have done and seen done is creating a patch "server" that the client connects to that connects to the server, do a little drawing example:
Code: | |-------------| |--------------| |-------------|
| | | | | |
| Game Client | <--> | Proxy Server | <--> | Game Server |
| | | | | |
|-------------| |--------------| |-------------| |
Anyway, most online games allow you to use a proxy to connect to the game server, which is where the fun is. Edit the proxy settings to connect to your computer (127.0.0.1) on the given port. Then your proxy server should have 2 connection handlers, 1 for the client the other for the server.
Once the client connects, you connect to the server with the proxy and pass the packets between the two connections. Between that you can add a handler to allow you to edit incoming packets, send packets to the server and to the client and so on.
A friend and I did this for a game called TetriNET when Demonoid put up their own server for it. A lot of stuff could be packet edited from the client and such so we kinda went nuts with it lol. We released the source on our old site, which is now gone, but you might be able to find it online somewhere.
Edit: Forgot to add, some games like TetriNET do not give a proxy setting menu or anything, so you will have to memory patch the server address and port the game connects to to connect to your system.
_________________
- Retired. |
|
Back to top |
|
 |
torpin005 Master Cheater
Reputation: 0
Joined: 19 Nov 2007 Posts: 255
|
Posted: Sat Apr 26, 2008 7:26 pm Post subject: |
|
|
hmm thanks wiccaan =)
_________________
Go check it out. Good Hacks |
|
Back to top |
|
 |
|