Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[QUESTION] sending packets

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
torpin005
Master Cheater
Reputation: 0

Joined: 19 Nov 2007
Posts: 255

PostPosted: Fri Apr 25, 2008 10:59 pm    Post subject: [QUESTION] sending packets Reply with quote

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
View user's profile Send private message AIM Address
Aikos
Cheater
Reputation: 0

Joined: 26 Nov 2007
Posts: 47

PostPosted: Sat Apr 26, 2008 3:58 am    Post subject: Reply with quote

I think you can't send packets to an exe.
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Sat Apr 26, 2008 4:05 am    Post subject: Reply with quote

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
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sat Apr 26, 2008 8:04 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
torpin005
Master Cheater
Reputation: 0

Joined: 19 Nov 2007
Posts: 255

PostPosted: Sat Apr 26, 2008 7:26 pm    Post subject: Reply with quote

hmm thanks wiccaan =)
_________________


Go check it out. Good Hacks
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites