Unhappynot work

Posts 1–2 of 2 · Page 1 of 1
not work
Code:
// dllmain.cpp : Defines the entry point for the DLL application.
#include "stdafx.h"

#include "stdafx.h"
#include <Windows.h>
void ShowMessage(char* string, DWORD CShell);
void Hacks()
{
    while(1)
    {
        DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
		if(GetModuleHandleA("CShell.dll") && GetModuleHandleA("ClientFx.fxd"))
{
Sleep(100);
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD Wapenclass = *(PDWORD)(CShell + 0xA65EE8);
DWORD Wallclass = *(PDWORD)(CShell + 0xA65ED4);
DWORD Playerbasic = *(PDWORD)(CShell + 0x9FF160);
DWORD Playercl = *(PDWORD)(CShell + 0xA65ECC);

        ShowMessage("MessageHere",CShell);
        while(1)
        {
            
if(Playerbasic) {
    *(float*)(Playerbasic + 0x88) = (float)0;
    *(float*)(Playerbasic + 0x8C) = (float)0;
    *(float*)(Playerbasic + 0x90) = (float)0;
    *(float*)(Playerbasic + 0x94) = (float)0;
}
if(Wapenclass) {
     for(int i=0 ; i<533 ; i++) {
        DWORD curwapen = *(DWORD*)(Wapenclass +(4*i));
            if (curwapen)    {
                *(float*)( curwapen + 0x2698) = (float)1; 
                *(float*)( curwapen + 0x269c) = (float)1; 
            }
        }
    }
}
if("Wallclass") {
        for(int i = 0;i<64;i++)    {
*(float*)("Wallclass"+(i*0x04F4)+0x04E8) = (float)1; //String is "EdgeShotEnabled" 
*(float*)("Wallclass"+(i*0x04F4)+0x04EC) = (float)1; //String is "WallShotEnabled" 
*(float*)("Wallclass"+(i*0x04F4)+0x04F0) = (float)1; //String is "PerfectWallShotEnabled"
        }
    }
}

        }
    }

//After Dllmain
void ShowMessage(char* string, DWORD CShell)
{
    DWORD MsgBoxFunc = CShell + 0x80AA0;
    __asm
    {
        push string;
        push 0;
        push 0x70;
        push 0x1C;
        call MsgBoxFunc;
        add esp, 16;
    }
} 
//DLLmain Input:

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:
			//Unkown error!
			return false;
		}
	}
	Beep(1000,1000);
	CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner , NULL, NULL, NULL);
	return true;
}



Old detected piece of shit don't use it . Learn c++ first - or use the base i posted its still undetected :P , inject with a undetected injector its not patched
and you must update the addys 0x????
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us