how to add multilevelpointer?

Posts 1–11 of 11 · Page 1 of 1
how to add multilevelpointer?
how to add multilevelpointer in C++

info for u:
address:112d82f0
offset1:2b4
offset2:13c0

valueon:0
valueoff:1

hotkey ESC

can someone give me full source code ?
in timer code;

if (CheckBox1->Checked){ //checked true
WDWORD((RDWORD(RDWORD(0x112d82f0)+0x2B4)+0x13C0),0 ) on
}else{
WDWORD((RDWORD(RDWORD(0x112d82f0)+0x2B4)+0x13C0),1 ) off
}


DWORD RDWORD(DWORD ulBase){
if (!IsBadReadPtr((VOID*)ulBase, sizeof(DWORD))){
return(*(DWORD*)(ulBase));
}
return 0;
}
void WDWORD(DWORD ulBase,DWORD Vaule){
if (!IsBadWritePtr((VOID*)ulBase, sizeof(DWORD))){
(*(DWORD*)ulBase)=Vaule;
}
}
Quote Originally Posted by loped View Post
how to add multilevelpointer in C++

info for u:
address:112d82f0
offset1:2b4
offset2:13c0

valueon:0
valueoff:1

hotkey ESC

can someone give me full source code ?
Code:
bool FuncState;

if(GetAsyncKeyState(VK_ESCAPE)&1) FuncState = !FuncState;

if(FuncState)
    *(DWORD*)(*(DWORD*)(0x112D82F0 + 0x2B4) + 0x13C0) = 1;
else
    *(DWORD*)(*(DWORD*)(0x112D82F0 + 0x2B4) + 0x13C0) = 0;
It's simple to know how to use it
Quote Originally Posted by CFHackerExtreme View Post
Code:
bool FuncState;

if(GetAsyncKeyState(VK_ESCAPE)&1) FuncState = !FuncState;

if(FuncState)
    *(DWORD*)(*(DWORD*)(0x112D82F0 + 0x2B4) + 0x13C0) = 1;
else
    *(DWORD*)(*(DWORD*)(0x112D82F0 + 0x2B4) + 0x13C0) = 0;
It's simple to know how to use it
what about this?
Quote Originally Posted by CFHackerExtreme View Post
Code:
bool FuncState;

if(GetAsyncKeyState(VK_ESCAPE)&1) FuncState = !FuncState;

if(FuncState)
    *(DWORD*)(*(DWORD*)(0x112D82F0 + 0x2B4) + 0x13C0) = 1;
else
    *(DWORD*)(*(DWORD*)(0x112D82F0 + 0x2B4) + 0x13C0) = 0;
It's simple to know how to use it
what about this?

#include <windows.h>
#include <stdio.h>

#define ADR_PlayerPointer 0x112D82F0
#define OFS_ToCopyGun 0x2B4
#define OFS_CopyGun 0x13C0

bool Copygun = false;

void HackFunctions()
{
for(;
{
DWORD Player = *(DWORD*)( ADR_PlayerPointer );

/******************************[ CopyGun ]******************************/
{
if( Player != 0 )
{
if( Copygun == false )
{
if ( GetAsyncKeyState( VK_ESCAPE ))
{
*(DWORD*)(( Player + OFS_ToCopyGun ) + OFS_CopyGun ) = 0;
Copygun = true;
}
}
}
}
Sleep(100);
}
}

BOOL WINAPI DllMain(HINSTANCE hModule,DWORD dwReason,LPVOID lpvReserved)
{
if( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(0,0,(LPTHREAD_START_ROUTINE)HackFunct ions,0,0, 0);
}
return true;
}
Quote Originally Posted by CFHackerExtreme View Post
Code:
bool FuncState;

if(GetAsyncKeyState(VK_ESCAPE)&1) FuncState = !FuncState;

if(FuncState)
    *(DWORD*)(*(DWORD*)(0x112D82F0 + 0x2B4) + 0x13C0) = 1;
else
    *(DWORD*)(*(DWORD*)(0x112D82F0 + 0x2B4) + 0x13C0) = 0;
It's simple to know how to use it
what about this?
Code:
#include <windows.h>
#include <stdio.h>

#define ADR_PlayerPointer 0x112D82F0
#define OFS_ToCopyGun 0x2B4
#define OFS_CopyGun 0x13C0

bool Copygun = false;

void HackFunctions()
{
	for(;;)
	{
		DWORD Player = *(DWORD*)( ADR_PlayerPointer );

		/******************************[ CopyGun ]******************************/
		{
			if( Player != 0 )
			{
				if( Copygun == false )
				{
					if ( GetAsyncKeyState( VK_ESCAPE ))
					{
						*(DWORD*)(( Player + OFS_ToCopyGun ) + OFS_CopyGun ) = 0;
						Copygun = true;
					}
				}
			}
		}
		Sleep(100);
	}
}

BOOL WINAPI DllMain(HINSTANCE hModule,DWORD dwReason,LPVOID lpvReserved)
{
	if( dwReason == DLL_PROCESS_ATTACH )
	{
		CreateThread(0,0,(LPTHREAD_START_ROUTINE)HackFunctions,0,0, 0);
	}
	return true;
}
Quote Originally Posted by loped View Post


what about this?
Code:
#include <windows.h>
#include <stdio.h>

#define ADR_PlayerPointer 0x112D82F0
#define OFS_ToCopyGun 0x2B4
#define OFS_CopyGun 0x13C0

...
				if( Copygun == false )
				{
					if ( GetAsyncKeyState( VK_ESCAPE ))
					{
						*(DWORD*)(( Player + OFS_ToCopyGun ) + OFS_CopyGun ) = 0;
						Copygun = true;
					}
...
No.

*(DWORD*)(( Player + OFS_ToCopyGun ) + OFS_CopyGun )
would be *exactly* the same as
*(DWORD*)(Player + OFS_ToCopyGun + OFS_CopyGun)
you probably want to dereference two times like CF posted..I'm not sure: it's your pointer list, u should know.
#full source (c++)

Code:
#include <windows.h>
#include <stdio.h>

#define address1 0x112d82f0
#define offset1  0x2b4
#define offset2  0x13c0

void Hack_0815()
{
	if(GetAsyncKeyState(VK_ESCAPE)&1)
	{
	DWORD dwAddress1 = *(DWORD*)(address1);
	if(dwAddress1 != 0)
	{
		DWORD Step1 = *(DWORD*)(dwAddress1 + offset1);
		*(DWORD*)(Step1 + offset2) = 0; // value on
	}
	}
}

void HackThread()
{
	for(;;)
	{
	       Hack_0815();
	}
}

BOOL APIENTRY DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
	switch(dwReason)
	{
		case 1:
			MessageBoxA(NULL, "Hack by NIK!", "Credits", MB_OK);
			CreateThreadA(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
	}
	return TRUE;
}
Quote Originally Posted by abuckau907 View Post
No.



would be *exactly* the same as

you probably want to dereference two times like CF posted..I'm not sure: it's your pointer list, u should know.
thanks,i already complete my source code and its work
btw before u post i'm using this
Code:
*(DWORD*)(*(DWORD*)(Player+OFS_ToCopyGun)+OFS_CopyGun) = 0;
its really work
Quote Originally Posted by _PuRe.LucK* View Post
#full source (c++)

Code:
#include <windows.h>
#include <stdio.h>

#define address1 0x112d82f0
#define offset1  0x2b4
#define offset2  0x13c0

void Hack_0815()
{
	if(GetAsyncKeyState(VK_ESCAPE)&1)
	{
	DWORD dwAddress1 = *(DWORD*)(address1);
	if(dwAddress1 != 0)
	{
		DWORD Step1 = *(DWORD*)(dwAddress1 + offset1);
		*(DWORD*)(Step1 + offset2) = 0; // value on
	}
	}
}

void HackThread()
{
	for(;;)
	{
	       Hack_0815();
	}
}

BOOL APIENTRY DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
	switch(dwReason)
	{
		case 1:
			MessageBoxA(NULL, "Hack by NIK!", "Credits", MB_OK);
			CreateThreadA(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
	}
	return TRUE;
}
thanks,i will use this source code for my next hack
ur code work but lagging in game,need to put "Sleep" function...but where should i put???
Quote Originally Posted by loped View Post

thanks,i will use this source code for my next hack
ur code work but lagging in game,need to put "Sleep" function...but where should i put???
Put Sleep(100) before Hack_0815(); //calling convention
Posts 1–11 of 11 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us