Code doesn't work

Posts 16–30 of 48 · Page 2 of 4
Quote Originally Posted by AeroMan View Post
That means it's not the addies, it could be something else then.
If it crashes with an empty DLL so to speak, try using Release, instead of debug.
Thank you, I'll try it later!
But what if there is really a private anti cheat system? I'd have no idea what to do...
Thanks
Quote Originally Posted by Jonix View Post
Thank you, I'll try it later!
But what if there is really a private anti cheat system? I'd have no idea what to do...
Thanks
Then you should find the points where it's called, because i assume it will be simple to bypass then.
Then if you find where it's called prevent it from calling.
Work the NoSpread and Speed Adresse? my Warrock Crashed on this Adresses, pls help.
My english is very bad, i com form german

this is my Source Code for the Addy's

void Spread()
{
*(double*)0x8F8908 = 0;
}

void Speed()
{
if(GetAsyncKeyState(VK_ADD))
{
*(Float*)0x008F8C98 = 100;
}
}


thanks for help.
Try this code
Code:
void Spread()
{
*(double*)0x8F8908 = 0;
}

void Speed() 
{
if(GetAsyncKeyState(VK_ADD))
{
*(double*)0x008F8C98 = 100;
}
}
not work,when i m Spawn on map,Crashed the game , this is my problem, the code is okay.
Quote Originally Posted by Protex361 View Post
not work,when i m Spawn on map,Crashed the game , this is my problem, the code is okay.
Addies are correct to, it must be something else then.
Alex, switching to release didn't work either..
Thank you
@Jonix what do you mean by warrock crash? or maybe the warrock loading will not appear after you inject the dll?
Quote Originally Posted by Jonix View Post
Well that's what I think too, but the addys should be fine, I already found them correctly and the hack worked, that was a month ago. Could some software not allow the file to work properly?? Or maybe the dumping went wrong?? I'll dump it again...I have run out of ideas
Thank you all for your help again

--I've tried using Znoen Logger, it says succesfully injected but it shows no addys..
so you mean your addys are up to date?

so the problem is this maybe in your norecoil addys, because the norecoil is auto called when your ingame, instead of using that addys #define Ofs_NoRecoil1 0xc444, #define Ofs_NoRecoil2 0xc448, #define Ofs_NoRecoil3 0xc44c

replace it with
#define OFS_NoRecoil1 0x00000C444
#define OFS_NoRecoil2 0x00000C44C
#define OFS_NoRecoil3 0x00000C448

it must look like this

Code:
#include <windows.h>

//Addys
#define Addr_Playerpointer 0xB163D0
#define Ofs_NoFallDmg 0x102E8
#define ADR_Glasswall 0xB0FD2C
#define ADR_SuperNoSpread 0x8F19A8
#define OFS_NoRecoil1 0x00000C444
#define OFS_NoRecoil2 0x00000C44C
#define OFS_NoRecoil3 0x00000C448
#define ADR_NOSPAWNWAIT1 0xBB29DC
/*================================*/

void playerhacks()
{
	//norecoil

	DWORD dwPlayerPtr = *(DWORD*)Addr_Playerpointer;
	if (dwPlayerPtr != 0)
	{
		*(float*)(dwPlayerPtr + OFS_NoRecoil1) = 0;
		*(float*)(dwPlayerPtr + OFS_NoRecoil1) = 0;
		*(float*)(dwPlayerPtr + OFS_NoRecoil1) = 0;

		//NFD
		*(float*)(dwPlayerPtr + Ofs_NoFallDmg) = -20000;

		//No Spawn
		*(int*)ADR_NOSPAWNWAIT1 = 0;

		//GlassWall
		if (GetAsyncKeyState(VK_NUMPAD4))
		{
			*(int*)(ADR_Glasswall) = 1;
		}
	
		if (GetAsyncKeyState(VK_NUMPAD5))
		{
			*(int*)(ADR_Glasswall) = 0;
		}

		//No spread
		*(double*)ADR_SuperNoSpread = 0;
	}
}


void HackThread()
{
	for (;;)
	{
		playerhacks();
	}
	Sleep(200);
}



BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
	switch (DWORD_GRUND)
	{
	case 1:
		MessageBoxA(NULL, "Hack by Jonix", "Creditz", MB_OK);//
		CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
		break;
	}
	return TRUE;
}
Quote Originally Posted by pusongbato View Post
so you mean your addys are up to date?

so the problem is this maybe in your norecoil addys, because the norecoil is auto called when your ingame, instead of using that addys #define Ofs_NoRecoil1 0xc444, #define Ofs_NoRecoil2 0xc448, #define Ofs_NoRecoil3 0xc44c

replace it with
#define OFS_NoRecoil1 0x00000C444
#define OFS_NoRecoil2 0x00000C44C
#define OFS_NoRecoil3 0x00000C448

it must look like this

Code:
#include <windows.h>

//Addys
#define Addr_Playerpointer 0xB163D0
#define Ofs_NoFallDmg 0x102E8
#define ADR_Glasswall 0xB0FD2C
#define ADR_SuperNoSpread 0x8F19A8
#define OFS_NoRecoil1 0x00000C444
#define OFS_NoRecoil2 0x00000C44C
#define OFS_NoRecoil3 0x00000C448
#define ADR_NOSPAWNWAIT1 0xBB29DC
/*================================*/

void playerhacks()
{
	//norecoil

	DWORD dwPlayerPtr = *(DWORD*)Addr_Playerpointer;
	if (dwPlayerPtr != 0)
	{
		*(float*)(dwPlayerPtr + OFS_NoRecoil1) = 0;
		*(float*)(dwPlayerPtr + OFS_NoRecoil1) = 0;
		*(float*)(dwPlayerPtr + OFS_NoRecoil1) = 0;

		//NFD
		*(float*)(dwPlayerPtr + Ofs_NoFallDmg) = -20000;

		//No Spawn
		*(int*)ADR_NOSPAWNWAIT1 = 0;

		//GlassWall
		if (GetAsyncKeyState(VK_NUMPAD4))
		{
			*(int*)(ADR_Glasswall) = 1;
		}
	
		if (GetAsyncKeyState(VK_NUMPAD5))
		{
			*(int*)(ADR_Glasswall) = 0;
		}

		//No spread
		*(double*)ADR_SuperNoSpread = 0;
	}
}


void HackThread()
{
	for (;;)
	{
		playerhacks();
	}
	Sleep(200);
}



BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
	switch (DWORD_GRUND)
	{
	case 1:
		MessageBoxA(NULL, "Hack by Jonix", "Creditz", MB_OK);//
		CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
		break;
	}
	return TRUE;
}
Yes, the loading doesn't appear, warrock crashes before..

The addys are correct, I already dumped warrock once before, and found the addys I needed, the hack worked. This time it crashes.

I will try these addys
Thanks for your help

___

Still the same problem, I think there's an anti cheat system

It says succ. injected but it doesn't work. It should display the message "Hack by..." but nothing shows up
Quote Originally Posted by Jonix View Post
Yes, the loading doesn't appear, warrock crashes before..

The addys are correct, I already dumped warrock once before, and found the addys I needed, the hack worked. This time it crashes.

I will try these addys
Thanks for your help

___

Still the same problem, I think there's an anti cheat system

It says succ. injected but it doesn't work. It should display the message "Hack by..." but nothing shows up

Ok, now try this:

Replace this code:
Code:
BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
	switch (DWORD_GRUND)
	{
	case 1:
		MessageBoxA(NULL, "Hack by Jonix", "Creditz", MB_OK);//
		CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
		break;
	}
	return TRUE;
}
with this code:
Code:
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL, "Succesfully Injected", ":D", MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
}
return TRUE;
}
And try using one function at the time. So start with something easy like NoFallDamage. And try if you get that to work

Also @pusongbato if you give someone $00001.00 how much $ do you give him
Quote Originally Posted by znoen View Post
Ok, now try this:

Replace this code:
Code:
BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
	switch (DWORD_GRUND)
	{
	case 1:
		MessageBoxA(NULL, "Hack by Jonix", "Creditz", MB_OK);//
		CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
		break;
	}
	return TRUE;
}
with this code:
Code:
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL, "Succesfully Injected", ":D", MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, 0, 0, 0);
}
return TRUE;
}
And try using one function at the time. So start with something easy like NoFallDamage. And try if you get that to work

Also @pusongbato if you give someone $00001.00 how much $ do you give him
The injector says it injected it correctly but the debugging message you wrote ( "Succesfully Injected", "") doesn't show up
Thanks for you help
Quote Originally Posted by Jonix View Post
Yes, the loading doesn't appear, warrock crashes before..

The addys are correct, I already dumped warrock once before, and found the addys I needed, the hack worked. This time it crashes.

I will try these addys
Thanks for your help

___

Still the same problem, I think there's an anti cheat system

It says succ. injected but it doesn't work. It should display the message "Hack by..." but nothing shows up
it's because of the protected memory, try like this:

Code:
#include <Windows.h>

#define ADR_PlayerPointer    0xB18F40
#define ADR_PlayerSpeed      0x8F8900

void UPK_Memcpy(void *adr, void *ptr, int size)
{
	DWORD dwback;
	VirtualProtect(adr, size, PAGE_EXECUTE_READWRITE, &dwback);
	memcpy(adr, ptr, size);
	VirtualProtect(adr, size, dwback, &dwback);
}

template <typename T>void UPK_Memcpy(void* adr, T Vaule, T *Input = NULL)
{
	if (Input == 0)
		UPK_Memcpy((void*)adr, (void*)&Vaule, sizeof(T));
	else
		UPK_Memcpy((void*)Input, (void*)adr, sizeof(T));
}

void Speed()
{
	DWORD dwPlayer = *(DWORD*)ADR_PlayerPointer;
	if (dwPlayer != NULL)
	{
		UPK_Memcpy<double>((void*)ADR_PlayerSpeed, 1.75 * 5);
	}
}

void Thread()
{
	for (;;)
	{
		Speed();
	}
	Sleep(150);
}

BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
	if (dwReason == DLL_PROCESS_ATTACH)
	{
		CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Thread, 0, 0, 0);
	}
	return TRUE;
}
all of your source are rigth but im not sure with your addies !
Quote Originally Posted by znoen View Post
Also @pusongbato if you give someone $00001.00 how much $ do you give him
nyahaha, lol, what do you mean by that?, instead of using 0x000000C448 he must used 0xC448.
Posts 16–30 of 48 · Page 2 of 4

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us