QuestionHelp With Code (future hack)

Posts 16–25 of 25 · Page 2 of 2
lol, you arent a good coder
You just maade a name for it and a hotkey but if u press the hotkey nothing will happen :P
You must code more xD
Quote Originally Posted by Hexicidal View Post
Don't Make A Useless Hack Make A Simple Hack lig No Fog,Etc)
Its hardly uselesss.

ONTOPIC: idk how to code hacks. good luck doing it man.
listen i know i'm not a good coder in c++ i never claimed to be like i said before i code mostly with c# so there are different keywords that i haft to learn and i wasn't done i didnt add anything because i thought it had a PTC command and i was trying to find it....now a no reload hack would not be useless because even if you have chams on you still have the high chance of dieing because you might need to reload in the middle of a gunfight...so what i learned is that it is a memory hack not a ptc now is that a d3d type of hack?
Code:
All of you people is just copying and pasting shit down from other people.
sugestion:
learn c++
Learn C++ -ⓘ
Go Learn C++ Where is PTC Bitch
Quote Originally Posted by TheAgent308 View Post
i tried adding a bracket but just made more errors....and do i need a push to console command for this type of hack?
u noob?? the lt client in this code says PushToConsole so if u dont put push to console the hack will not work... noooby
lol...
No reload isn't a PTC.
[php]
if(GetAsyncKeyState(VK_F1) &1) //No Reload
{
memcpy((void*)No Reload Address, "Bytes", #args);
} else {
memcpy((void*)No Reload Address, "Bytes", #args);
}
[/php]

There no figure out the rest! bye

-Nubzgetkillz
Hello i know your error:

Code:
#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
    }
//}   ------------------------------------------>error

    bool reload = true;
 
//{   ------------------------------------------>error
    
      _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;
}
i think the commented brackets are the error.

(scuse my english)
Posts 16–25 of 25 · Page 2 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us