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 


Checking if 2 players are connected to the same server

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
txcy
How do I cheat?
Reputation: 0

Joined: 18 Aug 2018
Posts: 2

PostPosted: Sat Aug 18, 2018 1:05 pm    Post subject: Checking if 2 players are connected to the same server Reply with quote

For a project I am working on, I need to check if multiple players (that are playing from multiple instances of the game on my machine) are connected to the same Rocket League server. I don't need to change any values, I just need to figure out how to externally check if they're connected to the same server. I'm not sure what the best way to go about doing this is, or if Cheat Engine is even necessary. I've tried searching text for the server name, but the address changes every time and pointer scans are giving me trouble. If someone knows how to do this or has a good idea let me know. Thanks!
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Sat Aug 18, 2018 3:00 pm    Post subject: Reply with quote

With C#/Vb.NET you could make a tool like netstat to pull the information of the open sockets/connections on the local system and specifically look for processes that match Rocket Leagues exe.

For example:
https://timvw.be/2007/09/09/build-your-own-netstatexe-with-c/

Or if you prefer C/C++ or another language, the same API is available from the system:
https://docs.microsoft.com/en-us/windows/desktop/api/iphlpapi/nf-iphlpapi-getextendedtcptable

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
txcy
How do I cheat?
Reputation: 0

Joined: 18 Aug 2018
Posts: 2

PostPosted: Sat Aug 18, 2018 3:19 pm    Post subject: Reply with quote

I figured out, it's very easy to do without cheat engine, in My Games/Rocket League/TAGame/Logs, there is a file called launch.txt that keeps track of everything I should need.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions 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