mirror of
https://github.com/qwertyuiop3/Storm.git
synced 2025-07-18 17:37:59 +08:00
some progress on prediction redesignment
This commit is contained in:
19
Move.hpp
19
Move.hpp
@ -1,16 +1,21 @@
|
||||
void* Original_Move_Caller;
|
||||
|
||||
__int32 Extra_Commands;
|
||||
|
||||
void Redirected_Move(float Unknown_Parameter, __int8 Final)
|
||||
void Run_Prediction()
|
||||
{
|
||||
using Run_Prediction_Type = void(__cdecl*)();
|
||||
|
||||
Run_Prediction_Type((unsigned __int32)Engine_Module + 527776)();
|
||||
}
|
||||
|
||||
__int32 Extra_Commands;
|
||||
|
||||
void* Original_Move_Caller;
|
||||
|
||||
void Redirected_Move(float Unknown_Parameter, __int8 Final)
|
||||
{
|
||||
if (*(void**)((unsigned __int32)Client_Module + 7498712) != nullptr)
|
||||
{
|
||||
Redirected_Read_Packets(Final);
|
||||
|
||||
Run_Prediction_Type((unsigned __int32)Engine_Module + 527776)();
|
||||
Run_Prediction();
|
||||
|
||||
using Update_Animations_Type = void(__cdecl*)();
|
||||
|
||||
@ -35,7 +40,7 @@ void Redirected_Move(float Unknown_Parameter, __int8 Final)
|
||||
{
|
||||
(decltype(&Redirected_Move)(Original_Move_Caller))(Unknown_Parameter, Final);
|
||||
|
||||
Run_Prediction_Type((unsigned __int32)Engine_Module + 527776)();
|
||||
Run_Prediction();
|
||||
|
||||
if (Extra_Commands > 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user