same here bro
Printable View
same here bro
Upload the complied DLL here. I will work on it.
1. It should be a DLL, not an app
2. I just LOVE how so many noobs think they can copy/paste source code and expect it to work.
3. Correct me if Im wrong, but you need to get the Player Pointer for this to work.
yea your right
Wow. Nice try. Copy and pasting. Lol.
Post a more thorough post I am getting a lot of errors >.>
and so are others
EDIT:: Headsup posted the same thing Why would you make another post>?
Copy and Pasting lol... whole bunch of errors i'am getting
________
*I should put a Sig in here*
DON'T MESS WITH MPGH
If You Look PlayerIngame Or Something Was Spelled Wrong I Corrected That And Much More So Now Theres Only 4 ErrorsQuote:
#include "stdafx.h"
#include "CaHack1.h"
#include <windows.h>
#include <stdio.h>
/*Creditz goes to headsup*/
DWORD *PlayerIsIngame = (DWORD*)PLAYER_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 SetTeleportCoor (LPVOID);
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*)Y;
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;
}
I think I'm Closer Than Pika I Just Dont Understand The PLAYER_POINTER ,,, Sorry Guys I'll Need A Bit More Work With It.
So what do we need to do with cheat engine? and cheat engine shuts down ca so... were screwed?
Ok , That Doesnt Make Sense To Me Because I've Been Learning C++ For 2Days But Im Getting A Grasp So... I'll See If I Know What Your Mean When I Get A Bit Better.
Very close, change the x-mode code to the reverse axis-v
Hope this helped :)
(this is the pointer)