ExclamationMy first base....

Posts 1–5 of 5 · Page 1 of 1
My first base....
Plz help me!!!!!
This is my first hack....plz help me....



hack.h
Code:
#define WeaponMgr 0xA68F80
#define NoReload 0x269c
#define UnlimitedAmmo 0x7fc
#include <windows.h>


class cWeaponMgr
{
public:	
		static const DWORD UnlimitedAmmo =							0x7fc;
		static const DWORD ReloadAnimRatio =						0x269C;
}
Dllmain.cpp
Code:
#include <windows.h>

using namespace std;

DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);

if ( dwReason == DLL_PROCESS_ATTACH )
{

CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}
hack.cpp
Code:
#include <windows.h>
#include "hack.h"
#define WeaponMgr 0xA68F80
#define NoReload 0x269c
#define UnlimitedAmmo 0x7fc
using namespace std;

DWORD WINAPI hack(LPVOID) 
{
bool WeaponMgr = true;
bool NoReload = true;
bool UnlimitedAmmo = true;
}


DWORD Cshell = (DWORD)LoadLibraryA( "CShell.dll" );
DWORD Wapenclass = *(PDWORD)(Cshell + 0xA68F80);

if (NoReload)
{
	if (pWeaponMgr)
	{
		for (int i=0; i<560; i++)
		{
			if ((*(DWORD*)((*(DWORD*)(Cshell+WeaponMgr))+(4*i))) !=NULL)
				*(float*)((*(DWORD*)((*(DWORD)(Cshell+WeaponMgr))+(4*i))) + NoReload) = 45.0f;
		}
	}
}

BOOL WINAPI runner(LPVOID) {
	Sleep(9800);
	try {
		DWORD dllfile = (DWORD)GetModuleHandleA("Cshell.dll");
		if(dllfile == false) {
			throw 1;
		}
	} 
	catch (int error) {
		switch(error) {
		case 1:
			CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner, NULL, NULL, NULL);
			return false;
		default:
			return false;
		}
	}
	Beep(1000,1000);
	CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)doyourstuffhere, NULL, NULL, NULL);
	return true;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ){
DisableThreadLibraryCalls(hDll);

if(dwReason == DLL_PROCESS_ATTACH)
{

	MessageBoxA(0, "By: badboy3" ,"Hack", 0);


CreateThread(0,0,(LPTHREAD_START_ROUTINE)HackSource,0,0 ,0);
}
return 1;
}

I used Brimir's tut
assasion screed tut
and weaponhacker tut


Plz help me ...this is my first base!!!
PM me,
I can help you via tv
Ya
~/close
Why do you make so many files... not that its bad, but its easier to do all in one file.
~Closed upon request~
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?