csflow:
 - Create structs for gamerules and global vars

radarflow:
 - new dma loop with less frequent cache invalidation
 - The new loop tries to run at a fixed 128 hz. Thats the max tickrate in cs2. The data is also only updated when a tick change is detected, so that should keep data fetching to a minimum.
 - todo: more testing for cache invalidation
This commit is contained in:
Janek
2023-12-31 04:32:12 +01:00
parent 0f0f7232fb
commit 7c652cb984
15 changed files with 305 additions and 175 deletions

View File

@@ -2,6 +2,7 @@ use memflow::{types::Address, mem::MemoryView};
use crate::{Error, CheatCtx, cs2dumper, structs::Vec3, traits::MemoryClass};
#[derive(Debug, Clone, Copy)]
pub struct CPlayerPawn(Address);
impl MemoryClass for CPlayerPawn {