[Function] DrawRadar [Release]

Posts 3145 of 45 · Page 3 of 3
if you do, don't forget to credit him.
Deadlinez = Stupid Fuck. 'Nuff Said
If I may, a quote from Deadlinez about 15 days ago on a different site.

Quote Originally Posted by Dokuda View Post
here is my full source for my combat arms hack, and i wanted to know how to add a menu to this, i tryed everything. can someone help me? if you help me your name will be on the menu, and in the credits.

Code:
#include <windows.h>
//*****************************************************************************

//*****************************************************************************
bool IsGameReadyForHook()
{
    if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
        && GetModuleHandleA( "ClientFX.fxd" ) != NULL 
        && GetModuleHandleA( "CShell.dll"   ) != NULL )
        return true;
    return false;
}
//*****************************************************************************
void __cdecl PushToConsole(char* sVal)
{
    DWORD zAddress = 0x007D9200;
    void* szConsole = (void*)*(DWORD*)(zAddress);
    _asm
    {
        push sVal
            call szConsole
            add esp, 4
    }
}
//*****************************************************************************

//*****************************************************************************
bool Memoria( void * pDest, char * szPatch, size_t sSize )//NOP Function
{ 
    DWORD dwOrgProtect = NULL; 
    if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
        return FALSE;

    Memoria( pDest, szPatch, sSize ); 
    VirtualProtect( pDest, sSize, dwOrgProtect, NULL ); 
    return TRUE; 
}
//*****************************************************************************
void main()
{

    while (!IsGameReadyForHook()){
        Sleep(20);
    }
    bool espbox = false;
    bool nofog = false;
    bool nxcham = false;
    bool fps = false;
    bool stat = false;
    bool freeeze = false;

    while(true){

        PushToConsole("ShowFps 1");


        if(GetAsyncKeyState(VK_NUMPAD1)<0){
            if(espbox){
                PushToConsole("ModelDebug_DrawBoxes 0");

                espbox = false;
            } else {
                PushToConsole("ModelDebug_DrawBoxes 1");
                espbox = true;
            }
        }
        Sleep(20);
        if(GetAsyncKeyState(VK_NUMPAD2)<0){
            if(nxcham){
                PushToConsole("SkelModelStencil 0" );

                nxcham = false;
            } else {
                PushToConsole("SkelModelStencil 1" );
                nxcham = true;
            }
        }
        Sleep(20);
        if(GetAsyncKeyState(VK_NUMPAD3)<0){
            if(nofog){
                PushToConsole("FogEnable 0" );
                nofog = false;
            } else {
                PushToConsole("FogEnable 1" );
                nofog = true;
            }
        }
        Sleep(20);
        if(GetAsyncKeyState(VK_NUMPAD4)<0){
            if(nofog){
                PushToConsole("ShowPerformanceStatistics 0");
                nofog = false;
            } else {
                PushToConsole("ShowPerformanceStatistics 1");
                nofog = true;
            }
        }
        Sleep(20);
        if(GetAsyncKeyState(VK_NUMPAD3)<0){
            if(freeeze){
                PushToConsole("FreezeTime 0");

                freeeze = false;
            } else {
                PushToConsole("FreezeTime 1");

                freeeze = true;
            }
        }
        Sleep(20);

    }
}

//*****************************************************************************
DWORD WINAPI dwHackThread(LPVOID)
{
    while( !IsGameReadyForHook() )
        Sleep(100);
    main();
    return 0;
}
//*****************************************************************************
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
        CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
}
Good luck with your fail.
Probably has PushToConsole("UnlimAmmo 1");
Quote Originally Posted by Crash View Post
Probably has PushToConsole("UnlimAmmo 1");
Actually I think its
PushToConsole("InfAmmo 1");
Quote Originally Posted by Crash View Post
If I may, a quote from Deadlinez about 15 days ago on a different site.



Good luck with your fail.
Probably has PushToConsole("UnlimAmmo 1");
Lol I remember that.
Quote Originally Posted by Crash View Post
If I may, a quote from Deadlinez about 15 days ago on a different site.



Good luck with your fail.
Probably has PushToConsole("UnlimAmmo 1");
Lol i remember when super bullets was a ptc.
lol wow guys, crash wtf is that? and its not a ptc..
Quote Originally Posted by DeadLinez View Post
lol wow guys, crash wtf is that? and its not a ptc..
What do you think it is ? From the looks of it I'd say you're begging there and bullshitting here.
well super bullets work for me with 3 addresses, and its not a ptc, and its easy to find. and crash i did not post that, trying to make me look like i cant code?
Quote Originally Posted by DeadLinez View Post
well super bullets work for me with 3 addresses, and its not a ptc, and its easy to find. and crash i did not post that, trying to make me look like i cant code?
i know that super bullet isnt a ptc anymore.i was talking about the good ol' days.
Quote Originally Posted by DeadLinez View Post
well super bullets work for me with 3 addresses, and its not a ptc, and its easy to find. and crash i did not post that, trying to make me look like i cant code?
Who did post it then because it appears that is your username.
Quote Originally Posted by Crash View Post
Who did post it then because it appears that is your username.
Troof. Troof /yea
I Did see you on uc asking for help with menu i believe?
Yeah he's just trolling.
Box with crosshair -.-
/FP
Posts 3145 of 45 · Page 3 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?