📦 Game Update 13987

This commit is contained in:
a2x
2024-02-07 14:08:21 +10:00
parent af4f2b7171
commit d6a68b1ead
100 changed files with 45592 additions and 41378 deletions

View File

@@ -272,7 +272,7 @@ mod tests {
}
};
// Sleep for a second so we're able to test.
// Sleep for a second, so we're able to test.
sleep(Duration::from_secs(1));
for button in &FORCE_BUTTONS {
@@ -374,7 +374,7 @@ mod tests {
unsafe { _bittest(&key_map_element, key_code & 0x1F) != 0 }
};
// Sleep for a second so we're able to test.
// Sleep for a second, so we're able to test.
sleep(Duration::from_secs(1));
// See https://www.unknowncheats.me/forum/3855779-post889.html for button codes.

View File

@@ -1,5 +1,4 @@
#![allow(dead_code)]
#![feature(offset_of)]
use anyhow::{bail, Result};

View File

@@ -38,7 +38,7 @@ impl<'a> SchemaSystemTypeScope<'a> {
pub fn classes(&self) -> Result<Vec<SchemaClassInfo>> {
let declared_classes = self
.process
.read_memory::<UtlTsHash<*mut SchemaTypeDeclaredClass>>(self.address + 0x588)?;
.read_memory::<UtlTsHash<*mut SchemaTypeDeclaredClass>>(self.address + 0x5B8)?;
let classes: Vec<SchemaClassInfo> = declared_classes
.elements(self.process)?