Skip to content

Add smoke-wall aim checks and refresh-rate tuning, and some more stuff#263

Open
F1xGOD wants to merge 1 commit intoavitran0:rustfrom
F1xGOD:rust
Open

Add smoke-wall aim checks and refresh-rate tuning, and some more stuff#263
F1xGOD wants to merge 1 commit intoavitran0:rustfrom
F1xGOD:rust

Conversation

@F1xGOD
Copy link
Copy Markdown

@F1xGOD F1xGOD commented Mar 19, 2026

hey, its me again, added useful features (some from previous PR) and fixed deadlocked not working after update today.
tried to keep very maintainable, i look forward to being a maintainer, and helping this project in the future as well

Detailed:
Updated after latest CS2 patch and added small performance/cool improvements.

  1. CS2 changed the register in mov r32, [rax+imm8] (50 -> 48), so global-vars pattern was updated in src/cs2/find_offsets.rs.

  2. Added optional smoke/wall occlusion check for aimbot:
    config field + default in src/config.rs
    UI toggle in src/ui/gui/aimbot.rs
    LOS/smoke path check + usage in src/cs2/mod.rs, src/cs2/target.rs, src/cs2/features/aimbot.rs

  3. Added tunable Overlay FPS and Data FPS:
    config in src/config.rs
    UI controls in src/ui/gui/hud.rs
    applied in loops in src/ui/app.rs and src/game.rs

  4. Small perf cleanup:
    render once per frame (GUI redraw path) in src/ui/app.rs
    avoid redundant overlay move/resize in src/ui/overlay/mod.rs
    throttle heavy world scans/BVH checks in src/cs2/mod.rs

  5. Removed debug spam "inserted keypress" from src/ui/window_context.rs. (i hope thats not going to be a reason for rejection)

@F1xGOD
Copy link
Copy Markdown
Author

F1xGOD commented Mar 19, 2026

#254 old PR

@avitran0
Copy link
Copy Markdown
Owner

will review later, when i have time

@F1xGOD
Copy link
Copy Markdown
Author

F1xGOD commented Mar 19, 2026

thanks, please let me know if you are open to add me as a helper, im still just learning rust, so im not a pro, but i love open source project, although i never got any contributions from other people to my projects, so i would love to maintain / resolve users' issues on github when you are busy, 2 brains are better than 1, am i right? 😉
i also know C++, python, and Java. and learning asm (assembly)

@F1xGOD
Copy link
Copy Markdown
Author

F1xGOD commented Mar 19, 2026

also since i know C++ better, i could try updating your cpp branch to be up to date with rust

@avitran0
Copy link
Copy Markdown
Owner

also since i know C++ better, i could try updating your cpp branch to be up to date with rust

please don't. that one is just there for legacy, i could and should delete it. i will not update it, it has absolutely no benefits over the rust version.

@F1xGOD
Copy link
Copy Markdown
Author

F1xGOD commented Mar 19, 2026

Thanks for informing me, are there any features besides skinchanger that you thought of implementing?

!self.segment_hits_smoke(start, end)
}

fn segment_hits_smoke(&self, start: Vec3, end: Vec3) -> bool {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to do this properly, this should read the actual smoke voxels. that is probably out of scope for now, so just leave it out i guess.

pub line_width: f32,
pub font_size: f32,
pub icon_size: f32,
pub overlay_refresh_rate: u64,
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this really need to be configurable? if so, link the two, otherwise, id ui_fps > data_fps the ui will render, but with stale data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants