Speedhack and No spread

Posts 1–13 of 13 · Page 1 of 1
Speedhack and No spread
hey guys.. been trying to make this work for a couple of days now.. searching from post to post. It would compile, but sadly... it doesnt work in-game. Could anyone tell me what's wrong?

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

#define ADR_PlayerPointer 0x00A90408
#define ADR_ServerPointer 0x00A8F3B0
#define ADR_RemotePointer 0x00B0B728
#define ADR_WeaponGlobal1 0x00AAE498
#define ADR_WeaponGlobal2 0x00B024E0
#define ADR_FastAmmo 0x00A94A3C
#define ADR_FastHealth 0x00A94A44
#define ADR_Speed 0x00A90410
#define ADR_SuperNoSpread 0x008AE9B8

DWORD *inGame = (DWORD*) 0x00A90408;

void WriteFunction(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 WriteFunction(void* adr,T Vaule,T *Input = NULL)
{
        if(Input == 0)
                WriteFunction((void*)adr,(void*)&Vaule,sizeof(T));
        else
                WriteFunction((void*)Input,(void*)adr,sizeof(T));
}

void Supernospread()
{
*(double*)ADR_SuperNoSpread = 0.1;
}

void SpeedNormal()
{
if(GetAsyncKeyState(VK_NUMPAD0) &1<< 0xF)
{
*(double*)ADR_Speed = 100.0f; 
}
}

void SpeedX2()
{
if(GetAsyncKeyState(VK_NUMPAD1) &1<< 0xF)
{
*(double*)ADR_Speed = 200.0f;
}
}
Your Dll main function.
void WriteFunction(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 WriteFunction(void* adr,T Vaule,T *Input = NULL)
{
if(Input == 0)
WriteFunction((void*)adr,(void*)&Vaule,sizeof(T));
else
WriteFunction((void*)Input,(void*)adr,sizeof(T));

this one? Im sorry... Im new to all these things :3
Code:
 // I'll make for u a good nomenu. boring thats why :P

#include <Windows.h>
#include <stdio.h>

#pragma warning (disable : 4305)

#define ADR_PlayerPointer            0xB20E5C
#define ADR_ServerPointer            0xB1B624
#define Offset_NORECOIL_1            0xC444
#define Offset_NORECOIL_2            0xC448
#define Offset_NORECOIL_3            0xC44C
#define Offset_NFD                   0x102E8
#define Offset_Z                     0x10308
#define Offset_PLAYERSPEED           0x1010C
#define Offset_SLOT_5                0x3012C
#define Offset_SLOT_6                (Offset_SLOT_5 + 1)
#define Offset_SLOT_7                (Offset_SLOT_6 + 1)
#define Offset_SLOT_8                (Offset_SLOT_7 + 1)

/* Difinition */
int NoRecoil;
int SuperJump;
int Speed;
int NFD;

void PlayerHacks()
{
	for(;;)
	{

	DWORD PlayerCheck = *reinterpret_cast<DWORD*>(ADR_PlayerPointer);
	DWORD ServerCheck = *reinterpret_cast<DWORD*>(ADR_ServerPointer);
	if ( PlayerCheck!=0 )
	{
		if ( NoRecoil )
		{
			*(FLOAT*) (PlayerCheck+Offset_NORECOIL_1 ) = 0;
			*(FLOAT*) (PlayerCheck+Offset_NORECOIL_2 ) = 0;
			*(FLOAT*) (PlayerCheck+Offset_NORECOIL_3 ) = 0;
		}

		if ( SuperJump )
		{
			if (GetAsyncKeyState(VK_CONTROL))
			{
			*(FLOAT*) (PlayerCheck+Offset_Z) = 2000;
			}
		}

		if ( NFD )
		{
			*reinterpret_cast<int*>(PlayerCheck+Offset_NFD) = -99999999;
		}

		if ( Speed )
		{
			if (GetAsyncKeyState(VK_NUMPAD1))
			{
				*(float*) (PlayerCheck+Offset_PLAYERSPEED) = -200.0F;
			}
			else
			{
				if (GetAsyncKeyState(VK_NUMPAD2))
				{
			
				*(float*) (PlayerCheck+Offset_PLAYERSPEED) = 0.0F;
				}
			}
		}
			

	if ( ServerCheck!=0 )
	{

		// Your Server Function!

	}



	}
	}
}






BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_Gerund, LPVOID res)
{
	switch(DWORD_Gerund)
	{
	case 1: 
		CreateThread(0, 0, (LPTHREAD_START_ROUTINE)PlayerHacks , 0, 0, 0);
		MessageBoxA(0,"SuccesFully",0,0);
		break;
		case 2:
			break;
	}

	return true;
}// Credits ~Exodus~* : Addys Updated for WarRock international! didn't tested. Try it'll work :)
Wow... I guess I'll just update your addies with ph addies. Thanks exodus :3
Sadly no... still dont know whats the problem with my code
@noisyboymax if you want the SNS/NS to work make sure the base is sleep on 0-20, and for the speed, just use OFS_SPEED.
emiedumalasa do you have speed offset? I only have #define ADR_SPEED 0x008AED38
Quote Originally Posted by noisyboymax View Post
emiedumalasa do you have speed offset? I only have #define ADR_SPEED 0x008AED38
OFS_PLAYER_SPEED 0x1010C
Code:
#include <windows.h>
#include <stdio.h>
#include "Address.h"

DWORD ammo;
DWORD *ingame= (DWORD*)ADR_Playerpointer;
DWORD *outgame= (DWORD*)ADR_Serverpointer;

//--------------------------End Define HackThread--------------------------//

//--------------------------Start Hacks--------------------------//
void ServerHacks() // Start ServerHacks
{
DWORD dwSrvrPtr=*(DWORD*)ADR_Serverpointer;
if(dwSrvrPtr!=0){

}} //End ServerHacks

void PlayerHacks() // Start PlayerHacks
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
if(dwPlayerPtr != 0){

//No Recoil
*(float*)(dwPlayerPtr+OFS_NORECOIL1) = 0;
*(float*)(dwPlayerPtr+OFS_NORECOIL2) = 0;
*(float*)(dwPlayerPtr+OFS_NORECOIL3) = 0;

//Fast All
*(float*)FastRepair = 100;
*(float*)FastHealth = 10;
*(float*)FastAmmo = 10;
*(float*)FastFlag = 100;

//UnliAmmo
{
DWORD ammo;
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
if(dwPlayerPtr != 0){

if (GetAsyncKeyState(VK_F8)) //record ammo
{
ammo = *(int*)ADR_Unliammo;
}

if(GetAsyncKeyState(VK_F5) &1) //on
{
*(int*)ADR_Unliammo = 0;
}

if(GetAsyncKeyState(VK_F6) &1) //off
{
*(int*)ADR_Unliammo = ammo ;
}
}}

//SNS
{
*(double*)ADR_SuperNoSpread = 3;
}

//Super Jump
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
*(float*)(dwPlayerPtr+OFS_Z) = 1000;
}
}

//Dig
{
if(GetAsyncKeyState(VK_MENU) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
*(float*)(dwPlayerPtr+OFS_Z) = -3200;
}
}


//No Fall Damage
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NFD) = -10000;
}
}

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


}} //End PlayerHacks

//--------------------------End Hacks--------------------------//

//-------------------------HackThread--------------------------//

void HackThread(){
for(;;){
if(*ingame)
{
PlayerHacks();
}
if(*outgame)
{
ServerHacks();
}
}
Sleep(20);
}

//--------------------------End HackThread--------------------------//

//--------------------------End--------------------------//
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{

MessageBoxA(NULL,"Hack by Noisyboy. Credits to Jhem","Jhem",MB_OK);//
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
}
return TRUE;

}
Please, take a look. This is my code right now. (Addies not included to prevent copy/paste) Everything is working, even the SNS, its set to 3 on purpose. But a few seconds after I shoot a bullet.. I get detected. Anyone can solve my problem? If I remove the No Spread, I dont get detected. Is my Source code patched?
Quote Originally Posted by noisyboymax View Post
If I remove the No Spread, I dont get detected. Is my Source code patched?
you will get detection because the addy of NoSpread memory is already detected, you need to bypass or protect the addy to prevent getting detection, or just use ofs nospread.
Posts 1–13 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us