Anti-troll hacking
#1

Hi,

This:

Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(strfind(cmdtext,"kk",true) != -1)
{
return 0;
}
return 1;
}
Prevent from troll hacking?
Reply
#2

Care to elaborate what do you mean by "Troll hacking"?
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=540368
Reply
#4

That is not a hack. It is just simply a server command. If you are using strcmp for your commands, hit CTRL-F in PAWNO and search for 'if(strfind(cmdtext, "kk", true)', then just delete the command or if you like enclose it with '/* CMD */'.
Reply
#5

Hmm.. commands used by cheat, not send to your server.

OR anti cheat easy, for enter and exist car (this metod is used for any troll hack!)
http://pastebin.com/FajEmztu
Reply
#6

Does not work because client commands are not sent to the server. Those CLEO bullshit commands work the same way like /pagesize, /fpslimit or other client commands. These aren't sent to the server either.
Reply
#7

Quote:
Originally Posted by Vince
Посмотреть сообщение
Does not work because client commands are not sent to the server. Those CLEO bullshit commands work the same way like /pagesize, /fpslimit or other client commands. These aren't sent to the server either.
I've seen some systems that actually recognize the client command e.g
Vince has used the /blablabla command even though it doesn't exist...
Reply
#8

Quote:
Originally Posted by Wizzard2H
Посмотреть сообщение
I've seen some systems that actually recognize the client command e.g
Vince has used the /blablabla command even though it doesn't exist...
That's not the way it works with SAMPFuncs however I assume it may work with something such as AutoHotKey with SA-MP UDF.
(https://github.com/Suchty112/SAMP-UD...aster/SAMP.ahk)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)