diff --git a/src/node/Cargo.toml b/src/node/Cargo.toml index f7bfcece..b12beacd 100644 --- a/src/node/Cargo.toml +++ b/src/node/Cargo.toml @@ -8,7 +8,7 @@ crate-type = ["cdylib"] [dependencies] ahash = "0.8.3" -memmap2 = "0.5.10" +memmap2 = "0.9.4" # Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix napi = { version = "2.12.2", default-features = false, features = ["napi4","serde-json"] } napi-derive = "2.12.2" diff --git a/src/parser/src/maps.rs b/src/parser/src/maps.rs index 9ac2ec6a..9a2949df 100644 --- a/src/parser/src/maps.rs +++ b/src/parser/src/maps.rs @@ -2614,7 +2614,8 @@ pub static FRIENDLY_NAMES_MAPPING: phf::Map<&'static str, &'static str> = phf_ma "game_time" => "game_time", "inventory" => "inventory", "inventory_as_ids" => "inventory_as_ids", - + "aim_punch_angle" => "CCSPlayerPawn.m_aimPunchAngle", + "aim_punch_angle_vel" => "CCSPlayerPawn.m_aimPunchAngleVel", "entity_id" => "entity_id", "is_alive"=>"is_alive", "agent_skin" => "agent_skin", diff --git a/src/python/src/lib.rs b/src/python/src/lib.rs index a31e84cb..28c017ea 100644 --- a/src/python/src/lib.rs +++ b/src/python/src/lib.rs @@ -557,7 +557,6 @@ impl DemoParser { only_convars: false, huffman_lookup_table: &arc_huf, order_by_steamid: false, - //huf: huf, }; let mut parser = Parser::new(settings, false); let output = match parser.parse_demo(&self.mmap) { @@ -607,7 +606,10 @@ impl DemoParser { df_column_names_py.push(prop_info.prop_friendly_name); all_pyobjects.push(data.to_object(py)); } - + Some(VarVec::XYZVec(data)) => { + df_column_names_py.push(prop_info.prop_friendly_name); + all_pyobjects.push(data.to_object(py)); + } Some(VarVec::U32Vec(data)) => { df_column_names_py.push(prop_info.prop_friendly_name); all_pyobjects.push(data.to_object(py));