[C++] Example of writing a pointer
Page 1 of 1
[C++] Example of writing a pointer
This is just an example.
Replace ''Pointer'' with the name of your pointer.
Replace ''Offset'' with the name of your offset
Don't forget to define the pointer and offsets.
Basics.
Maplestory has some checks to make it 19 (95%)
So here we go.
Replace ''Pointer'' with the name of your pointer.
Replace ''Offset'' with the name of your offset
Don't forget to define the pointer and offsets.
Basics.
- Code:
*(DWORD*)(*(DWORD*)Pointer + Offset) = 0;
- Code:
[B]*(DWORD*)[/B](*(DWORD*)Pointer + Offset) = 0;
- Code:
*(DWORD*)([B]*(DWORD*)[/B]Pointer + Offset) = 0;
- Code:
*(DWORD*)(*(DWORD*)Pointer + Offset) = [B]0[/B];
Maplestory has some checks to make it 19 (95%)
So here we go.
- Code:
void FixMyValues()
{
//TODO Code Here
}
- Code:
void FixMyValues()
{
*(DWORD*)(*(DWORD*)HPMPBase+ HPOff) = 20;
}
- Code:
void FixMyValues()
{
[B]for(;;)[/B]
{
*(DWORD*)(*(DWORD*)HPMPBase+ HPOff) = 20;
}
}
- Code:
for(;;)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum