if(GetAsyncKeyState(VK_NUMPAD1)&1)
{
char comp[100] = {0};
static DWORD FlagSteal[6]= {-14.341678f,-28.686298f,4.849210f,33.457153f,13.890038f,1.023826f};
float F1=-113.726830f;
float F2=57.775280f;
float F3=-1.538230f;
float FF1=-190.588013f;
float FF2=-112.676399f;
float FF3=6.006558f;
/* removed anti-hradba code for speed hack etc..
sorry but it would kill the game completely
these 4 lines kill hradba
checking */
//========================================= >>FLAG VC (STREAM)
if (Toggle)
{
LocationPointers = BaseDma;
VirtualProtectEx(hand,(void*) LocationPointers, 4, PAGE_EXECUTE_READWRITE, &OldPage);
WriteProcessMemory(hand, (void*) LocationPointers, &F1, 4, 0);
LocationPointers = BaseDma+4;
VirtualProtectEx(hand,(void*) LocationPointers, 4, PAGE_EXECUTE_READWRITE, &OldPage);
WriteProcessMemory(hand, (void*) LocationPointers, &F2, 4, 0);
LocationPointers = BaseDma+8;
VirtualProtectEx(hand,(void*) LocationPointers, 4, PAGE_EXECUTE_READWRITE, &OldPage);
WriteProcessMemory(hand, (void*) LocationPointers, &F3, 4, 0);
}
//========================================= >>FLAG US (STREAM)
else
{
LocationPointers = BaseDma;
VirtualProtectEx(hand,(void*) LocationPointers, 4, PAGE_EXECUTE_READWRITE, &OldPage);
WriteProcessMemory(hand, (void*) LocationPointers, &FF1, 4, 0);
LocationPointers = BaseDma+4;
VirtualProtectEx(hand,(void*) LocationPointers, 4, PAGE_EXECUTE_READWRITE, &OldPage);
WriteProcessMemory(hand, (void*) LocationPointers, &FF2, 4, 0);
LocationPointers = BaseDma+8;
VirtualProtectEx(hand,(void*) LocationPointers, 4, PAGE_EXECUTE_READWRITE, &OldPage);
WriteProcessMemory(hand, (void*) LocationPointers, &FF3, 4, 0);
}
}
some old code from piss off player , this stole the flag at stream , it will be very simple to convert this into an xyz logger.
ofcourse you will have to hack the pointers but it is not difficult.
.. BaseDma is the location pointer to x,y,z in dword format.
good luck