[SOURCE] Simple Teleport hack

Posts 31–43 of 43 · Page 3 of 3
Quote Originally Posted by Solify View Post
if the minimap flickers then be glad
that means that its in ghostmode not real ...
its just visible for you and other people see you at the original position!

The flickering is normal
no its not the minimap its the screen its like im one milisecond at the real position then im back at the saved position i couldnt fix it
do u have an idea on how to fix it please?
Quote Originally Posted by inliner View Post
no its not the minimap its the screen its like im one milisecond at the real position then im back at the saved position i couldnt fix it
do u have an idea on how to fix it please?
This happens if you have so much sleep functions in your base. Usually , i do Sleep(1); for Teleport + ghostmode. Try that?
Lulz nice share
I have the fix do onother void in ur hack just with this teleport without any wait than it works^^
Putting it in a loop wont help you either, memcpy is rather extensive in it's processor usage, use RtlMoveMemory() instead (it's up to 10 cycles faster then memcpy())
If you use to much memory CA wil complain and you'll dc

Code:
90 cycles, RtlMoveMemory
104 cycles, memmove
100 cycles, memcpy
794 cycles, movememory
Another test run:

Code:
90 cycles, RtlMoveMemory
99 cycles, memmove
102 cycles, memcpy
784 cycles, movememory
1303 cycles, Germain_CopyMemory
780 cycles, bcopy
Quote Originally Posted by Solify View Post
Here the source for an extern dll ... (works! tested by me!)
Code:
#include <windows.h>



bool IsGameReadyForHook()
{
    if( GetModuleHandleA( "ClientFX.fxd" ) != NULL 
     && GetModuleHandleA( "CShell.dll"   ) != NULL )
        return true;

    return false;
}


void OPK(){
    while (!IsGameReadyForHook()){
        Sleep(20);
    }
#define playerpointer 0x66F34
#define yoffset 0xCC
DWORD player, position;
float x,y,z;
while(true){            
player=NULL;
player= (DWORD)GetModuleHandleA("ClientFX.fxd");
player+= playerpointer;
memcpy(&position,(void *)(player),4);
position+= yoffset;

             
if(GetAsyncKeyState(VK_F11)<0){ //saves
y = *(float*)position;
x = *(float*)(position+0x4);
z = *(float*)(position-0x4);
}

if(GetAsyncKeyState(VK_F12)<0){ //Teleports
*(float*)position= y;
*(float*)(position+0x4)= x;
*(float*)(position-0x4)= z;
}

}
}

BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved){
    switch (ul_reason_for_call)
    {
    case DLL_PROCESS_ATTACH:
        CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&OPK, NULL, 0,NULL);
        break;
    case DLL_THREAD_ATTACH:
    case DLL_THREAD_DETACH:
    case DLL_PROCESS_DETACH:
        break;
    }
    return TRUE;
}
XD NVM works perfecly
Hey thanks .:Schim:. I'll try this =)

@ o-o as he said its a telePORT hack not a (semi) teleKILL hack
Quote Originally Posted by doofbla View Post
Hey thanks .:Schim:. I'll try this =)

@ o-o as he said its a telePORT hack not a (semi) teleKILL hack
haha I know my worng XD
ahaha i did something little wrong but i fixed it on my own so.... thank you
i already made an position logger maybe i make something like solify but i need to test it first
Cool i made now with this full ghostmode

But how i can say that when i press the left arrowkey that the player goes on HIS left and not on the X-Axis of the map left?!
Quote Originally Posted by ChanceOfHax View Post
Cool i made now with this full ghostmode

But how i can say that when i press the left arrowkey that the player goes on HIS left and not on the X-Axis of the map left?!
Wtf learn english and you are a bullshiter...
Quote Originally Posted by wassup40 View Post


Wtf learn english and you are a bullshiter...
sorry but im not good in english
haha germans ftw
ehm you have to calculate it in each map new ... or just make it with a menu where you can choose which hotkey^^
like:
x+ w
x- s
z+ d
z- a

something like this^^
Posts 31–43 of 43 · Page 3 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us