GAAC - Green Administration & Anti-Cheat -
DeathOnaStick - 14.12.2010
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
Re: GAAC - Green Administration & Anti-Cheat -
MestreKiller - 14.12.2010
:O looks cool 9/10
Re: GAAC - Green Administration & Anti-Cheat -
Blade_Cervetti - 14.12.2010
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!
Re: GAAC - Green Administration & Anti-Cheat -
Rokzlive - 14.12.2010
Score saving... i need thatif im going to use this, but i rlly like it so plz add score so i can use. =D
Re: GAAC - Green Administration & Anti-Cheat -
SAMPGammer - 14.12.2010
10/10 but you need put /gmx in level 6 for avoid unwanted restarts.
Re: GAAC - Green Administration & Anti-Cheat -
DeathOnaStick - 14.12.2010
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.
Re: GAAC - Green Administration & Anti-Cheat -
Jay. - 14.12.2010
(removed)
Re: GAAC - Green Administration & Anti-Cheat -
DeathOnaStick - 14.12.2010
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?
Re: GAAC - Green Administration & Anti-Cheat -
Jay. - 14.12.2010
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.
Re: GAAC - Green Administration & Anti-Cheat -
NuggaN_ - 14.12.2010
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)
Re: GAAC - Green Administration & Anti-Cheat -
Lynn - 14.12.2010
Great job on this xD
Re: GAAC - Green Administration & Anti-Cheat -
NuggaN_ - 14.12.2010
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
Re: GAAC - Green Administration & Anti-Cheat -
NuggaN_ - 14.12.2010
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.
Respuesta: GAAC - Green Administration & Anti-Cheat -
RatHack - 14.12.2010
Good work, congrats
Re: GAAC - Green Administration & Anti-Cheat -
Scenario - 14.12.2010
I like the blacklist idea.
Re: GAAC - Green Administration & Anti-Cheat -
Hal - 14.12.2010
Wow, this is really nice. Good job!
Re: GAAC - Green Administration & Anti-Cheat -
Dime - 14.12.2010
@ NuggaN_
Read forum rules and stop double posting.You didn't include dudb file.
@ FS
Very nice administrating system.Keep on!
Re: GAAC - Green Administration & Anti-Cheat -
Basicz - 15.12.2010
Awesome administration system!
I loved it.
Re: GAAC - Green Administration & Anti-Cheat -
NuggaN_ - 15.12.2010
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
Re: GAAC - Green Administration & Anti-Cheat -
boelie - 15.12.2010
awesome! works perfect here didnt find any problems so far
Cheers!