A SDK with a built-in cheat for Garry's Mod.

Overview

GMod-SDK

This is a module for Garry's Mod that works based on a SDK.

I've spent the past few days reversing a few modules of the game, in order to get as many interfaces as I could that would be useful to make any type of internal module for Garry's Mod.

Note that this is still WIP!

This works in both x86, and x64.

I've uploaded every idb / dylib i've made while reversing the game, except x64 client.dll as it takes too much space for github.

The gui is an almost-perfect gamesense clone.

This also comes in with a built-in lua executor.

Usage

Compile as x86/x64 Release. Debug works too.

Get yourself an injector, select Garry's Mod, and inject the compiled .DLL into the target process.

If you did this right, the cheat should loaded.

Press INSERT to open the menu.

How to update

In case I stop working on this project, and you want to update it, feel free to fork this project.

Get the .dylibs using the game's macOs build SteamDepotDownloader, and make sure they're up-to-date when you compare them to the Windows build's interfaces.

Null functions can sometime be a pain, make sure they're not phasing out your entire interfaces. A single null function will stop everything from working.

Contact

You can contact me on Telegram, at t.me/@Gaztoof

This is my YouTube channel.

Made with

  • IDA Pro - The software I used to reverse the game.
  • VMT Dumper - The IDA script I used for dumping the VTables. I've found it on a forum and modified it.
  • IMGui - The GUI is just modified pure ImGui.

Contributing

  1. Fork the project (https://github.com/Gaztoof/GMod-SDK)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request
Issues
  • Freezes game as soon as injected

    Freezes game as soon as injected

    so I inject it and it quickly freezes my game and there is an white cursor and and author mouse I can move please fix this I install Microsoft visual studio 2019 c++ and game dev c++ and everything and I try injecting with author injector but when ever injecting xenos says failed to find pattern "cl_move" please contact us asap

    opened by Tugoland 6
  • Still freezes game

    Still freezes game

    I inject the dll into my gmod 64x with xenos 64x and it still freezes my game and I am on gmod 64 beta I freezes with anooying hev sound spamming Still not working I had to ctrl and alt delete to restart my pc cause I can't exit out there is two betas the chromium that is 64 but outdated and author 64x that is not outdated I dont know what's going on I dont know if the dll is causing the issue cause I downloaded from unkown cheats.

    opened by Tugoland 3
  • Add option for toggling thirdperson

    Add option for toggling thirdperson

    Adds a new checkbox option in the menu for toggling the thirdperson.

    If this option is enabled, the thirdperson key won't act as a "hold" key anymore, it will act as a switch for the thirdperson.

    opened by r4v10l1 2
  • [Feature Request] Mark players with certain weapons using a different color?

    [Feature Request] Mark players with certain weapons using a different color?

    TTT / Murder may need this feature. It involves:

    1. Mark players with certain weapons using a different color.
    2. Customizable weapon list. (maybe even save it to some file, idk)
    3. Key to Reset markers.
    opened by aur3l14no 2
  • Game crashes with it.

    Game crashes with it.

    So, i've compiled the files in visual studio 2019, injected the DLL and the game crashed. Version in console:

    Protocol version 24
    Exe version 2021.06.09 (garrysmod)
    Exe build: 10:31:48 Jul  6 2021 (8277) (4000)
    GMod version 2021.07.12, branch: x86-64, multicore: 1
    Windows 32bit
    

    I don't know what to do with this.

    opened by unixquuw 2
  • [SOURCE] Auto Crouch-Jump

    [SOURCE] Auto Crouch-Jump

    void CrouchJump(CUserCmd* cmd) { if (Settings::Misc::crouchJump && InputSystem->IsButtonDown(KEY_SPACE) && (!(localPlayer->getFlags() & FL_ONGROUND))) cmd->buttons |= IN_DUCK; } Some Pasta For You :)

    opened by astroux 1
  • unresolved external symbol (Memory.cpp)

    unresolved external symbol (Memory.cpp)

    Severity Code Description Project File Line Suppression State Error LNK2001 unresolved external symbol "void __cdecl RestoreVMTHook(void * * *,void *,int)" ([email protected]@[email protected] dllmain.obj 1

    Severity Code Description Project File Line Suppression State Error LNK2001 unresolved external symbol "char * __cdecl GetRealFromRelative(char *,int,int,bool)" ([email protected]@[email protected]) GMod-SDK dllmain.obj 1

    Severity Code Description Project File Line Suppression State Error LNK2001 unresolved external symbol "char const * __cdecl findPattern(char const *,class std::basic_string_view<char,struct std::char_traits >,class std::basic_string<char,struct std::char_traits,class std::allocator >)" ([email protected]@[email protected][email protected]@[email protected]@@[email protected]@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z) GMod-SDK dllmain.obj 1

    opened by vbvp 1
  • Screengrab issues?

    Screengrab issues?

    so I've joined this Russian server called "Wayzer's RP" and first of all the cheat wasn't rendering on the client side, but the feature like bhop was working fine.

    After several hours I got banned for cheats (I had the FOV circle and the thing at the top left corner) and it was seen on the screengrab pic the admin shown me! 
    

    "How strange?" I've thought, the entire cheat's UI could not be opened too! I could not fix this by myself

    opened by sadesguy 1
  • Get rid of Present Pattern

    Get rid of Present Pattern

    As I see you are addicted to the Present pattern. Why not use EndScene + _ReturnAddress() ? More info: https://github.com/Sanceilaks/lemi_gmod_revolution/blob/9971e7aa7f44e14c108fef99be2546cbace74170/src/render_system/render_system.cpp#L106

    opened by Sanceilaks 1
  • wtf is going with fps?

    wtf is going with fps?

    hiya gaztoof, when im joining a singlplayer game, i can not look around with my mouse, and the fps is around 20-30 when the normal amount is 120+ could u please help? cause is just impossible to play with it, maybe i will try to fix myself, but anyway

    opened by kurumithepaster 1
  • [GM:CallWithArgs - !ThreadInMainThread] EntityRemoved

    [GM:CallWithArgs - !ThreadInMainThread] EntityRemoved

    Steps to reproduce

    1. Join a DarkRP server (> 65 players)
    2. Wait for 2 minutes or less
    3. Crash

    NOTES It usually happens when one entity is removed (?) or one player disconnecting from the server

    opened by xebage 0
  • Issues compiling

    Issues compiling

    1>------ Rebuild All started: Project: GMod-SDK, Configuration: Debug x64 ------ 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(473,5): warning MSB8003: The WindowsSDKDir property is not defined. Some build tools may not be found. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(499,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. 1>dllmain.cpp 1>C:\Users\weezo\AppData\Local\Temp\Rar$DRa21476.25121\GMod-SDK-main\GMod-SDK\dllmain.cpp(1,10): fatal error C1083: Cannot open include file: 'Windows.h': No such file or directory 1>imgui.cpp 1>C:\Users\weezo\AppData\Local\Temp\Rar$DRa21476.25121\GMod-SDK-main\GMod-SDK\ImGui\imgui.h(42,10): fatal error C1083: Cannot open include file: 'float.h': No such file or directory 1>imgui_demo.cpp 1>C:\Users\weezo\AppData\Local\Temp\Rar$DRa21476.25121\GMod-SDK-main\GMod-SDK\ImGui\imgui.h(42,10): fatal error C1083: Cannot open include file: 'float.h': No such file or directory 1>imgui_draw.cpp 1>C:\Users\weezo\AppData\Local\Temp\Rar$DRa21476.25121\GMod-SDK-main\GMod-SDK\ImGui\imgui.h(42,10): fatal error C1083: Cannot open include file: 'float.h': No such file or directory 1>imgui_impl_dx9.cpp 1>C:\Users\weezo\AppData\Local\Temp\Rar$DRa21476.25121\GMod-SDK-main\GMod-SDK\ImGui\imgui.h(42,10): fatal error C1083: Cannot open include file: 'float.h': No such file or directory 1>imgui_impl_win32.cpp 1>C:\Users\weezo\AppData\Local\Temp\Rar$DRa21476.25121\GMod-SDK-main\GMod-SDK\ImGui\imgui.h(42,10): fatal error C1083: Cannot open include file: 'float.h': No such file or directory 1>imgui_widgets.cpp 1>C:\Users\weezo\AppData\Local\Temp\Rar$DRa21476.25121\GMod-SDK-main\GMod-SDK\ImGui\imgui.h(42,10): fatal error C1083: Cannot open include file: 'float.h': No such file or directory 1>Memory.cpp 1>C:\Users\weezo\AppData\Local\Temp\Rar$DRa21476.25121\GMod-SDK-main\GMod-SDK\Memory.h(3,10): fatal error C1083: Cannot open include file: 'Windows.h': No such file or directory 1>Memory.h 1>C:\Users\weezo\AppData\Local\Temp\Rar$DRa21476.25121\GMod-SDK-main\GMod-SDK\Memory.h(3,10): fatal error C1083: Cannot open include file: 'Windows.h': No such file or directory 1>KeyValues.cpp 1>vmatrix.h 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\xmmintrin.h(79,10): fatal error C1083: Cannot open include file: 'malloc.h': No such file or directory 1>VPanelWrapper.h 1>Generating Code... 1>Done building project "GMod-SDK.vcxproj" -- FAILED. ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

    opened by WEEZOOKARP 1
  • how do I hook cl_move?

    how do I hook cl_move?

    #include "../globals.hpp"

    typedef void(__thiscall* FN_cl_move)(float, bool); FN_cl_move oCLMove;

    void __fastcall hkCLMove(float accumulated_extra_samples, #ifndef _WIN64 void*, // __fastcall does literally nothing in x64, so that's why we make it inactive #endif bool bFinalTick) {

    }

    Here is what I go so far but it says: image

    opened by astroux 1
  • fakeangles work but your movement breaks

    fakeangles work but your movement breaks

    so the movement fix doesn't seem to work for untrusted angles:

    my cmd->viewangles.x = -180 for fakeup but my W and S keys are reversed the BackupCMD() function doesn't seem to be working?????

    opened by astroux 4
Owner
Full-stack and self-taught coder. I love low level languages like C and ASM, I mainly code in C++ and C . Passionated of reverse-engineering, and game hacking
null
the first ever open source zombie killcam mod for bo2 zombies. this repository is the original mod.

BO2 T6ZM Killcams (+ Mod Menu) my zombie killcam mod that is a work-in-progress and open sourced. this may work off plutonium but this was only suppor

m 4 Jun 6, 2022
Open Source Cheat for Apex Legends, designed for ease of use. Made to understand reversing of Apex Legends and respawn's modified source engine as well as their Easy Anti Cheat Implementation.

Apex-Legends-SDK Open Source Cheat for Apex Legends, designed for ease of use. Made to understand reversing of Apex Legends and respawn's modified sou

null 86 Jun 24, 2022
Portal 2/Portal Reloaded internal cheat sdk with imgui-based menu

portal2-internal A simple Portal 2/Portal Reloaded internal cheat base with imgui-based menu coded in a few days because why not Features: simple menu

es3n1n 23 May 22, 2022
The Raspberry Pi Pico SDK (henceforth the SDK) provides the headers, libraries and build system necessary

The Raspberry Pi Pico SDK (henceforth the SDK) provides the headers, libraries and build system necessary to write programs for the RP2040-based devices such as the Raspberry Pi Pico in C, C++ or assembly language.

Raspberry Pi 1.5k Jul 2, 2022
The Gecko SDK (GSDK) combines all Silicon Labs 32-bit IoT product software development kits (SDKs) based on Gecko Platform into a single, integrated SDK.

Silicon Labs Gecko SDK (GSDK) The Gecko SDK (GSDK) combines Silicon Labs wireless software development kits (SDKs) and Gecko Platform into a single, i

Silicon Labs 95 Jul 2, 2022
A customized LGL Android mod menu, containing ESP only for PUBG Mobile 1.3.0 for Android

PUBG Mobile ESP Mod Menu A customized LGL mod menu, containing ESP only for PUBG Mobile 1.3.0 for Android. Everything are fixed so it works with both

null 42 Mar 19, 2022
A universal way to create a noclip mod in Unity games (Mono/IIL2CPP)

Universal-Unity-NoClip This projects aim to show how a noclip mod can be created in any unity game, regardless if its using an il2cpp or mono backend.

Jonah 20 Jun 26, 2022
Mod Loader for CMD with Multithreading Support

简介 cocmd 工具通过在进程空间中加载多个 cmd.dll 实例实现了真正意义上的多线程执行批处理脚本 其中 cmd.dll 修改自 Win7 SP1 中的 32 位 cmd.exe 不同于 start /b 的启动方式,因为环境变量和进程环境是绑定的,所以多个脚本线程间可以实时共享变量以及 G

null 3 Sep 10, 2021
RatArena - RatMod - mod for OpenArena

RatArena gamecode RatArena (or Ratmod) is a mod for OpenArena for both competitive and casual gameplay. It adds many new features and quality improvem

Rodent Control 9 Jun 9, 2022
GlueGD is a mod loader for Geometry Dash that does not require a modification to any existing Geometry Dash files or an external injector or launcher.

GlueGD is a mod loader for Geometry Dash that does not require a modification to any existing Geometry Dash files or an external injector or la

Aly Cerruti 9 Apr 10, 2022
Garry's Mod privacy-oriented anticheat module for Simple-Roleplay.

Simple-Anticheat Garry's Mod privacy-oriented anticheat module for Simple-Roleplay. About privacy We will never: Transmit the content of your files to

Simple Roleplay 2 Sep 19, 2021
Coco External GTA5 Mod Menu

Coco External GTA5 Mod Menu DISCLAIMER: This program is purely for Educational and Evaluation purposes ONLY. Be aware that I am not responsible for an

Colton Kennedy 4 Oct 13, 2021
Coverett - C library for interacting with HLAPI devices of the OpenComputers II mod.

Coverett Coverett - C library for interacting with HLAPI devices of the OpenComputers II mod. Warning!!! The library is in alpha stage, so it can cont

Vladislav 8 May 6, 2022
A port of the FNF Sonic.EXE mod to PS1. (Sunky and Multiplayer Update)

PSXFunkin VS Sonic.EXE on the PS1 ooga booga hes gonna getcha Compilation Refer to COMPILE.md here Disclaimer This project is not endorsed by the orig

Lord Scout 3 Sep 29, 2021
File Mod(FMod) is the second version of FMod.

File Mod(FMod) is the second version of FMod.

Dr Code 1 Oct 22, 2021
ESP32-Cam mod for Voron V2

ESP32-Cam Mod For Voron V2 This is a webcam mod for Voron V2. This project is currently under development. What else you need: ESP32-CAM with ov2640/o

Vaan Ip 30 Jun 20, 2022
Classic iPod mod with Raspberry Pi Zero and color screen

ipodrpi Classic iPod mod with Raspberry Pi Zero and color screen. Suitable for OSMC and plain Raspbian install. Install OSMC: Burn SD card with Raspbe

null 21 Jun 10, 2022
Source code for the Mario Kart Wii Tournament Museum mod

Mario Kart Wii Tournament Museum Source code for the MKWTM mod. Includes the rel source and the loader. Building To compile code you'll need: NXP 'Cod

Puzzle 9 Dec 13, 2021
Quake Enhanced Capture the Flag multiplayer mod

QECTF Quake Enhanced Capture the Flag multiplayer mod What is it? This is a multiplayer deathmatch mod for Quake Enhanced that adds basic capture the

null 4 Jun 21, 2022