// dllmain.cpp : Defines the entry point for the DLL application.
#include <Windows.h>
#include <iostream>
#define WeaponClass 0xDE710
#define AmmoDamage 0xA05E48
int damage = (int) (0xA05E48);
int demege = (int) (0x2534);
int damega = (int ) (0x7F8);
using namespace std;
DWORD hShell = (DWORD) GetModuleHandleA("CShell.dll");
#define LTCLIENT 0X3147F0
DWORD WINAPI asdasd (LPVOID)
{
bool asder = false;
while(1)
{
Sleep(100);
if(GetAsyncKeyState((VK_NUMPAD1)&1))
{
asder = !asder;
}
Sleep(100);
DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
if(asder)
{
Sleep(100);
for(int i=0 ; i<445 ; i++)
*(float*)( (*(DWORD*)((*(DWORD*)(CShellBase+0x103147F0))+(4*i))) + 0x7F8) = FLT_MAX ;
}
}
}
BOOL WINAPI DllMain(HINSTANCE hDll,DWORD dwAttached, LPVOID lpReserved)
{
if(dwAttached == DLL_PROCESS_ATTACH);
DisableThreadLibraryCalls(hDll);
{
MessageBoxA(NULL,"injected","injected",NULL);
CreateThread(NULL,NULL,asdasd,NULL,NULL,NULL);
}
return TRUE;
}

, But you forgot a lot dude ;P CreateThread? // dllmain.cpp : Defines the entry point for the DLL application.
#include <Windows.h>
/* everything here is commented out for being stupid and wasteful #include <iostream>
#define WeaponClass 0xDE710
#define AmmoDamage 0xA05E48
int damage = (int) (0xA05E48);
int demege = (int) (0x2534);
int damega = (int ) (0x7F8); */
using namespace std;
DWORD hShell = (DWORD) GetModuleHandleA("CShell.dll");
// also stupid#define LTCLIENT 0X3147F0
DWORD WINAPI asdasd (LPVOID)
{
bool exit = false /* the way your using this bool is stupid and a waste as well bool asder = false; */
while ( exit == false) // gay and unnecessary while(1)
{
// why?!? Sleep(100);
if(GetAsyncKeyState((VK_NUMPAD1)&1))
{
// WTF NOOB asder = !asder;
}
/* you have no idea what your doing lolol leaecheSleep(100);
DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
if(asder) */
// wtf is up withe bracket more noobness {
Sleep(100);
for(int i=0 ; i<445 ; i++)
*(float*)( (*(DWORD*)((*(DWORD*)(CShellBase+0x103147F0))+(4*i))) + 0x7F8) = FLT_MAX ;
}
}
}
BOOL WINAPI DllMain(HINSTANCE hDll,DWORD dwAttached, LPVOID lpReserved)
{
if(dwAttached == DLL_PROCESS_ATTACH);
DisableThreadLibraryCalls(hDll);
{
MessageBoxA(NULL,"injected","injected",NULL);
CreateThread(NULL,NULL,asdasd,NULL,NULL,NULL);
}
return TRUE;
}