
1>c:\users\cory\documents\visual studio 2010\projects\blahblahblah\blahblahblah\main.cpp(19): error C4716: 'Main' : must return a value
#include<windows.h>
#include<iostream>
using namespace std;
DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
DWORD WINAPI Main() {
Sleep(1000);
bool AmmoDamage = true;
if(AmmoDamage) {
for(int i=0 ; i<445 ; i++)
*(float*)( (*(DWORD*)((*(DWORD*)(CShellBase+0xA0F338))+(4*i))) + 0x07F8) = FLT_MAX ;
}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0, "{Banned}**HACKER**", "CrossFire Hack Z8games", 0);
CreateThread(NULL, 0, 0, Main, 0, NULL);
}
return TRUE;
}
#include <windows.h>
#include <iostream>
using namespace std;
DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
DWORD WINAPI Main() {
Sleep(1000);
bool AmmoDamage = true;
if(AmmoDamage) {
for(int i=0 ; i<445 ; i++)
*(float*)( (*(DWORD*)((*(DWORD*)(CShellBase+0xA0F338))+(4*i))) + 0x07F8) = FLT_MAX ;
}
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0, "{Banned}**HACKER**", "CrossFire Hack Z8games", 0);
CreateThread(NULL, 0, 0, Main, 0, NULL);
}
return true;
}

#include<windows.h>
#include<iostream>
using namespace std;
DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
DWORD WINAPI Main() {
Sleep(1000);
bool AmmoDamage = true;
if(AmmoDamage) {
for(int i=0 ; i<445 ; i++)
*(float*)( (*(DWORD*)((*(DWORD*)(CShellBase+0xA0F338))+(4*i))) + 0x07F8) = FLT_MAX ;
}
return NULL;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0, "{Banned}**HACKER**", "CrossFire Hack Z8games", 0);
CreateThread(NULL, 0, 0, Main, 0, NULL);
}
return true;
}
i wasnt active so things from my head like to wanish
enjoy if i help!return 0; or even the dllmain code... return true;