diff --git a/config.json b/config.json index 8c76132..4168a85 100644 --- a/config.json +++ b/config.json @@ -22,6 +22,40 @@ } ] }, + { + "name": "dwForceAttack", + "module": "client.dll", + "pattern": "48 8B 15 ? ? ? ? 48 8D 0D ? ? ? ? E9 BD 4F FD 00", + "operations": [ + { + "type": "ripRelative" + }, + { + "type": "dereference" + }, + { + "type": "add", + "value": 440 + } + ] + }, + { + "name": "dwForceAttack2", + "module": "client.dll", + "pattern": "48 8B 15 ? ? ? ? 48 8D 0D ? ? ? ? E9 BD 4F FD 00", + "operations": [ + { + "type": "ripRelative" + }, + { + "type": "dereference" + }, + { + "type": "add", + "value": 584 + } + ] + }, { "name": "dwForceBackward", "module": "client.dll", diff --git a/generated/offsets.cs b/generated/offsets.cs index 50918c8..0f3eb63 100644 --- a/generated/offsets.cs +++ b/generated/offsets.cs @@ -1,8 +1,10 @@ // Created using https://github.com/a2x/cs2-dumper -// 2023-10-10 02:56:33.655513200 UTC +// 2023-10-11 03:22:33.060043700 UTC public static class client_dll { public const nint dwEntityList = 0x178A808; + public const nint dwForceAttack = 0x1691C70; + public const nint dwForceAttack2 = 0x1691D00; public const nint dwForceBackward = 0x1691F40; public const nint dwForceCrouch = 0x1692210; public const nint dwForceForward = 0x1691EB0; diff --git a/generated/offsets.hpp b/generated/offsets.hpp index 8aaf1eb..9e081fd 100644 --- a/generated/offsets.hpp +++ b/generated/offsets.hpp @@ -3,10 +3,12 @@ #include // Created using https://github.com/a2x/cs2-dumper -// 2023-10-10 02:56:33.654268700 UTC +// 2023-10-11 03:22:33.059568400 UTC namespace client_dll { constexpr std::ptrdiff_t dwEntityList = 0x178A808; + constexpr std::ptrdiff_t dwForceAttack = 0x1691C70; + constexpr std::ptrdiff_t dwForceAttack2 = 0x1691D00; constexpr std::ptrdiff_t dwForceBackward = 0x1691F40; constexpr std::ptrdiff_t dwForceCrouch = 0x1692210; constexpr std::ptrdiff_t dwForceForward = 0x1691EB0; diff --git a/generated/offsets.json b/generated/offsets.json index bfe3455..7cd5e68 100644 --- a/generated/offsets.json +++ b/generated/offsets.json @@ -1,6 +1,8 @@ { "client_dll": { "dwEntityList": 24684552, + "dwForceAttack": 23665776, + "dwForceAttack2": 23665920, "dwForceBackward": 23666496, "dwForceCrouch": 23667216, "dwForceForward": 23666352, diff --git a/generated/offsets.rs b/generated/offsets.rs index 080261c..18b409d 100644 --- a/generated/offsets.rs +++ b/generated/offsets.rs @@ -1,10 +1,12 @@ #![allow(non_snake_case, non_upper_case_globals)] // Created using https://github.com/a2x/cs2-dumper -// 2023-10-10 02:56:33.656895 UTC +// 2023-10-11 03:22:33.060775500 UTC pub mod client_dll { pub const dwEntityList: usize = 0x178A808; + pub const dwForceAttack: usize = 0x1691C70; + pub const dwForceAttack2: usize = 0x1691D00; pub const dwForceBackward: usize = 0x1691F40; pub const dwForceCrouch: usize = 0x1692210; pub const dwForceForward: usize = 0x1691EB0;