I search for this all over the internet and could not find any solution, but I know many pros have done this please help.
As in the picture the HP value got move up y-axis, please someone help or share how to do this.
Printplayer.cpp of muemus6
I can only move HP value in x-axis by editing "PositionModifierHP", there no y-axis to modify, and I know nothing of assembly. Please help thank you.
As in the picture the HP value got move up y-axis, please someone help or share how to do this.
Printplayer.cpp of muemus6
PHP:
__declspec(naked) void PrintPlayerViewHP1() // OK
{
static DWORD PrintPlayerViewHPAddress1 = 0x0080FD27;
_asm
{
Mov Ecx,ViewMaxHP
Test Ecx,Ecx
Jle EXIT
Mov Edx,ViewMaxHP
Mov Eax,ViewCurHP
Sub Edx,Eax
Mov Dword Ptr Ss:[Ebp-0x174],Edx
Fild Dword Ptr Ss:[Ebp-0x174]
Mov Ecx,ViewMaxHP
Mov Dword Ptr Ss:[Ebp-0x178],Ecx
Fidiv Dword Ptr Ss:[Ebp-0x178]
Fstp Dword Ptr Ss:[Ebp-0x134]
EXIT:
Jmp [PrintPlayerViewHPAddress1]
}
}
__declspec(naked) void PrintPlayerViewHP2() // OK
{
static float PositionModifierHP = 3.25f;
static DWORD PrintPlayerViewHPAddress1 = 0x0080FF12;
_asm
{
Mov Ecx,ViewCurHP
Push Ecx
Push Ecx
Fld Dword Ptr Ds:[0x00D461A4]
Fstp Dword Ptr Ss:[Esp]
Fld Dword Ptr Ss:[Ebp-0x0C]
Cmp Ecx,0x186A0
Jl EXIT
Fsub Dword Ptr Ds:[PositionModifierHP]
Cmp Ecx,0xF4240
Jl EXIT
Fsub Dword Ptr Ds:[PositionModifierHP]
EXIT:
Jmp [PrintPlayerViewHPAddress1]
}
}
I can only move HP value in x-axis by editing "PositionModifierHP", there no y-axis to modify, and I know nothing of assembly. Please help thank you.