Giter Site home page Giter Site logo

c0nw0nk / garrys-mod-anti-cheat Goto Github PK

View Code? Open in Web Editor NEW
13.0 5.0 10.0 13 KB

Putting Anti back into Anti Cheat by blocking players cheating instead of just detecting what they do. Anti Bhop bunny hopping gmod lua garrysmod

Home Page: http://www.networkflare.com/

Lua 100.00%

garrys-mod-anti-cheat's Introduction

Garrys-Mod-Anti-Cheat

A Simple Anti Cheat

This Anti Cheat is how I like to deal with people and prevent them doing things or bypassing ingame functions with external programs or exploits.

This will be entirely server sided so in the autorun/server folder (You can't trust a client for anything.)

It is still in development but I will list below what methods are finished and what I am still working on.

For a decent Anti wallhack method just put into your servers launch command line "+sv_pure 1"

If you are having issues with players bypassing bans i did a script for that too : https://github.com/C0nw0nk/Garrys-Mod-Family-Sharing

Finished Features :

Anti-Bhop (Bunny Hopping.)

https://github.com/C0nw0nk/Garrys-Mod-Anti-Cheat/blob/master/garrysmod/lua/autorun/server/anti-bhop.lua

Anti-CVAR-Manipulation (Prevent players changing console variables allowing them to inject their cheats.)

https://github.com/C0nw0nk/Garrys-Mod-Anti-Cheat/blob/master/garrysmod/lua/autorun/server/anti-cvar-manipulation.lua

Anti-SpeedHacking (Prevent players going beyond their max velocity.)

https://github.com/C0nw0nk/Garrys-Mod-Anti-Cheat/blob/master/garrysmod/lua/autorun/server/anti-speedhack.lua

Anti-Recoil (Forces players to look up or down when shooting if their weapon has a recoil method attached.)

https://github.com/C0nw0nk/Garrys-Mod-Anti-Cheat/blob/master/garrysmod/lua/autorun/server/anti-recoil.lua

Anti-Ladder Exploit. (Prevent players abusing HL2 ladders by grabbing onto it and killing themselves at the same time causing them to respawn on the ladder.)

https://github.com/C0nw0nk/Garrys-Mod-Anti-Cheat/blob/master/garrysmod/lua/autorun/server/anti-ladder-glitch.lua

Under development :

https://github.com/C0nw0nk/Garrys-Mod-Anti-Cheat/blob/master/garrysmod/lua/autorun/server/send-lua-and-net-send.lua

If you choose to allow players to run "sv_allowcslua 1" then we need to prevent them exploiting or having unfair advantages over other players.

Ontop of using SendLua also use net.Send to get information from the client.

garrys-mod-anti-cheat's People

Contributors

c0nw0nk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

garrys-mod-anti-cheat's Issues

Add Anti-Propclimb?

I thought your Anti-BHop script was great. I know for a matter of fact that you can prop-climb in GMOD. I know because I do it. That being said, I was wondering if you would make a script to stop this!
Thanks! Keep up the good work.

new exploit

hey man theres this new exploit

local d = vgui.Create('DHTML');
d:SetAllowLua(true);
return d:ConsoleMessage([[RUNLUA:]]);

do you think you would know how to detect it, i cant figure out
thanks

errors

[ERROR] addons/anticheat/lua/autorun/server/anti-recoil.lua:39: attempt to call method 'Clip1' (a nil value)

  1. fn - addons/anticheat/lua/autorun/server/anti-recoil.lua:39
    1. unknown - addons/ulib/lua/ulib/shared/hook.lua:105

plz help, i think its with ulx and anticheat im running ttt

Add Anti Propjump?

Inspired by #1 I want to ask, if you could create an Anti Propjump script.
PropJump works in TTT (and possible more gamemodes) when you put an object above the another,
jump onto the top of upper prop, crouch, select the 'Magneto Stick' and use it with the lower prop.

Because of the physics, you and the props are thrown up and can access locations you shouldn't.

Example video: https://www.youtube.com/watch?v=n8CvtHGesgU

A Derma Menu/GUI

A menu would be cool for editing values and/or punishments. Not sure if that's in development or not yet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.