[HELP]Combine VK C++

10/17/2010 16:03 gosicks#1
[HELP] GetAsyncKeyState problem ;(

why my VirtualKey just work for 1 hack...???
not All key worked....
please help...whats wrong with my code
a


Code:
 void LovelyLoopy()
    {
        // ok, berikan salam dulu! :D
        //MessageBox(0, "DLL berhasil di-inject. Lanjutkan!", "Hello World", MB_OK + MB_ICONASTERISK);
        
        InitApplicationProcess();

        while(1) // loop selamanya :D
        {
            if(GetAsyncKeyState(VK_F5)&1)
            {
                MajorMissionHack(); 
                Sleep(500);
            }
            if(GetAsyncKeyState(VK_F6)&1)
            {
                CardMission(); 
                Sleep(500);
            }
            if(GetAsyncKeyState(VK_F7)&1)
            {
                ResetCard();
                Sleep(500);
            }
            if(GetAsyncKeyState(VK_F10)&1)
            {
                ShotGunHack(); 
                Sleep(500);
            }
            if(GetAsyncKeyState(VK_F9)&1)
            {
                TitleHack(); 
                Sleep(500);
            }
            if(GetAsyncKeyState(VK_INSERT)&1)
            {
                MapHack(); 
                Sleep(500);
            }
            if(GetAsyncKeyState(VK_DELETE)&1)
            {
                GunHack(); 
                Sleep(500);
            }
        Sleep(1);
        }
    }

    BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
    {
        DisableThreadLibraryCalls(hDll);
        
        if(dwReason == DLL_PROCESS_ATTACH)
        {
            MessageBox(0, "BETA-Heroin V1.0.1", "THE-X-BLUE", MB_OK + MB_ICONASTERISK);
            CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)LovelyLoopy, NULL, NULL, NULL);
            } 
        else if(dwReason == DLL_PROCESS_DETACH)
        {
            CloseHandle(hProcess);
        }

        return TRUE;
    }
10/18/2010 14:01 black0utCpp#2
First of all learn to fucking talk and write
English it is pathetic
To your source Code:
maybe there is somethin' wrong with your functions
your ,loop as far as i know, is correct!
And what is about the errors you are getting
when you compile it
10/22/2010 19:59 Mr0x90#3
Quote:
Originally Posted by black0utCpp View Post
First of all learn to fucking talk and write
English it is pathetic
To your source Code:
maybe there is somethin' wrong with your functions
your ,loop as far as i know, is correct!
And what is about the errors you are getting
when you compile it
looooooooooooooooooooool