0x3782E360
#define playerpoint 0x66F34 #define teleportaddy 0x3782E360 #define yoffset 0xCC #define posyoffset 0xCC DWORD nom, pos, teleloc;
void teleport(void) {
while(1){
nom=NULL;
nom = (DWORD)GetModuleHandleA("ClientFX.fxd");
nom += playerpoint;
memcpy(&pos,(void *)(nom),4);
pos += posyoffset;
memcpy(&teleloc,(void *)(teleportaddy),4);
teleloc += yoffset;
if(GetAsyncKeyState(VK_INSERT)&1) //this stores the location you want to teleport
{
if(pos > posyoffset && teleloc > yoffset)
{
*(float*)teleloc = *(float*)pos;
*(float*)(teleloc+0x4) = *(float*)(pos+0x4);
*(float*)(teleloc-0x4) = *(float*)(pos-0x4);
}
}
if(GetAsyncKeyState(VK_DELETE)<0) // this teleports you back
{
if(pos > posyoffset && teleloc > yoffset)
{
*(float*)pos = *(float*)teleloc;
*(float*)(pos+0x4) = *(float*)(teleloc+0x4);
*(float*)(pos-0x4) = *(float*)(teleloc-0x4);
}
}
}
}
0x3745FA90 0x3745FAA1 0x3745FAB0 0x3745FAA4
bool Memoria( void * pDest, char * szPatch, size_t sSize )
{
DWORD dwOrgProtect = NULL;
if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
return FALSE;
memcpy( pDest, szPatch, sSize );
VirtualProtect( pDest, sSize, dwOrgProtect, NULL );
return TRUE;
}
Memoria((LPVOID) (0x3745FA90), "\x90\x90\x90", 3);
Memoria((LPVOID) (0x3745FAA1), "\x90\x90\x90", 3);
Memoria((LPVOID) (0x3745FAB0), "\x90\x90\x90", 3);
Memoria((LPVOID) (0x3745FAA4), "\x90\x90\x90\x90\x90\x90", 6);
while(1){
nom=NULL;
nom = (DWORD)GetModuleHandleA("ClientFX.fxd");
nom += playerpoint;
memcpy(&pos,(void *)(nom),4);
pos += posyoffset;
memcpy(&teleloc,(void *)(teleportaddy),4);
teleloc += yoffset;
void teleport (void);
{
while(1){
if(GetAsyncKeyState(VK_INSERT)&1) //this stores the location you want to teleport
{
if(pos > posyoffset && teleloc > yoffset)
{
*(float*)teleloc = *(float*)pos;
*(float*)(teleloc+0x4) = *(float*)(pos+0x4);
*(float*)(teleloc-0x4) = *(float*)(pos-0x4);
}
}
if(GetAsyncKeyState(VK_DELETE)<0) // this teleports you back
{
if(pos > posyoffset && teleloc > yoffset)
{
*(float*)pos = *(float*)teleloc;
*(float*)(pos+0x4) = *(float*)(teleloc+0x4);
*(float*)(pos-0x4) = *(float*)(teleloc-0x4);
}
}
}
}
}
}
