1>------ Build started: Project: Hacks, Configuration: Debug Win32 ------ 1> dllmain.cpp 1>c:\users\badboy3\documents\noreload\hacks\hacks\dllmain.cpp(2): fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

1>------ Build started: Project: Hacks, Configuration: Debug Win32 ------ 1> dllmain.cpp 1> Hacks.cpp 1>c:\users\badboy3\documents\new folder\hacks\hacks\hacks.cpp(1): warning C4627: '#include <windows.h>': skipped when looking for precompiled header use 1> Add directive to 'StdAfx.h' or rebuild precompiled header 1>c:\users\badboy3\documents\new folder\hacks\hacks\hacks.cpp(37): warning C4627: '#include <windows.h>': skipped when looking for precompiled header use 1> Add directive to 'StdAfx.h' or rebuild precompiled header 1>c:\users\badboy3\documents\new folder\hacks\hacks\hacks.cpp(78): fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source? ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
.....I know how to make a empty dll project "FYI" ....I did what he said but it still gives me an error....know what do you want know??????#include "Hacks.h"
#include<windows.h>
#define WeaponMgr 0xA68F90
#define NoReload 0x269C
cHacks* Hacks;
cHacks::cHacks()
{
DWORD CShell = (DWORD) GetModuleHandleA("CShell.dll");
if(!CShell) return;
dwWeaponMgr = *(DWORD*)GetAddressFromOffset(CShell, WeaponMgrOffset);
dwWallMgr = *(DWORD*)GetAddressFromOffset(CShell, WallMgrOffset);
dwPlayerMgr = *(DWORD*)GetAddressFromOffset(CShell, PlayerMgrOffset);
dwPlayerInfo= *(DWORD*)GetAddressFromOffset(CShell, PlayerInfoOffset);
if(dwWeaponMgr && dwWallMgr && dwPlayerMgr && dwPlayerInfo)
{
for(int i = 0; i < 560; i++)
{
DWORD Weapon = *(DWORD*)GetAddressFromOffset(dwWeaponMgr, (4*i));
if(Weapon)
{
*(float*)GetAddressFromOffset(Weapon, WeaponMgr->ChangeWeaponAnimRatio) = 9999;
*(float*)GetAddressFromOffset(Weapon, WeaponMgr->ReloadAnimRatio) = 999;
}
}
}
else
return;
}
bool InstantReload = true;
if(GetAsyncKeyState(VK_F1)&1) onehit = true;
if(InstantReload);
{
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) = 150;
}
}
}
bool cHacks::ReadyForHacks()
{
if(GetModuleHandleA("CShell.dll") != NULL && GetModuleHandleA("ClientFX.fxd") != NULL && GetModuleHandleA("crossfire.exe") != NULL)
return true;
return false;
}
DWORD cHacks::GetAddressFromOffset(DWORD Base, DWORD Offset)
{
if(Base)
return (Base + Offset);
else
return NULL;
}
1>------ Build started: Project: reload, Configuration: Debug Win32 ------
1> Hacks.cpp
1>c:\users\badboy3\documents\ha,cks\hacks.cpp(24): error C2227: left of '->ChangeWeaponAnimRatio' must point to class/struct/union/generic type
1> type is 'int'
1>c:\users\badboy3\documents\ha,cks\hacks.cpp(25): error C2227: left of '->ReloadAnimRatio' must point to class/struct/union/generic type
1> type is 'int'
1>c:\users\badboy3\documents\ha,cks\hacks.cpp(38): error C2059: syntax error : 'if'
1>c:\users\badboy3\documents\ha,cks\hacks.cpp(40): error C2059: syntax error : 'if'
1>c:\users\badboy3\documents\ha,cks\hacks.cpp(41): error C2447: '{' : missing function header (old-style formal list?)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Those are 2 different things!!!