Skip to content

bvtuhan/assault_cube_wall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assault Cube Wall

Simple ESP (not the best) written in Rust for Assault Cube. This project helped me to understand how low-level system fundamentals work (such as reading/writing memory and putting pixels on screen) in Rust. It could maybe guide you for your project as well.

illustration

Compiling the program

You have to compile it for the 32-bit architecture. For MSCV toolchain:

rustup target add i686-pc-windows-msvc
cargo build --target=i686-pc-windows-msvc --release # or just cargo run

If you are using GNU toolchain:

rustup target add i686-pc-windows-gnu
cargo build --target=i686-pc-windows-gnu --release

Configuration

Positioning of the red boxes is not the finest, but configurable based on your preference:

// main.rs
let x = screen.x; // do not touch
let y = screen.y; // do not touch

let left = x as i32 - 24 / 2;
let right = x as i32 + 24 / 2;
let top = y as i32 - 16 / 2;
let bottom = y as i32 + 128;
let color = [255, 0, 0, 255]; // Red RGBA

rect(frame, *SCREEN_WIDTH as i32, left, top, right, bottom, &color);

Sources

About

Simple Assault Cube ESP written in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages