[FilterScript] GAAC - Green Administration & Anti-Cheat
#1

GAAC - Green Administration & Anti-Cheat
GAAC is a project I started about a year ago. Goal of this project was to combine Anti-Cheat and Administration in a simple way and to add unique features.

GAAC has:
  • Full viewable code!
  • ~70 commands (I know, it's not much, so feel free to give me some ideas for more commands)
  • Blacklist, using the HTTP-function!
  • Anti-Weaponhack
  • SecureBan-method, gives you full control over every banned player.
  • Ability to store the Playerfiles/banfiles/etc in a GreenAAC-folder or just directly in the scriptfiles-folder
  • LocalSecuritySystem kicks every player that joins with the given name, if you dont connect over localhost (if you are not home-hosting, you can disable it ofcourse)
  • PM and AdminChat-feature (you can disable both seperatly)
  • Respawning empty cars after a given amount of hours
  • Ping-Kick
  • Configuration-Section, makes changed in the script extremely easy, just by changing some defines, e.g.:
    • Disable/Enable LocalSecuritySystem
    • Disable/Enable SecureBan
    • Disable/Enable PM-Feature
    • Disable/Enable AdminChat-Feature
    • Change the time that passes until all unused cars get respawned
    • Disable/Enable Anti-Weaponhack
    • Set forbidden weapons (weapons that you dont use in your gamemode)
    • Set the maximum ping until a player get's kicked
    • Lock/Unlock server (ingame changeable through /lock, /unlock)
    • Default Lockpassword (you need to enter it when server is locked)
    • Disable/Enable Blacklist
    • Disable/Enable the usage of the GreenAAC-folder
    • Example:
      pawn Код:
      #define AntiWeaponHackActive
                                        //Warns players that get illegally purchased weapons, e.g. by using a weaponhack.
                                        //default: uncommented
                                        //Comment the line to disable this function
  • PVars
  • Anti-Spam
  • Auto-Message when version is out of date
  • Control over many rcon-commands using a dialog
Commands:
  • Not logged in:
    • /gregister
    • /glogin
    • /vispris - Visit prison
    • /admins
    • /killme
  • No Admin, but logged in:
    • /aoff - Automessages off
    • /aon - Automessages on
  • Level 1:
    • /adminhide - Hide admin-level and name for /admins
    • /adminshow - Show admin level and name for /admins
    • /jetpack
    • /parachute
    • /nos - Nitros
    • /rv - repair vehicle
    • /goto
    • /vworld - go to virtual world
    • /carcolor
    • /wlist - list weapons with weaponid's and names
  • Level 2:
    • /gethere
    • /givepara - Give somebody a parachute
    • /freeze
    • /unfreeze
    • /warn
    • /vc - Creates a vehicle
    • /seatme - Puts yourself into somebodys vehicle
    • /seat - Seats somebody to your vehicle
    • /slap
    • /force - Force player to class-selection
    • /setskin
  • Level 3:
    • /wep [playerid] [weaponid]
    • /eject
    • /w [playerid] [weaponid] [ammo]
    • /mute
    • /unmute
    • /kick
    • /whois - Gives you information about a specific player
    • /sethp
    • /setarmour
    • /givecash [playerid] [amount]
  • Level 4:
    • /givegun
    • /disarm
    • /crash - Does not work correctly yet, but i will work on it
    • /explode
    • /spec - spectate
    • /unspec
    • /spos
    • /gpos
    • /dpos
    • /lpos
    • /poshelp - Use it to get help about the pos-commands
    • /maxping - Set maximum ping until a player gets kicked
  • Level 5:
    • /gga [playerid] [weaponid] [ammo] - Give a player gun and ammo
    • /jail - Jail a player
    • /release - And release him
    • /god - Not really a godmode, just extremely high HP
    • /ungod
    • /serverlock [pass]
    • /serverunlock
    • /gmx
  • Level 6:
    • /bancmds - Lists the commands to ban and unban
    • /ban
    • /unbanid - Actually useless, but i have it anyway
    • /unbanip
    • /unbanname
    • /SetAdmin [playerid] [level]
    • /grcon - Shows a list of some rcon-commands

IMPORTANT! If you want to use Anti-Weaponhack include <GInclude.inc> into all of your scripts.
Also please always read the full text about the features in the Configuration-Section


Download GAAC v.1.1.0!
Watch version 1.0.0 on pastebin.com

Known Bugs:
  • Sometimes theres a problem with buying weapons in an ammunation. Going to fix this with the next version.


Changelog
  • 1.0.1
    • Fixed serious problem in Anti-Cheat-Include (GInclude.inc)
  • 1.0.2
    • Added Dialog-based login and registration (you can disable/enable it in the config.-section)
  • 1.1.0
    • Added Anti-Spam for chat and commands
    • New Update Messages. Will give different messages for the urgency of the update of GAAC
    • Fixed Anti-Cheat bug with pickups type two
    • Now saves score in the Userfile
    • Added /gconfig to change certain values, that could just have been changed through the config.-section before. Enabling and Disabling of Blacklist and Anti-Cheat is still bugged, tho.
    • ClientMessages have been changed. GAAC will now tell you from which part of the script the message comes.


In progress:
  • Online Control-Panel (still looking for experienced PHP-scripter)
  • Anti-Velocity Hack/Teleport
  • Anti-Flooding


If anybody has suggestions for this script, feel free to write me a PM.

Thank you for reading!

(I know, this topic does not look very professional, but I will update it soon enough )


Download GAAC v.1.1.0!
Watch version 1.0.0 on pastebin.com
Reply
#2

:O looks cool 9/10
Reply
#3

Very Nice! I have a feeling this will go far. Its very down to earth and it has many more features that help it than other anti-cheat systems that I have saw. 10/10 Good job bro!
Reply
#4

Score saving... i need thatif im going to use this, but i rlly like it so plz add score so i can use. =D
Reply
#5

10/10 but you need put /gmx in level 6 for avoid unwanted restarts.
Reply
#6

Quote:
Originally Posted by [OC]MestreKiller
Посмотреть сообщение
:O looks cool 9/10
Quote:
Originally Posted by Blade_Cervetti
Посмотреть сообщение
Very Nice! I have a feeling this will go far. Its very down to earth and it has many more features that help it than other anti-cheat systems that I have saw. 10/10 Good job bro!
Thanks for your feedback!

Quote:
Originally Posted by Rokzlive
Посмотреть сообщение
Score saving... i need thatif im going to use this, but i rlly like it so plz add score so i can use. =D
Quote:
Originally Posted by SAMPGammer
Посмотреть сообщение
10/10 but you need put /gmx in level 6 for avoid unwanted restarts.
Okay, I will do it both tomorrow.

Added: Please admit, that the Clientmessages will look a bit weird, when you don't have a 0.3c-server, because my script uses color-embedding. But this will be fixed, when 0.3c will have its' final release.
Reply
#7

(removed)
Reply
#8

Quote:
Originally Posted by [BADBOY]
Посмотреть сообщение
Looking good!, could you also add a /offduty and /onduty command, so the admin whatever level he is can be shown off the admin list, you know what I mean thanks
This is what /adminhide and /adminshow actually does, doesn't it?
Reply
#9

Quote:
Originally Posted by DeathOnaStick
Посмотреть сообщение
This is what /adminhide and /adminshow actually does, doesn't it?
Sorry, I should of read better, anyway, still good job.
Reply
#10

a Command for all Users like /admins is there? To see who of the admins is online?
Anyways great, gonna test soon.

//e: didnt read, did quick read. N1!

//e2: do /unjail, /getplayer ID (port player to Admin) /gotoplayer (go to a player)
Reply
#11

Great job on this xD
Reply
#12

You should add a /makeleader command, to invite someone to a faction.
+ /setstat (for cash, level, drugs, etc.) //maybe do a function how to add also commands for stats
an /uninvite for factions members
Reply
#13

C:\Users\Daniel\SAMP 0.3c Server\gamemodes\Crossfire.pwn(164) : fatal error 100: cannot read from file: "dudb"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#14

Good work, congrats
Reply
#15

I like the blacklist idea.
Reply
#16

Wow, this is really nice. Good job!
Reply
#17

@ NuggaN_
Read forum rules and stop double posting.You didn't include dudb file.

@ FS

Very nice administrating system.Keep on!
Reply
#18

Awesome administration system!
I loved it.
Reply
#19

Hey, can anyone help? Got Error by compiling.

C:\Users\Daniel\SAMP 0.3c Server\gamemodes\Crossfire.pwn(271) : warning 201: redefinition of constant/macro (symbol "dcmd(%1,%2,%3)")
C:\Users\Daniel\SAMP 0.3c Server\gamemodes\Crossfire.pwn(2376) : error 017: undefined symbol "SetPlayerMoney"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

+

localhost doesnt start now after adding this fs. The window closes after 1 sec
Reply
#20

awesome! works perfect here didnt find any problems so far

Cheers!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)