#include <iostream>
#include "windows.h"
#define WeaponMgr 0xA69120
#define NoReload 0x269C
using namespace std;
DWORD WINAPI hack1(LPVOID param) {
DWORD cshell = (DWORD)LoadLibraryA( "CShell.dll" );
}
int main()
{
if (NoReload)
for( int i=0; i<601; i++)
{
PDWORD Weapon2 = (PDWORD)(Cshell + 0xA69120); //error is right here
DWORD Weapon = *(DWORD*)(*Weapon2 + 4*i);
if(Weapon)
*(float*)(Weapon + (0x269C)) = (float) 75;
}
}
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)hack1, NULL, NULL, NULL);
return true;
}
1>------ Build started: Project: base my, Configuration: Debug Win32 ------ 1>Build started 1/17/2012 6:07:23 PM. 1>InitializeBuildStatus: 1> Touching "Debug\base my.unsuccessfulbuild". 1>ClCompile: 1> dllmain.cpp 1>c:\users\badboy3\documents\visual studio 2010\projects\base my\base my\dllmain.cpp(18): error C2065: 'Cshell' : undeclared identifier 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:02.22 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
#include <iostream>
#include "windows.h"
#define WeaponMgr 0xA69120
#define NoReload 0x269C
using namespace std;
DWORD WINAPI hack1(LPVOID param) {
DWORD cshell = (DWORD)LoadLibraryA( "CShell.dll" );
if (NoReload)
for( int i=0; i<601; i++)
{
PDWORD Weapon2 = (PDWORD)(Cshell + 0xA69120); //error is right here
DWORD Weapon = *(DWORD*)(*Weapon2 + 4*i);
if(Weapon)
*(float*)(Weapon + (0x269C)) = (float) 75;
}
}
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)hack1, NULL, NULL, NULL);
return true;
}

#include <iostream>
#include "windows.h"
#define WeaponMgr 0xA69120
#define NoReload 0x269C
using namespace std;
DWORD WINAPI hack1(LPVOID param) {
DWORD cshell = (DWORD)LoadLibraryA( "CShell.dll" );
}
int main()
{
if (NoReload)
for( int i=0; i<601; i++)
{
PDWORD Weapon2 = (PDWORD)(CShell + 0xA69120); //error is right here
DWORD Weapon = *(DWORD*)(*Weapon2 + 4*i);
if(Weapon)
*(float*)(Weapon + (0x269C)) = (float) 75;
}
}
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)hack1, NULL, NULL, NULL);
return true;
}

1>------ Build started: Project: base my, Configuration: Debug Win32 ------ 1>Build started 1/18/2012 1:34:51 AM. 1>InitializeBuildStatus: 1> Touching "Debug\base my.unsuccessfulbuild". 1>ClCompile: 1> dllmain.cpp 1>c:\users\badboy3\documents\visual studio 2010\projects\base my\base my\dllmain.cpp(18): error C2065: 'CShell' : undeclared identifier 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:02.08 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
....u had some type mistakes but that isnt what made me made....what made me made is//....u dont makeif (Offset)
{
if( noreload) // bool = true;
#include "windows.h"
#define WeaponMgr 0xA69120
#define NoReload 0x269C
using namespace std;
DWORD WINAPI hack1(LPVOID param) {
bool noreload = true;
DWORD CShell = (DWORD)LoadLibraryA( "CShell.dll" );
int main();
if (noreload)
{
for( int i=0; i<601; i++)
{
PDWORD Weapon2 = (PDWORD)(CShell + 0xA69120); //error is right here
DWORD Weapon = *(DWORD*)(*Weapon2 + 4*i);
if(Weapon)
*(float*)(Weapon + (0x269C)) = (float) 75;
}
}
}
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)hack1, NULL, NULL, NULL);
return true;
}