Add smoke-wall aim checks and refresh-rate tuning, and some more stuff#263
Add smoke-wall aim checks and refresh-rate tuning, and some more stuff#263F1xGOD wants to merge 1 commit intoavitran0:rustfrom
Conversation
|
#254 old PR |
|
will review later, when i have time |
|
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? 😉 |
|
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. |
|
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 { |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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.
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.
CS2 changed the register in mov r32, [rax+imm8] (50 -> 48), so global-vars pattern was updated in src/cs2/find_offsets.rs.
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
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
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
Removed debug spam "inserted keypress" from src/ui/window_context.rs. (i hope thats not going to be a reason for rejection)