Git Product home page Git Product logo

modernwarfare-cheat-rs-archive's Introduction

modernwarfare-cheat-rs-archive's People

Contributors

rmccrystal avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

modernwarfare-cheat-rs-archive's Issues

Great Project

I often play this game. When I saw this project, it attracted me and made me start learning Rust language. Today is the first day of study. And every time you update it in time. Thanks for your contribution.

Question

Does this require a KVM with DMA to be set up or can it be used in the same windows OS with some risk of detection?

Do you have a discord I could reach you at?

Can't compile

I am trying to compile your code but I get these errors do I need anything else than your memlib-rs dependancy?

error: failed to run custom build command for `modernwarfare-cheat-rs v0.1.0 (/home/ozgur/modernwarfare-cheat-rs)`

Caused by:
  process didn't exit successfully: `/home/ozgur/modernwarfare-cheat-rs/target/debug/build/modernwarfare-cheat-rs-fd07e3fcdf3226c0/build-script-build` (exit code: 1)
--- stdout
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("0")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/ozgur/modernwarfare-cheat-rs/target/cxxbridge" "-I" "/home/ozgur/modernwarfare-cheat-rs/target/cxxbridge/CRATE" "-Wall" "-Wextra" "-std=c++20" "-o" "/home/ozgur/modernwarfare-cheat-rs/target/debug/build/modernwarfare-cheat-rs-7267153592da52a6/out/cxxbridge/modernwarfare-cheat-rs/src/sdk/encryption.rs.o" "-c" "/home/ozgur/modernwarfare-cheat-rs/target/debug/build/modernwarfare-cheat-rs-7267153592da52a6/out/cxxbridge/modernwarfare-cheat-rs/src/sdk/encryption.rs.cc"
cargo:warning=In file included from /home/ozgur/modernwarfare-cheat-rs/target/debug/build/modernwarfare-cheat-rs-7267153592da52a6/out/cxxbridge/modernwarfare-cheat-rs/src/sdk/encryption.rs.cc:1:
cargo:warning=/home/ozgur/modernwarfare-cheat-rs/target/cxxbridge/CRATE/modernwarfare-cheat-rs/src/sdk/encryption.h:5:26: error: expected initializer before ‘QWORD’
cargo:warning=    5 | typedef unsigned __int64 QWORD;
cargo:warning=      |                          ^~~~~
exit code: 1
running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/ozgur/modernwarfare-cheat-rs/target/cxxbridge" "-I" "/home/ozgur/modernwarfare-cheat-rs/target/cxxbridge/CRATE" "-Wall" "-Wextra" "-std=c++20" "-o" "/home/ozgur/modernwarfare-cheat-rs/target/debug/build/modernwarfare-cheat-rs-7267153592da52a6/out/src/sdk/encryption.o" "-c" "src/sdk/encryption.cpp"
cargo:warning=In file included from src/sdk/encryption.cpp:1:
cargo:warning=src/sdk/encryption.h:5:26: error: expected initializer before ‘QWORD’
cargo:warning=    5 | typedef unsigned __int64 QWORD;
cargo:warning=      |                          ^~~~~
cargo:warning=src/sdk/encryption.cpp: In function ‘uint64_t decrypt_client_info(uint64_t, uint64_t, uint64_t, uint64_t)’:
cargo:warning=src/sdk/encryption.cpp:4:63: warning: unused parameter ‘game_base_address’ [-Wunused-parameter]
cargo:warning=    4 | auto decrypt_client_info(uint64_t encrypted_address, uint64_t game_base_address, uint64_t last_key, uint64_t peb) -> uint64_t
cargo:warning=      |                                                      ~~~~~~~~~^~~~~~~~~~~~~~~~~
cargo:warning=src/sdk/encryption.cpp:4:110: warning: unused parameter ‘peb’ [-Wunused-parameter]
cargo:warning=    4 | auto decrypt_client_info(uint64_t encrypted_address, uint64_t game_base_address, uint64_t last_key, uint64_t peb) -> uint64_t
cargo:warning=      |                                                                                                     ~~~~~~~~~^~~
cargo:warning=src/sdk/encryption.cpp: In function ‘uint64_t decrypt_client_base(uint64_t, uint64_t, uint64_t, uint64_t)’:
cargo:warning=src/sdk/encryption.cpp:26:9: error: ‘QWORD’ was not declared in this scope
cargo:warning=   26 |         QWORD rbx, rcx, rdx, r10, r11, r14 = 0;
cargo:warning=      |         ^~~~~
cargo:warning=src/sdk/encryption.cpp:28:22: error: ‘_rotr64’ was not declared in this scope
cargo:warning=   28 |         auto index = _rotr64(not_peb, 0xC) & 0xF;
cargo:warning=      |                      ^~~~~~~
cargo:warning=src/sdk/encryption.cpp:33:17: error: ‘r11’ was not declared in this scope
cargo:warning=   33 |                 r11 = not_peb;
cargo:warning=      |                 ^~~
cargo:warning=src/sdk/encryption.cpp:34:17: error: ‘rcx’ was not declared in this scope; did you mean ‘rax’?
cargo:warning=   34 |                 rcx = rax;
cargo:warning=      |                 ^~~
cargo:warning=      |                 rax
cargo:warning=src/sdk/encryption.cpp:43:17: error: ‘rdx’ was not declared in this scope; did you mean ‘rax’?
cargo:warning=   43 |                 rdx = last_key; // DISPLACEMENT = 0x15, REVERSED_ADDRESS = 0x4D47115, _byteswap_uint64
cargo:warning=      |                 ^~~
cargo:warning=      |                 rax
cargo:warning=src/sdk/encryption.cpp:49:17: error: ‘rbx’ was not declared in this scope; did you mean ‘rax’?
cargo:warning=   49 |                 rbx = game_base_address;
cargo:warning=      |                 ^~~
cargo:warning=      |                 rax
cargo:warning=src/sdk/encryption.cpp:109:17: error: ‘r14’ was not declared in this scope
cargo:warning=  109 |                 r14 = game_base_address + 0x2AD7946E;
cargo:warning=      |                 ^~~
cargo:warning=src/sdk/encryption.cpp:393:17: error: ‘r10’ was not declared in this scope
cargo:warning=  393 |                 r10 = game_base_address + 0x9308;
cargo:warning=      |                 ^~~
exit code: 1

--- stderr

CXX include path:
  /home/ozgur/modernwarfare-cheat-rs/target/cxxbridge
  /home/ozgur/modernwarfare-cheat-rs/target/cxxbridge/CRATE


error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/home/ozgur/modernwarfare-cheat-rs/target/cxxbridge" "-I" "/home/ozgur/modernwarfare-cheat-rs/target/cxxbridge/CRATE" "-Wall" "-Wextra" "-std=c++20" "-o" "/home/ozgur/modernwarfare-cheat-rs/target/debug/build/modernwarfare-cheat-rs-7267153592da52a6/out/cxxbridge/modernwarfare-cheat-rs/src/sdk/encryption.rs.o" "-c" "/home/ozgur/modernwarfare-cheat-rs/target/debug/build/modernwarfare-cheat-rs-7267153592da52a6/out/cxxbridge/modernwarfare-cheat-rs/src/sdk/encryption.rs.cc" with args "c++" did not execute successfully (status code exit code: 1).



warning: build failed, waiting for other jobs to finish...
error: build failed

Getting build error

Running cargo build --bin=mwc --package=mwc --message-format=json...
error: failed to resolve patches for https://github.com/rust-lang/crates.io-index

Caused by:
  failed to load source for dependency winit

Caused by:
  Unable to update C:\Users\cedri\Downloads\window-overlay\custom-winit

Caused by:
  failed to read C:\Users\cedri\Downloads\window-overlay\custom-winit\Cargo.toml

Caused by:
  Das System kann den angegebenen Pfad nicht finden. (os error 3)

Any idea what's going wrong?

Could not find `null_overlay` in `overlay`

Hello @rmccrystal , im tryng to learn more about Rust and im compiling this project for a few days...

Im having a problem to initialize the hacks::hack_loop on main.rs because when we try to start the overlay like is in master branch:

let overlay = Box::new(overlay::null_overlay::NullOverlay);

the null_overlay do not exist in overlay in memlib... i already try a lot of things but notting was succed =(...
I also tryd to uncomment the old code where you was starting the overlay pointer in another way:

  // Init the overlay
   // let overlay = Box::new(overlay::looking_glass::LookingGlassOverlay::new(
   //     "/tmp/overlay-pipe",
   //     false,
   //     6
   // ).expect("Failed to create overlay"));

But i cold not succed too...

Can you help me to understand how to initialize the overlay to pass inside the hacks::hack_loop

Thanks, gg =D
Discod: SilentSharp#5362
I alreaded added you btw =P

Can't compile in vs2019

Hello, i can't compile in Visual Studio 2019, i only have option "Select a startup item", i can't compile because there is no project file. How can i compile this? Thanks.

Build error using rustc

error[E0433]: failed to resolve: use of undeclared crate or module cxx_build--> build.rs:2:5 | 2 | cxx_build::bridge("src/sdk/encryption.rs") | ^^^^^^^^^ use of undeclared crate or modulecxx_build`

error: aborting due to previous error

For more information about this error, try rustc --explain E0433.`

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.