Any way to detect the fake ping CLEO script? -
Dairyll - 10.12.2016
I have a few features on my server that are limited for players with a low ping such as /cruisecontrol for cars and air crafts. A helper on my server recently sent me a CLEO script that lets you reduce your ping and, to my surprise, it worked.
Basically you type something like:
/reduceping -100
.. and it will reduce your ping on the server. If you press TAB, all the players will see that your ping has been reduced by 100. Even the server itself recognizes it so I had a few troublesome hackers yesterday that abused the /cruisecontrol command.
Is there any way to detect if a player uses this? I've tried detecting if a player types the /reduceping command, but it doesn't work. FYI, it's not /reduceping, but I don't want to spread around which script it is. I don't know how to view a CLEO script's source (if it's even possible), but if people are interested in which script it is, I can PM it to you so you can try it on your own server.
From my understanding, the only way this CLEO script will work is if the server has lagcomp on. Thing is, I don't want to turn mine off.
Any solutions that I can possibly do script-wise (maybe OnPlayerUpdate?) or is this something that has to be patched by the SA-MP team? Thanks!
Re: Any way to detect the fake ping CLEO script? -
JaKe Elite - 10.12.2016
You can actually open the CLEO script like SAMP scripts do, All you need is the Sanny Builder tool. It lets you open and see the codes inside the CLEO script other than that I can't do any help or something like that, I am so sorry.
EDIT: I have seen the CLEO script (I searched it somewhere) and I found out that it has an .asi file to help the CLEO script to navigate the SAMP functions.
Re: Any way to detect the fake ping CLEO script? -
Dairyll - 10.12.2016
The one my helper sent me is only a .cs file and it works as is. I installed the latest CLEO without the ASI loader then added the .cs file into the game folder and tried it in-game. It worked. I tried to open the file with Sanny Builder as you said but it just spouted random characters.
Edit: Oh snap, I was looking at my clean GTA's folder. Yeah, it did come with an .asi file. I replied to your PM.
Re: Any way to detect the fake ping CLEO script? - iLearner - 10.12.2016
Is it detected by OnPlayerCommandReceived?
Re: Any way to detect the fake ping CLEO script? - Jelly23 - 10.12.2016
Quote:
Originally Posted by iLearner
Is it detected by OnPlayerCommandReceived?
|
No, client sided commands can't be detected by the server.
Re: Any way to detect the fake ping CLEO script? -
Dairyll - 10.12.2016
Quote:
Originally Posted by iLearner
Is it detected by OnPlayerCommandReceived?
|
Nope. It's completely client-side. I think it works in the same fashion as /fpslimit.
Re: Any way to detect the fake ping CLEO script? -
niCe - 30.03.2018
Sorry for bumping this, but I have recently experienced a lot of troubles with this cleo script. I always assumed that ping data cannot be faked. Does anyone have any suggestion how to detect this please?