This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Checking if a process is running on the player's computer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
versation
New Member
Join Date: May 2024
Old 05-10-2024 , 08:18   Checking if a process is running on the player's computer
Reply With Quote #1

Let's say there is an anti-cheat that I want the players on the server to run before the game. Is there any way to check without any external software whether the anti-cheat process is running on the player's computer?
In other words, I want to check if a specific process is running on the player's computer.
Thanks

Last edited by versation; 05-10-2024 at 08:18.
versation is offline
N3v3rM1nd
Member
Join Date: Apr 2021
Old 05-10-2024 , 09:13   Re: Checking if a process is running on the player's computer
Reply With Quote #2

Quote:
Originally Posted by Exolent[jNr] View Post
It's not possible to see anything on a client's computer.
N3v3rM1nd is offline
Rohanlogs
Senior Member
Join Date: Nov 2015
Old 05-10-2024 , 09:28   Re: Checking if a process is running on the player's computer
Reply With Quote #3

No. How do you figure you'd monitor your players processes without any external software? I mean yeah, sure, walk up to their house, and check their computer. This is just not very practical.

You need a way to monitor processes on the player's computer, which requires additional software and permissions. You would need third-party software installed on the player’s system, and then add a server-side plugin to check if that software is running, if its not, kick them and display a message that would redirect them somewhere to install this sketchy software.

Players should be clearly informed about what the software does and must give their consent to install and run it. You would also need someone to develop such a 3rd party software who knows what they're doing, though I'm sure these do exist to some extent.

Implementing this sort of anti-cheat into a regular server however can, and is seen as very intrusive and an overkill. Nobody in their right mind would install this kind of anti-cheat into their computer, and it would instantly kill any playerbase that you have.

This could be more acceptable for LAN tournaments, or other 'controlled environments', where players typically expect higher security and fairness. But to answer your question, no.

You can develop server-side plugins to detect some "non-modern" cheats like aimbot, or even bhop / groundstrafe hacks, which don't require anything installed on the players system. This also however can't be done by just will power, you actually do need to write some code.


Edit : I might have mis-read the question initially, unless you just edited it, but this did however answer your question. Yes you can check if the 3rd party anti-cheat is running through a server-side plugin taken you have access to the source code of this anti-cheat. But no you can't do any of this without both external and server side software.
__________________

Last edited by Rohanlogs; 05-10-2024 at 09:44.
Rohanlogs is offline
versation
New Member
Join Date: May 2024
Old 05-10-2024 , 10:08   Re: Checking if a process is running on the player's computer
Reply With Quote #4

Quote:
Originally Posted by Rohanlogs View Post
No. How do you figure you'd monitor your players processes without any external software? I mean yeah, sure, walk up to their house, and check their computer. This is just not very practical.

You need a way to monitor processes on the player's computer, which requires additional software and permissions. You would need third-party software installed on the player’s system, and then add a server-side plugin to check if that software is running, if its not, kick them and display a message that would redirect them somewhere to install this sketchy software.

Players should be clearly informed about what the software does and must give their consent to install and run it. You would also need someone to develop such a 3rd party software who knows what they're doing, though I'm sure these do exist to some extent.

Implementing this sort of anti-cheat into a regular server however can, and is seen as very intrusive and an overkill. Nobody in their right mind would install this kind of anti-cheat into their computer, and it would instantly kill any playerbase that you have.

This could be more acceptable for LAN tournaments, or other 'controlled environments', where players typically expect higher security and fairness. But to answer your question, no.

You can develop server-side plugins to detect some "non-modern" cheats like aimbot, or even bhop / groundstrafe hacks, which don't require anything installed on the players system. This also however can't be done by just will power, you actually do need to write some code.


Edit : I might have mis-read the question initially, unless you just edited it, but this did however answer your question. Yes you can check if the 3rd party anti-cheat is running through a server-side plugin taken you have access to the source code of this anti-cheat. But no you can't do any of this without both external and server side software.
Of course, this is a full approval of the players, and in any case they will have to run some external software ("the anti-cheat"). My question is how to know that it is indeed running on the player's computer.
I'll try to be more clear, today there are a lot of anti-cheat software that a player can run (more or less effective against cheats is something else, I'm not talking about efficiency). Of course the player will run the anti-cheat himself and of course with full consent, the question is how do I as a server know that the player has indeed opened the software.
By the way, the demand for anti-cheat is from the players themselves from the community I play in, but unfortunately the development of anti-cheat is really not at my level, so I want to use an existing anti-cheat software, even if it is not the most up-to-date.
versation is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 05-10-2024 , 10:20   Re: Checking if a process is running on the player's computer
Reply With Quote #5

Anything is possible with the right tools and knowledge, it's just not possible using amxx. Sure you could go a head and create your own software to achieve this but there's no way this will ever be approved by Valve to begin with. Neither will you receive any help on here to achieve something like this.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 05-10-2024 , 11:08   Re: Checking if a process is running on the player's computer
Reply With Quote #6

As said before, you can not directly monitor what the player is or is not running on their computer from the server.

However, since they are already running the anti-cheat, the anti-cheat itself can send some "pings" or "heartbeats" to the server. Therefore, if you receive a heartbeat from an anti-cheat instance from IP X, you can assume the player that has IP X is currently running the anti-cheat. When the heartbeats stop coming, it means that something went wrong (they closed the program, it crashed, network error, etc).

Likely, the easiest way to do this is for the anti-cheat to talk to the server using sockets.
__________________

Last edited by HamletEagle; 05-10-2024 at 11:09.
HamletEagle is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode