What is wrong with this code?
Title says it all:
#include<windows.h>
#include "stdafx.h"
#define WeaponMgr 0xA287A8
#define WepWeight1 0x21DC
float weaponweight =0.0f;
DWORD WINAPI Hacks(LPVOID)
{
bool weaponweight = false;
while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
if(GetAsyncKeyState(VK_F9) || GetAsyncKeyState(VK_NUMPAD0) &1) { weaponweight = true; Beep(512, 100); }
if(weaponweight)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + WepWeight1) = weaponweight;
}
}
}
}
}
bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}
DWORD WINAPI Wait(LPVOID)
{
while(!Ready2Hook()) Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return 0;
}
i dont know anything about it but
PlantTime = false,
defusetime = false;
do you need that for weaponweight?
Omg, almost every thread here goes about leeched bases that aren't working.
why not include iostream?? everywhere says that u have to include that in every program... (obviously i just started c++ im at cout :P)
THERE'S NO NEED TO SPAM THE WORD "LEECHED" ON EVERY FUCKING SINGLE THREAD IN THIS SECTION, IT MAKES YOU SOUND LIKE A MORON.
u need dll process atack but this code not work,,
This Base Doesnt Work As You Got It, You Need To Update It