Giter Club home page Giter Club logo

l4d2-cheat's People

Contributors

vmpc avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

gmh5225 shonker

l4d2-cheat's Issues

Compiling error

tried running make all this was the output
cc -c -O3 -std=c99 -m32 -pedantic -Wall -Werror -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wold-style-definition -Iinclude -DVERSION="0.3" -o src/commands.o src/commands.c
In file included from include/commands.h:10,
from src/commands.c:7:
include/game.h:10:10: fatal error: sys/types.h: No such file or directory
10 | #include <sys/types.h>
| ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:6: src/commands.o] Error 1

Suggestion: Replace hardcoded offsets with libsigscan

About this:

L4D2-Cheat/src/game.c

Lines 48 to 53 in dd02910

/* @TODO: replace with sigs */
game->Offsets = (Offsets){
0x00ED93E8, /* LPlr Addr | (c2ce13e8 | xx?x) */
0x7ED829, /* Glow Addr */
0x7F3635, /* Boom Addr */
};

You could probably find my single-header signature scanning library useful. Since you are already getting the module bounds, you could tweak it a bit to use those instead of calculating them again. Here's the link, let me know if I can help: https://github.com/8dcc/libsigscan

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.