Giter Site home page Giter Site logo

kieranlproctor / gerehook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rollraw/qo0-csgo

0.0 0.0 0.0 4.45 MB

internal cs:go cheat base/template

Home Page: https://www.unknowncheats.me/forum/cs-go-releases/393887-qo0s-internal-cheat-base-template.html

License: MIT License

C++ 66.51% C 33.16% Lua 0.33%

gerehook's Introduction

qo0-base

AppVeyor GitHub issues GitHub license

πŸ‘Ύ menu

Menu

πŸ—ΊοΈ comments navigation

  1. @note:
  2. @todo:
  3. @test: [things to test] [date]
  4. @credits:
  5. @xref:

πŸ§ͺ conventions

  1. prefix classes with 'C' and interfaces classes 'I'
class CSomeClass;
class ISomeInterface;
  1. postfix structures with '_t'
struct SomeStruct_t;
  1. prefix enumerations with 'E'
enum ESomeEnum
  1. thirdparty (sdk, dependencies) macroses should be uppercase
#define SOMEMACROS
  1. prefix own macroses with the first filename character
#define M_SOMEMATHMACROS

πŸ“„ code style

  1. all curly braces should be on it's own line
if (true)
{
	while (true)
	{
		// something...
	}
}
  1. the first characters of variables must be like type
bool bSomeBool; int iSomeInt; float flSomeFloat; double dbSomeDouble;
char chSomeSymbol; const char* szSomeString (std::string too);
BYTE dSomeByte; DWORD dwSomeDword; unsigned uSomeInt + type (e.g. unsigned long ulOffset);
CSomeClass someClass; CSomeClass* pSomeClass;
  1. enumerations must inherit type
enum ESomeEnum : short

3.1. enumerations members should be uppercase

SOME_ENUM_MEMBER = 0
  1. includes paths must be separated with one slash

4.1. additional: file names preferably be lowercase

  1. use number literal's (uppercase)
long lSomeLong = 0L;
unsigned int uSomeOffset = 0x0; // hex
unsigned int uSomeInt = 0U;
unsigned long ulSomeLong = 0UL;
  1. use c++ style casts
void* pSomeHandle = const_cast<void*>(pSomeConstHandle);
int iSomeInt = static_cast<int>(flSomeFloat);
int* pSomePointer = *reinterpret_cast<int**>(pSomeAddress);

πŸ”– preprocessor definitions

  1. _DEBUG - disable string encryption and activate external console logging (automatic switches with compilation configuration)
  2. DEBUG_CONSOLE - activate external console logging but deactivate file logging

πŸ”§ prerequisites

  1. directx sdk
  2. c++ redistributables

❓ faq

how do i create a project/solution?

  • project and solution files can be auto-generated with premake5, put it into same folder where premake5.lua is located and execute premake5 <ide> (where <ide> is e.g. vs2022) command

how do i open the menu?

  • menu key is HOME

how do i unload the cheat?

  • panic key is END

🎈 additional dependencies

  1. dear imgui
  2. json
  3. freetype font rasterizer
  4. minhook

gerehook's People

Contributors

rollraw avatar kieranlproctor avatar bmbkr avatar interwebxplorer avatar bruhmoment21 avatar imshyy avatar lanylow avatar rxvan avatar

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.