Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[TF2] Little Anti-Cheat


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Little Anti-Cheat 0.7.0

Description:
This is a simplistic Anti-Cheat for Team Fortress 2, it will catch some cheaters/hackers (not all).
It also patches some exploits.

Features:
- Angle Cheat detector (Detects basic angle exploits used by cheats, like Pitch AA, Legit Anti-Backstab and Duckspeed).
- Chat Clear Detector (Detects when cheaters clear the chat).
- Basic ConVar checker (Checks clients for invalid ConVars, like sv_cheats).
- NoLerp Detector (Detects invalid interpolation, done by some cheats to get higher aimbot accuracy).
- Bhop Detector (Detects perfect bunny hops, shouldn't detect legit scripts or AHK).
- Basic Aimbot detector (Doesn't detect all aimbots, but some. Also detects projectile aimbots).
- AimLock Detector (Detects constant aimsnaping onto targets).

Extra Features:
- Angle Cheat Patch (Prevents some angle exploits done by cheats from working, like Pitch AA. Also prevents console getting spammed by them).
- Backtrack Patch (Disabled by default, may cause hitreg issues).
- FakeLatency/High ping kicker (Disabled by default).
- Interp Exploit Kicker (Kicks players trying to abuse interp to get easy facestabs (cl_interp 0.5)).

ConVars:
- lilac_enable [1/0 (Default 1)] - Enables or disables Little Anti-Cheat.
- lilac_sourcebans [1/0 (Default 1)] - Ban via sourcebans++ if it is installed, if it isn't, defaults to basebans.
- lilac_log [1/0 (Default 1)] - Logs bans and cheat suspicions to tf/lilac.log.
- lilac_log_extra [1/0 (default 1)] - Logs extra information upon a ban.
- lilac_log_date[{year}/{month}/{day} {hour}:{minute}:{second}] - Lets you pick date format in logs (see command lilac_date_list for more info, more on that later).
- lilac_angles [1/0 (Default 1)] - Detect angle cheats (Pitch AA, Duckspeed and Legit Anti-Backstab).
- lilac_angles_patch [1/0 (Default 1)] - Patch angle cheats.
- lilac_chatclear [1/0 (Default 1)] - Detect chat-clear (cheats clearing chat with newlines).
- lilac_convar [1/0 (Default 1)] - Detect basic ConVar violations.
- lilac_nolerp [1/0 (Default 1)] - Detect NoLerp.
- lilac_bhop [2/1/0 (Default 2)] - Detect bhop cheats (0 = Disabled, 1 = ban on 10 bhops, 2 = ban on 5 if jump isn't spammed).
- lilac_aimbot [5+/1/0 (Default 5)] - Detect Basic Aimbots (0 = Disabled, 1 = Log only, 5+ = Ban on n'th detection, minimum possible is 5!).
- lilac_aimlock [5+/1/0 (Default 10)] - Detect Aimlock (0 = Disabled, 1 = Log only, 5+ = Ban on n'th detection, minimum possible is 5!).
- lilac_backtrack_patch [2/1/0 (Default 0)] - Patch backtracking cheats (WARNING May cause hitreg issues, mode 1 has been tested and doesn't seem to cause hitreg issues, but be warned that it might! 0 = Disabled, 1 = Partial Patch (safe?), 2 = Full patch (NOT RECOMMENDED)).
- lilac_max_ping [100+/0 (Default 0)] - Temporarily ban players for 3 minutes (Doesn't use Sourcebans!) Minimum possible is 100.
- lilac_max_lerp [105+/1000 (Default 105)] - Kick players who attempt to exploit interpolation (cl_interp 0.5).

Commands:
- lilac_date_list - Lists all date formatting options.

Date formats:
In case you don't like year/month/day, you can setup your own date preferences with the "lilac_log_date" convar.
Examples:
- lilac_log_date "{year}/{month}/{day} {hour}:{minute}:{second}"
- lilac_log_date "{month}/{day}/{day} {12hour}:{minute}:{second} {pm}"
- lilac_log_date "" (No date / time)

If you want something more complicated/detailed, you can use the "{raw}" option to skip all formatting.
You can then insert your own stuff like so:
- lilac_log_date "{raw} %Y/%m/%d %H:%M:%S"

How to install:
1: Put the lilac.smx in your plugins folder.
2: Type "sm plugins load lilac.smx" in console.
3: Optional: The file "cfg/lilac_config.cfg" has automatically been generated, default settings should be fine.
4: Optional: Install sourcebans++.

Dependencies:
Sourcebans++ (Optional).
Sourcemod 1.10+

NOTE:
I wrote this Anti-Cheat back in 2018 (when I quit cheating) for some secret servers I had, just for fun.
Hopefully it will be as useful to others as it was to me.
I have updated it since, hopefully it doesn't have bugs, but nothing is perfect, so it's likely it does have some.
If you find any bugs, please let me know so I can look into it.

I've only used this Anti-Cheat with at most 5-14 players, so I don't know how it will perform on full servers.
Although this plugin was written for Team Fortress 2, you CAN run this plugin on other games, however, be aware that this may cause false positives!

I do plan on updating this plugin, but I don't always have time, help is greatly appreciated.
Feature requests are also appreciated

If you own a server and someone got banned and you think it may be a false positive, please don't hesitate to let me know. I am completely open to look into it, but I may not always be available.

Lastly, false positives are inevitable, nothing is perfect.

Attached Files
File Type: sp Get Plugin or Get Source (lilac.sp - 45.6 KB)
File Type: smx lilac.smx (55.5 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

×
×
  • Dodaj nową pozycję...