Code For Teleport!!

Posts 1–15 of 118 · Page 1 of 8
Code For Teleport!!
Ok this is what i have been using to teleport, (I evan made a walling bot this way) So fuck with it if you will.. This work's, And also if you do not understand this do not reply or pm me.. You must have a knowledge of c++ or another computer language.. Also you will need a working bypass for this, Maybe i get time i will post a source code to 1..
So here it is and thank me!!!!!
Ok User1 Is not a fucking noob..


Code:
#include <windows.h>
#include <stdio.h>
/*Creditz goes to headsup*/

DWORD *PlayerIsInamge = (DWORD*)0xPLAYER_POINTER;

int ArrayX[100];
int ArrayY[100];
int ArrayZ[100];

int curx, cury, curz;
int ArraySwitch=0, ArraySwitch2=0;

DWORD X, Y, Z;

DWORD WINAPI SaveTeleportCoor(LPVOID);
DWORD WINAPI ArrayTeleport(LPVOID);

BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
   if(dwReason == DLL_PROCESS_ATTACH)
   {
      CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)SaveTeleportCoor, NULL, NULL, NULL);
      CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)SetTeleportCoor, NULL, NULL, NULL);
   }
   return TRUE;
}

DWORD WINAPI SetTeleportCoor(LPVOID)
{
   for(;;)
   {
      if(*PlayerIsIngame)
      {
         X = ( /*Player Pointer*/ );
     X = *(DWORD*)X;
     X += 0x18c; //Offset X
     curx = *(int*)X;

     Y = ( /*Player Pointer*/ );
     Y = *(DWORD*)ab;
     Y += 0x194; //Offset Y
     cury = *(int*)Y;

     Z = ( /*Player Pointer*/ );
         Z = *(DWORD*)Z;
     Z += 0x190; //Offset Z
         curz = *(int*)Z;

         if(GetAsyncKeyState(VK_NUMPAD8)&1) // Saving Current Possition
         {

        ArrayX[ArraySwitch] = curx;
        ArrayY[ArraySwitch] = cury;
        ArrayZ[ArraySwitch] = curz;
        ArraySwitch++;
        Sleep(2);

     }
      }
   }
   return 0;
}

DWORD WINAPI ArrayTeleport(LPVOID)
{
   for(;;)
   {
      if(GetAsyncKeyState(VK_NUMPAD1)&1) //Teleport Forward
      {
        
         DWORD *first = (DWORD*)X;
     *(int*)X = ArrayX[ArraySwitch2];
     DWORD *secound = (DWORD*)Y;
     *(int*)Y = ArrayY[ArraySwitch2];
     DWORD *third = (DWORD*)Z;
     *(int*)Z = ArrayZ[ArraySwitch2];
     Sleep(1);
     ArraySwitch2++;

      }
      if(GetAsyncKeyState(VK_NUMPAD2)&1) //Teleport Backward
      {
            
         ArraySwitch2--;
        
     DWORD *first = (DWORD*)X;
     *(int*)X = ArrayX[ArraySwitch2];
     DWORD *secound = (DWORD*)Y;
     *(int*)Y = ArrayY[ArraySwitch2];
     DWORD *third = (DWORD*)Z;
     *(int*)Z = ArrayZ[ArraySwitch2];
     Sleep(1);
      }
      Sleep(21);
   }
   return 0;
}

Have fun!!!
Are you sure this works?

Im not 100% casue im still looking for a c++ tutor....

But idunno
Wow. If that really does work you could have something there. You should contact someone about making into a full blown hack. Unless you know how to do that your self. :O
Nice ^^ Looks like its almost the real deal
lol @ satindemon I said that is what i use in CA as of 10/26/2009.. Like i said also, You need common c++ knowledge and this need's tweaked a bit to work.. Like i am going to post a fully working just copy and paste teleport hack? lol No way.. That way noobs that don't know shit will not be able to use!! Stumpy pm me i will help any mod anytime i get..
ok liek wat is this a dll or a app
.dll noob
app?? u mean application?? no it must be injected into

So you will need a bypass..
Maybe i get a chance i will type a source code for a HS Bypass.. But idk.

Im telling you guys, Look into making a program to make hacks 4 you. mine updates them with Hack shield
?????? idk
Besides the fact that this fails or u fail at pasting, or this is a very small snipit.... this basically fails

in all seriousness, this code fails. To teleport u have to hook onto the CA's memory and change the memory through either a custom driver or writeprocessmemory (coupled with a bypass because the HSheild drivers disable it). So thank you for pasting fail code...
Quote Originally Posted by User1 View Post
Besides the fact that this fails or u fail at pasting, or this is a very small snipit.... this basically fails

in all seriousness, this code fails. To teleport u have to hook onto the CA's memory and change the memory through either a custom driver or writeprocessmemory (coupled with a bypass because the HSheild drivers disable it). So thank you for pasting fail code...
A DLL doesn't need to use WriteProcessMemory...
umm cant u just like compile it for us im not that good at c++
It has to use SOMETHING. Least hooking on to engine...
Quote Originally Posted by User1 View Post
It has to use SOMETHING. Least hooking on to engine...
I beleive it can access the code directly as if it shared the same memory space and so wouldn't have to go through the WinAPI WriteProcessMemory which is terribly inefficient.

Whatever it is it definitely isn't "fail code"... Im just trying to figure out what the array is for right now =/...
lol zomg you do not get it that i said it wasn't fully wrote up, that you will need to add + delete a few thing's i put work into it to work for me.. Every1 else can do the same thing!!

And Why06 yes your right keep going, It's half way done for you..
Don't u need a main() function?
Quote Originally Posted by User1 View Post
Don't u need a main() function?
This is a Windows program which is different then your regular C++. Here WinMain acts as the entry point for execution or in this case DLLMain().
Posts 1–15 of 118 · Page 1 of 8
This thread is closed for replies.

Similar Threads

Tags for this Thread

Talk with us