SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 03/09/2012, 12:42 PM   #1
CROSS_Hunter
Huge Clucker
 
CROSS_Hunter's Avatar
 
Join Date: Jul 2012
Location: On Earth
Posts: 316
Reputation: 17
Default Anti Cheat Pack (Full Release)

Anti Cheat Full Pack


Release Information

I thought instead of making lots and lots of versions of this category as i said in the first release so i decided to make a full pack i have been working on since yesterday when i released the anti weapons hack

Change Log:

Code:
Anti Cheat Full Pack V1.0 Released

Protects Your Server Against:

Health Hacks
Money Hacks
Armour Hacks
Vehicle Heath Hacks
Weapons Hacks
JetPack Hacks

More Coming soon.. such as Nitro, Air Break etc...

How To Use


Under public OnPlayerUpdate(playerid)
pawn Code:
public OnPlayerUpdate(playerid)
{
HealthHack(playerid);
MoneyHack(playerid);
ArmourHack(playerid);
VHH(playerid);
AntiCheat(playerid);
IlegalWeapons(playerid);
JetPack(playerid);
return 1;
}

Editable Things in the Include


There are some things that are editable in this include

Main Thing:
pawn Code:
new Action_Taken =0; //you have to change this in order for Anti Cheat to Work
// 1 = Ban
// 2 = Kick
The Previous Function Works due to the order u give to it then it works as if you gave it an order to ban a player so it bans the player directly and silently in case he used hacks else if you gave it an order to kick a player so it kicks the player directly and silently in case he used hacks this is configurable through out the numbers given if its set to 0 it makes nothing this means you have disabled the Anti Cheat else if its set to 1 it bans the player instantly when he tries to use hacks and setting it to 2 means kicks the player when he tries to use hacks

Other Things:

Money Hack:
pawn Code:
if(GetPlayerMoney(playerid) >= 5000000)
Change it as you want this is the amount that if the player exceeded he gets banned its currently on '5 million'

Weapons Hack:

How To edit?
There is 2 kinds of edit to this..
1. Removing a weapon from the ilegal weapons list
2. Adding a Weapon to the ilegal weapons list

Lets talk about the first one

Removing is simple done by :
pawn Code:
if(GetPlayerWeapon(playerid) == 16 || GetPlayerWeapon(playerid) == 17 || GetPlayerWeapon(playerid) == 35

I want to remove id 35[RPG] what shall i do?
pawn Code:
if(GetPlayerWeapon(playerid) == 16 || GetPlayerWeapon(playerid) == 17

Never for get to remove the " || "
because it means this or that so if u leave it the include will assume as this or or [cuz || || ] so it may bug at this spot

2nd thing:
Adding a weapon to the list
pawn Code:
if(GetPlayerWeapon(playerid) == 16 || GetPlayerWeapon(playerid) == 17 || GetPlayerWeapon(playerid) == 35 ||
GetPlayerWeapon(playerid) == 36 || GetPlayerWeapon(playerid) == 37 || GetPlayerWeapon(playerid) == 38 ||
GetPlayerWeapon(playerid) == 39 || GetPlayerWeapon(playerid) == 40 || GetPlayerWeapon(playerid) == 18)

for example i want to add weapon id 26 [swan off shot gun]
What shall i do?

First i add || after the last weapon id in the list

then i add this code
pawn Code:
GetPlayerWeapon(playerid) == 26

so it looks like

pawn Code:
|| GetPlayerWeapon(playerid) == 26 //|| other weapon here same system

*LOL Copied from the previous post* i am not bothered to re write it again

Bugs
Non at the moment if you find any feel free to post

Download
MediaFire.com
Pastebin.com
CROSS_Hunter is offline   Reply With Quote
Old 03/09/2012, 12:51 PM   #2
SDraw
Gangsta
 
SDraw's Avatar
 
Join Date: Apr 2011
Location: Earth
Posts: 582
Reputation: 157
Default Re: Anti Cheat Pack (Full Release)

Not bad.....
__________________
GitHub
SDraw is offline   Reply With Quote
Old 03/09/2012, 03:47 PM   #4
DarkB0y
Huge Clucker
 
Join Date: Dec 2011
Posts: 365
Reputation: 38
Default Re: Anti Cheat Pack (Full Release)

good job ^^
__________________
DarkB0y is offline   Reply With Quote
Old 03/09/2012, 03:51 PM   #5
Lordzy
High-roller
 
Lordzy's Avatar
 
Join Date: Mar 2012
Location: NetherRealm
Posts: 2,698
Reputation: 1177
Default Re: Anti Cheat Pack (Full Release)

Not bad.
Good work.
__________________
Currently inactive - I don't play at any SA-MP servers nor work on anything in PAWN for now. The projects that I've done so far in PAWN, which requires updates will be taking some time.
Lordzy is offline   Reply With Quote
Old 03/09/2012, 04:05 PM   #7
playbox12
High-roller
 
playbox12's Avatar
 
Join Date: Feb 2010
Location: Netherlands
Posts: 1,317
Reputation: 216
Default Re: Anti Cheat Pack (Full Release)

Just a suggestion if you'd like to improve this include, look up the anti cheat tips topic by cessil in the scripting discussion section.
playbox12 is offline   Reply With Quote
Old 03/09/2012, 04:10 PM   #8
SuperViper
High-roller
 
SuperViper's Avatar
 
Join Date: Sep 2011
Posts: 1,177
Reputation: 315
Default Re: Anti Cheat Pack (Full Release)

You should use hooks to make it better.
__________________
Release NameUse
FairPlayKeep the cheaters out of your server
Object Model ArrayArray of every single object model in the game
RCON PanelControl any server as you like with RCON controls
SlopeClimb up a steep hill against other players with cars falling down

I do not play on any SAMP server. Anyone with the name Ricky Phelps in-game is an imposter.
SuperViper is offline   Reply With Quote
Old 03/09/2012, 04:12 PM   #9
CROSS_Hunter
Huge Clucker
 
CROSS_Hunter's Avatar
 
Join Date: Jul 2012
Location: On Earth
Posts: 316
Reputation: 17
Default Re: Anti Cheat Pack (Full Release)

i ll make clickable text draws next verison to enable / disable the anti cheat and some more options
CROSS_Hunter is offline   Reply With Quote
Old 03/09/2012, 04:18 PM   #10
NoahF
Gangsta
 
NoahF's Avatar
 
Join Date: Jul 2012
Location: USA
Posts: 864
Reputation: 38
Default Re: Anti Cheat Pack (Full Release)

Nice! Excellent job making this!
NoahF is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS] LACY - LucifeR's ANTI-CHEAT Yokel v1.2 - First release LucifeR Filterscripts 84 21/03/2010 04:49 PM


All times are GMT. The time now is 05:15 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.