Teleport for CF? (not sure)

Posts 1–15 of 23 · Page 1 of 2
Teleport for CF? (not sure)
Code:
#include <windows.h>
#include <stdio.h>
/*Creditz goes to ZeaS*/

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;
}
Not sure it is for CF!
* Not full code..
It's wrong.
Quote Originally Posted by FreeCode? View Post
A good coder knows where he need to find/ask codes like this
You mean that a good coder knows where he can C&P things?

This could work in Combat Arms, because ZeaS creates Combat Arms hacks.

Quote Originally Posted by kmanev073 View Post
from where do you leech all these codes LOL
This is not leeched, he didn't delete the credits.
aaah yes he told that the credits are not to him...
lol what is a "good" coder?
i can't make teleport, so i'm bad?
&& it was a question(look threadname)
=> i was wonderring if the code works in CF, i know he make CA hacks.. but ok, i have my answer
U can teleport in cf but these aren't the right pointers / offsets
can you share strings ? or its not in olly
Quote Originally Posted by ~FALLEN~ View Post
@kmanev073 learn how to reverse and it's an easy find
For you everything is easy, its like a noob who learn how to make noreload, 1st its so hard for him, but when he leeched it and understand it, then its easy for him, & when someone ask noreload, he say: omg noob, its so easy stuff...
so its easy for you but not for him...
Quote Originally Posted by FreeCode? View Post
For you everything is easy, its like a noob who learn how to make noreload, 1st its so hard for him, but when he leeched it and understand it, then its easy for him, & when someone ask noreload, he say: omg noob, its so easy stuff...
so its easy for you but not for him...
dude stop posting sutupid things now @~FALLEN~ i am tryng to do exactly that with weapon hack
teleporting in CF sounds too good and I really don't think crossfire didn't patch such a simple code.
Quote Originally Posted by Youtro View Post
teleporting in CF sounds too good and I really don't think crossfire didn't patch such a simple code.

They didn't patch it, but sometimes you get client error if ur in a wall or 21_0
dunno but machid*a had a working teleport from 1-2 months...but i u abuse it gives error
how come they not patch teleport??
even i can write a 1 line code that would stop this O_O
EVEN
Quote Originally Posted by Youtro View Post
how come they not patch teleport??
even i can write a 1 line code that would stop this O_O
EVEN
it is patched...but not 100%....if u use it like more than 2 times in a match u get error..
Quote Originally Posted by Assassin's Creed View Post

it is patched...but not 100%....if u use it like more than 2 times in a match u get error..
No you don't lol, I used it like 50 times and nothing happened. It depends where you are teleporting, if ur doing it in a wall then obviously you're gonna have issues, lol.
Posts 1–15 of 23 · Page 1 of 2

Post a Reply

Similar Threads

Talk with us