[Include] Nex-AC - Anticheat system
#61

Quote:
Originally Posted by vannesenn
View Post
Why you use array when you can do it with macros?
It seems I so accustomed
Maybe I change it in the near future, if there will be time)
Reply
#62

New Version v1.3
Changes:
Added "#define USE_QUERY" (true by default)
* If your server is under Brute-force attack - for better protection USE_QUERY value can be changed to false
* Attention! If false, the server will not display the information in the server browser, so use in extreme cases!
Added features IsAntiCheatEnabled and IsAntiCheatEnabledForPlayer

Fixes:
Fixed load anticheat configuration from config-file
Increased some values in favor of players with high ping
Rcon protection (against Brute-force) now also dynamically enabled/disabled by function EnableAntiCheat
Fixed minor bugs in the anti-cheats on ammo hack, RapidFire, SpeedHack in vehicle, Anti-GodMode on foot and in vehicle

Download: See the first post
Reply
#63

Official update for 0.3.7 RC2?
Reply
#64

Now supported 0.3.7 r2!
Download: See the first post
Reply
#65

Compiler Crash
Reply
#66

Something wrong with weapons. . .
Reply
#67

it's crashing the compiler please help :\
Reply
#68

Quote:
Originally Posted by Vaishnav
Посмотреть сообщение
it's crashing the compiler please help :\
I do not know what includes you use
Please show me a list of include

Quote:
Originally Posted by Irenijus
Посмотреть сообщение
Something wrong with weapons. . .
What code of anti-cheat is triggered?
Reply
#69

Код:
(3978) : error 025: function heading differs from prototype
(3978) : error 017: undefined symbol "checkpointid"
(3980) : error 055: start of function body without function header
(3981) : error 010: invalid function or declaration
Compiling makes crash there.
Btw, weapon detecting is not accure when player spawns. Giving him weapon from script makes him kick with code 52 (1 and 13).
Reply
#70

i am using these includes:

pawn Код:
#include <a_samp>
#include <zcmd>
#include <a_mysql>
#include <dini>
#include <foreach>
#include <geolocation>
#include <mailer>
#include <Actors>
#include <color_fix>
#include <surfboard>
#include <streamer>
#include <sscanf2>
#include <progress>
#include <YSI\y_ini>
#include <YSI\y_va>
#include <YSI\y_iterate>
Reply
#71

Compailer crashes with latest version 1.3:

Код:
C:\Users\Gigi\****** Drive\Samp Projects\Pawno\include\nex-ac.inc(3978) : error 025: function heading differs from prototype
C:\Users\Gigi\****** Drive\Samp Projects\Pawno\include\nex-ac.inc(3978) : error 017: undefined symbol "checkpointid"
C:\Users\Gigi\****** Drive\Samp Projects\Pawno\include\nex-ac.inc(3980) : error 055: start of function body without function header
C:\Users\Gigi\****** Drive\Samp Projects\Pawno\include\nex-ac.inc(3981) : error 010: invalid function or declaration
Includes

Код:
#include <a_samp>
#include <nex-ac>
#include <a_mysql>
#include <sscanf2>
#include <YSI\y_flooding>
#include <YSI\y_commands>
#include <streamer>
#include <mapandreas>
#include <foreach>
#include <mailer>
#include <easydialog>
#include <socket>
#include <strlib>
#include <timerfix>
Reply
#72

Thank you for sharing, I am gonna check this out.
Reply
#73

Great system
Reply
#74

Something wrong with weapon anti-cheat. When i spawn and load user weapon from MYsql, i get this message "You were kicked on suspicion of using cheat programs (#015)". Why ??
Reply
#75

Rewrite it to plugin?
Reply
#76

New Version v1.4
Changes:
Compatible with Socket Plugin
Removed some anti-crashers (which are fixed in the new version r2)
Improved anti-tuning hack: now detects free tuning in ModShops
Improved anti-carshot

Fixes:
Tweaked some values in the anti-flood
Fixed several bugs in anti-weapon hack
Fixed a bug where all the cars could have a siren
Fixed a bug in the anti-teleport hack with a kick at the entrance to ModShop
Fixed a bug in the anti-GodMode onfoot with a kick if the bullets were desync

Download: See the first post
Reply
#77

Quote:
Originally Posted by OstGot
Посмотреть сообщение
New Version v1.4
Changes:
Compatible with Socket Plugin
Removed some anti-crashers (which are fixed in the new version r2)
Improved cheat on tuning: now detects free tuning in ModShops
Improved cheat on carshot

Fixes:
Tweaked some values in the anti-flood
Fixed several bugs in anti-weapon hack
Fixed a bug where all the cars could have a siren
Fixed a bug in the anti-teleport hack with a kick at the entrance to ModShop
Fixed a bug in the anti-GodMode onfoot with a kick if the bullets were desync

Download: See the first post
Seems amazing dude, clean and organized source, a lot of protections for a server, keep it up! +5 reps
Reply
#78

You should put an example to the guy's who gone use this know how to use properly the OnCheatDetected.

Keep the good work! +rep
Reply
#79

HELP...

D:\Dropbox\SkillArena\pawno\include\YSI\y_hooks/impl.inc(1752) : warning 201: redefinition of constant/macro (symbol "OnVehicleDamageStatusUpdate")
D:\Dropbox\SkillArena\pawno\include\YSI\y_hooks/impl.inc(2910) : warning 201: redefinition of constant/macro (symbol "OnPlayerClickPlayerTextDraw")
D:\Dropbox\SkillArena\pawno\include\YSI\y_hooks/impl.inc(3221) : warning 201: redefinition of constant/macro (symbol "OnPlayerSelectDynamicObject")
D:\Dropbox\SkillArena\pawno\include\YSI\y_hooks/impl.inc(326 : warning 201: redefinition of constant/macro (symbol "OnPlayerPickUpDynamicPickup")

#include < a_samp >
#include < streamer >
#include <nex-ac>
#include < YSI\y_ini >
#include <YSI\y_commands>
#include <YSI\y_inline>
//#include <YSI\y_hooks>
#include < fdialog >
#include < mSelection >
#include < fixanimacija >
#include < sscanf2 >
#include <a_mysql>
#include <OPIBS>

But when i swap include


D:\Dropbox\SkillArena\pawno\include\nex-ac.inc(2180) : warning 202: number of arguments does not match definition
D:\Dropbox\SkillArena\pawno\include\nex-ac.inc(2194) : error 025: function heading differs from prototype
D:\Dropbox\SkillArena\pawno\include\nex-ac.inc(3309) : warning 201: redefinition of constant/macro (symbol "OnPlayerPickUpDynamicPickup")
D:\Dropbox\SkillArena\pawno\include\nex-ac.inc(4493) : warning 201: redefinition of constant/macro (symbol "OnPlayerSelectDynamicObject")

#include < a_samp >
#include < streamer >
#include < YSI\y_ini >
#include <YSI\y_commands>
#include <YSI\y_inline>
//#include <YSI\y_hooks>
#include <nex-ac>
#include < fdialog >
#include < mSelection >
#include < fixanimacija >
#include < sscanf2 >
#include <a_mysql>
#include <OPIBS>
#include <foreach>
Reply
#80

Quote:
Originally Posted by DeitY
Посмотреть сообщение
HELP...
As I know, the YSI has not been updated to the latest version of the samp. Because of this, problem in YSI
I'm sorry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)