Posts: 81
Threads: 15
Joined: Oct 2014
Reputation:
0
@******: From a non-programmer/non-scripter perspective I'd say that:
"Well if the detection method involves actually checking the directory for any .cs .fxt or even the .asi files, then any kind of cleo, malicious or non-malicious can be prevented from entering the server. This is quite possible and I hate to say this but MTA already (kinda does this). And samp can also easily do this. @Brooks1 you can look at MTA's code and figure out how it does that, because its opensource
@Brooks1: To know the install directory of the gta sa you can simply ask the user to input it while they are installing your client. Or if your client is an exe that doesn't need any installation you can make them enter the directory before they can click play/connect. You can confirm that directory by checking for filenames like gta_sa.exe or samp.exe or and also check if the provided directory contains a subdirectory named models and if the models directory has gta3.img in it. This is one way, but it is kinda of easy to trick, as anyone can copy gta_sa.exe, samp.exe and models/gta3.img to a new folder and tell your client that it is your gta sa directory. But it is worthwile to try out because not everyone will want to trick the system, except the more hardcore hackers, if someone is good enough to write a .cs file for a hack, he's good enough to trick your client into thinking that he doesn't have any hacks.
Conclusion:
*You can add watchdog ranks, give this to the trusted players who can /kick(but not /ban) players and also their /report has high priority, and admins must check a report by a watchdog ASAP.
*Encourage players to /report by setting rewards, such as "You get $10000 for /report'ing someone" but have a condition that the player who was reported was punished.
You can't fool an actual human so make sure to have an active and mature admin team, and if you have to increase your administrators/moderators. No piece of code can fool an actual human, like it can fool another piece of code.
Posts: 12
Threads: 0
Joined: Apr 2018
You can always integrate your gamemode with
http://samp-ac.com/ and require players to use that launcher if they want to paly.
Posts: 15,941
Threads: 0
Joined: Jun 2008
Quote:
Originally Posted by Splodyf23
@Y_Less: From a non-programmer/non-scripter perspective I'd say that:
"Well if the detection method involves actually checking the directory for any .cs .fxt or even the .asi files, then any kind of cleo, malicious or non-malicious can be prevented from entering the server. This is quite possible and I hate to say this but MTA already (kinda does this). And samp can also easily do this. @Brooks1 you can look at MTA's code and figure out how it does that, because its opensource
|
I didn't say it wasn't possible, I said it was trivially easy to bypass.
Posts: 72
Threads: 27
Joined: Mar 2014
Reputation:
0
@Splodyf23: First of all thank you for the suggestions. As of the install directory I already understood how to take it thanks to ******, but still my question is how to block the original SAMP client to connecting to my server?
@git: I know SAMP AC, but the client has a viruses and the players will not want to download it.
By the way I found solution how to send parameters to samp.exe and that's it with options -c -h -p -n and etc. But the problem is if I send something like this "-c -h 127.0.0.1 -p 6767 -n Nickname -z password" only the first two parameters is sent (-c and -h). The other parameters (the port, nickname and password) doesn't send to samp.exe. Anyone has ideas how to fix this?