
#include <windows.h>
#include <iostream>
using namespace std;
void __cdecl PushToConsole(char* szVal ) {
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD *LTClient = ( DWORD* )( (dwCShell + 0x299D40) );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
_asm
{
push szVal;
call CONoff;
add esp, 4;
}
}
}
DWORD WINAPI hello(LPVOID)
{
while(GetModuleHandleA("CShell.dll") == NULL )
{
Sleep(150); //150ms
}
}
bool reload = true;
{
_asm pushad;
if(GetAsyncKeyState(VK_NUMPAD1)&1)
{
reload = !reload;
}
Sleep(100);
__asm popad;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "TheAgent308", "Injected", 0);
CreateThread(NULL, NULL,hello, NULL, NULL, NULL);
}
return TRUE;
}


#include <windows.h>
#include <iostream>
using namespace std;
void __cdecl PushToConsole(char* szVal ) {
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD *LTClient = ( DWORD* )( (dwCShell + UPDATE LTCADDY );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
_asm
{
push szVal;
call CONoff;
add esp, 4;
}
}
}
void LearnC++()
{
bool Learn = false;
while(true)
{
__asm pushad;
if(GetAsyncKeyState(VK_END)<0)
{
Learn = !Learn;
}
if(Learn) {
PushToConsole("GoLearnC++ 0");
} else {
PushToConsole("GoLearnC++ 1");
}
Sleep(100);
__asm popad;
}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "TheAgent308 needs to LearnC++ not copy and paste", "LearnC++ for Injection", 0);
CreateThread(NULL, NULL,hello, NULL, NULL, NULL);
}
return TRUE;
}
#include <windows.h>
#include <iostream>
using namespace std;
void __cdecl PushToConsole(char* szVal ) {
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if( dwCShell != NULL )
{
DWORD *LTClient = ( DWORD* )( (dwCShell + UPDATE LTCADDY );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
_asm
{
push szVal;
call CONoff;
add esp, 4;
}
}
}
void LearnC++()
{
bool Learn = false;
while(true)
{
__asm pushad;
if(GetAsyncKeyState(VK_END)<0)
{
Learn = !Learn;
}
if(Learn) {
PushToConsole("GoLearnC++ 0");
} else {
PushToConsole("GoLearnC++ 1");
}
Sleep(100);
__asm popad;
}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "TheAgent308 needs to LearnC++ not copy and paste", "LearnC++ for Injection", 0);
CreateThread(NULL, NULL,LearnC++, NULL, NULL, NULL);
}
return TRUE;
}

*(float*)(wep_address+Loop_bettween_all_the_guns+offset)=(float)0.01;