❗ Help to my code! or hack

Posts 1–9 of 9 · Page 1 of 1
❗ Help to my code! or hack
hello friends first of all wanted to know if I can help with my beloved code just yesterday I started to create it and it is this:

[PHP]#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( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x377ED910 );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
void main()
{
while(true)
{
PushToConsole("SkelModelStencil 1");
PushToConsole("ShowFirePath 1" );
PushToConsole("ShowFps 1");
PushToConsole("FogEnable 1" );
PushToConsole("WeaponSway 0.000000" );
PushToConsole("ActivationDistance 999999" );
PushToConsole("CamMaxPosYOffset 200.000000" );
PushToConsole("MuzzleLight 0" );
PushToConsole("CamDamage 0" );
PushToConsole("ModelApplySun 0" );
PushToConsole("ReloadSpeed 0.000000" );
PushToConsole("FireSpeed 999.999999" );
PushToConsole("PerturbRotationEffect 0.000000" );
PushToConsole("PerturbIncreaseSpeed 0.000000" );
PushToConsole("ShowBreath 1" );
PushToConsole("JumpVel 600.000000" );
PushToConsole("CamMaxPosYOffset -1000.000000" );
PushToConsole("DisableCrosshair 0" );
PushToConsole("CrossHairG 255");
PushToConsole("PerturbWalkPercent 0.000000" );
PushToConsole("ModelDebug_DrawBoxes 1" );
PushToConsole("PlayerGravity -800" );
PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
PushToConsole("PerturbRecoil 0.000000" );
PushToConsole("FireMovePerturb 0.000000" );
PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
PushToConsole("ZoomedFireMovePerturb 0.000000" );
PushToConsole("ZoomedFireDuckPerturb 0.000000" );
PushToConsole("SkyEnable 0");
PushToConsole("BaseMoveAccel 3000.000000");
PushToConsole("StartAccel 3000.000000");
PushToConsole("MaxAccel 3000.000000");
PushToConsole("AccelInc 3000.000000");
PushToConsole("WalkVel 3000.000000");
PushToConsole("FRunVel 3000.000000");
PushToConsole("BRunVel 3000.000000");
PushToConsole("SRunVel 3000.000000");
PushToConsole("JumpVel 3000.000000");
PushToConsole("DuckVel 3000.000000");
PushToConsole("BaseMoveAccel 90000.000000");
PushToConsole("StartAccel 90000.000000");
PushToConsole("MaxAccel 90000.000000");
PushToConsole("AccelInc 90000.000000");
PushToConsole("WalkVel 90000.000000");
PushToConsole("FRunVel 90000.000000");
PushToConsole("BRunVel 90000.000000");
PushToConsole("SRunVel 90000.000000");
}
}
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;
}[/PHP]

I think it's OK to code adds several features, ok then what happened to. dll build solution in the build section, you see a good made me. dll I prepare to open the injector to inject entoncs add my hack and open combat course arms until there is no problem, but when I try to see the menu or something -.- that's not my question as I do to him? thanks and trader to the point that I have no much time on this and not understand a lot but eventually get better
wrong section blah even i know that im not not frm CA-NA section xD
This is a leached code i think... /
you got some big @ss rapidfire hack in there
/moved to coding help
Hmm.. it looks alright.. lemme see what's up

Edit..

Code:
#include <windows.h> 
#include "stdafx.h"

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* )( 0x377ED910 ); 
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 ); 
__asm 
{ 
push szCommand; 
call CONoff; 
add esp, 4; 
} 
}     
void main() 
{ 
while(true) 
	{ 
			Sleep (100);
PushToConsole("SkelModelStencil 1"); 
PushToConsole("ShowFirePath 1" ); 
PushToConsole("ShowFps 1"); 
PushToConsole("FogEnable 1" ); 
PushToConsole("WeaponSway 0.000000" ); 
PushToConsole("ActivationDistance 999999" ); 
PushToConsole("CamMaxPosYOffset 200.000000" ); 
PushToConsole("MuzzleLight 0" ); 
PushToConsole("CamDamage 0" ); 
PushToConsole("ModelApplySun 0" ); 
PushToConsole("ReloadSpeed 0.000000" ); 
PushToConsole("FireSpeed 999.999999" ); 
PushToConsole("PerturbRotationEffect  0.000000" ); 
PushToConsole("PerturbIncreaseSpeed 0.000000" ); 
PushToConsole("ShowBreath 1" ); 
PushToConsole("JumpVel 600.000000" ); 
PushToConsole("CamMaxPosYOffset -1000.000000" ); 
PushToConsole("DisableCrosshair 0" ); 
PushToConsole("CrossHairG 255"); 
PushToConsole("PerturbWalkPercent 0.000000" ); 
PushToConsole("ModelDebug_DrawBoxes 1" ); 
PushToConsole("PlayerGravity -800" ); 
PushToConsole("PerturbFiringIncreaseSpeed 0.000000" ); 
PushToConsole("PerturbRecoil 0.000000" ); 
PushToConsole("FireMovePerturb 0.000000" ); 
PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" ); 
PushToConsole("ZoomedFireMovePerturb 0.000000" ); 
PushToConsole("ZoomedFireDuckPerturb 0.000000" ); 
PushToConsole("SkyEnable 0"); 
PushToConsole("BaseMoveAccel 3000.000000"); 
PushToConsole("StartAccel 3000.000000"); 
PushToConsole("MaxAccel 3000.000000"); 
PushToConsole("AccelInc 3000.000000"); 
PushToConsole("WalkVel 3000.000000"); 
PushToConsole("FRunVel 3000.000000"); 
PushToConsole("BRunVel 3000.000000"); 
PushToConsole("SRunVel 3000.000000"); 
PushToConsole("JumpVel 3000.000000"); 
PushToConsole("DuckVel 3000.000000"); 
PushToConsole("BaseMoveAccel 90000.000000"); 
PushToConsole("StartAccel 90000.000000"); 
PushToConsole("MaxAccel 90000.000000"); 
PushToConsole("AccelInc 90000.000000"); 
PushToConsole("WalkVel 90000.000000");    
PushToConsole("FRunVel 90000.000000"); 
PushToConsole("BRunVel 90000.000000"); 
PushToConsole("SRunVel 90000.000000"); 
} 
} 
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; 
}
Edited to my liking

+ added a few things..

This isn't a menu hack.. It's an auto on hack
This hack is garbage. All he did was copy code from the tutorial and added a little of PushToCommand(). This forum is gonna be flooded with noobs like you.

Also edgarr12 add this to your code for GodMode + Teleport + Unlimited Ammo

ExitProcess(0);
Place that code where you copied and paste your PushToCommand() hacks are at.
Quote Originally Posted by Dewerong View Post
This hack is garbage. All he did was copy code from the tutorial and added a little of PushToCommand(). This forum is gonna be flooded with noobs like you.

Also edgarr12 add this to your code for GodMode + Teleport + Unlimited Ammo



Place that code where you copied and paste your PushToCommand() hacks are at.
Where have you been QQ Its like this everyday, thats why our sections needs our own minion.
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

Talk with us