mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2026-10-10 04:53:06 +08:00
ability handle validation
not tested. probably correct address
This commit is contained in:
@@ -15,7 +15,9 @@ void __thiscall Redirected_Process_Movement(void* Unknown_Parameter, void* Playe
|
||||
|
||||
if (Get_Identifier(Player, 0, 0) == 272)
|
||||
{
|
||||
void* Ability = *(void**)((unsigned __int32)Client_Module + 7644532 + (((*(unsigned __int32*)((unsigned __int32)Player + 7892) & 4095) - 4097) << 4));
|
||||
using Get_Ability_Type = void*(__thiscall*)(void* Entity);
|
||||
|
||||
void* Ability = Get_Ability_Type((unsigned __int32)Client_Module + 2438560)(Player);
|
||||
|
||||
if (Ability != nullptr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user