Sig Scan Problem

Posts 112 of 12 · Page 1 of 1
Sig Scan Problem
[PHP]#include <windows.h>

bool Hook(){
if( GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
bool bCompare(const BYTE* pData, const BYTE* bMask, const char* szMask)
{
for(;*szMask;++szMask,++pData,++bMask)
if(*szMask=='x' && *pData!=*bMask)
return false;
return (*szMask) == NULL;
}

DWORD FindPattern(DWORD dValor,DWORD dLer,BYTE *bMaskara,char * szMaskara)
{
for(DWORD i=0; i < dLer; i++)
if( bCompare( (BYTE*)( dValor+i ),bMaskara,szMaskara) )
return (DWORD)(dValor+i);
return false;
}

DWORD CShell = (DWORD)GetModuleHandle("CShell.dll");
DWORD Address = FindPattern(CShell, 0x8eb000, (PBYTE)"\xF8\x8F\x7D\x00\xD8\x05\x00\x00\x00\x00\x 68\x00\x00\x00\x00\x37", "xxxxxx????x????x");


void __cdecl PTC( const char* de_bitch )
{
DWORD *Noob = ( DWORD* )( Address );
void* Fuck_you = ( void* )*( DWORD* )( *Noob + 0x208 );

__asm
{
push de_bitch;
call Fuck_you;
add esp, 4;
}
}



void hack(){
while (!Hook()){
Sleep(20);
}
bool chams = false;
while(true){
PTC("ShowFps 1");
if(GetAsyncKeyState(VK_NUMPAD1)&1){
if(chams){
Sleep(200);
PTC("SkelModelStencil 0");
chams = false;
}else{
Sleep(200);
PTC("SkelModelStencil 1");
chams = true;
}
}




Sleep(20);
}
}
BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved){
switch (ul_reason_for_call){
case DLL_PROCESS_ATTACH:
if( MessageBox(0, TEXT("Hack made by AmaZiinG. Inject Hack Now?"), TEXT("With0utEnD"), MB_YESNO)==IDYES)
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&hack, NULL, 0,NULL);
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
[/PHP]

The problem is ingame nothing happens.

Its a HotKey Hack...I am using LTC Sig scan...But not working as said.

Thanks
What scan?
Quote Originally Posted by Stephen View Post
What scan?
LTC Sig scan
Getting CShell before it's loaded = d/c
Quote Originally Posted by Crash View Post
Getting CShell before it's loaded = d/c
Its not DCing just nothing happens if iam pressing buttens
Quote Originally Posted by Sydney View Post
Its not DCing just nothing happens if iam pressing buttens
Yes, very descriptive and helps us diagnose your problem ...
Quote Originally Posted by Sydney View Post
Its not DCing just nothing happens if iam pressing buttens
Oops I misread it. You need to wait for CShell to be loaded before getting the address.
This worked for me:

Code:
void __cdecl PushToConsole( char* szVal )
{
	DWORD CShell = 0;

	do {
		CShell = (DWORD)GetModuleHandleA("CShell.dll");
		Sleep(10);
	} while(!CShell);

	DWORD Address = FindPattern(CShell, 0x8eb000, (PBYTE)"\xF8\x8F\x7D\x00\xD8\x05\x00\x00\x00\x00\x68\x00\x00\x00\x00\x37", "xxxxxx????x????x");
   
	if (Address) { 
		DWORD *LTClient = ( DWORD* )( Address );

		void* vSetVar = (void*)*( DWORD* )( *LTClient + 0x208 );

		_asm
		{
			push szVal
			call vSetVar
			add esp, 4
		}
	}
}
Thank me if you used it or if it worked for you.
Quote Originally Posted by -Dimensions- View Post
This worked for me:

Code:
void __cdecl PushToConsole( char* szVal )
{
	DWORD CShell = 0;

	do {
		CShell = (DWORD)GetModuleHandleA("CShell.dll");
		Sleep(10);
	} while(!CShell);

	DWORD Address = FindPattern(CShell, 0x8eb000, (PBYTE)"\xF8\x8F\x7D\x00\xD8\x05\x00\x00\x00\x00\x68\x00\x00\x00\x00\x37", "xxxxxx????x????x");
   
	if (Address) { 
		DWORD *LTClient = ( DWORD* )( Address );

		void* vSetVar = (void*)*( DWORD* )( *LTClient + 0x208 );

		_asm
		{
			push szVal
			call vSetVar
			add esp, 4
		}
	}
}
Thank me if you used it or if it worked for you.
yea. u waited for cshell to load, then u pushed commands
Quote Originally Posted by scimmyboy View Post
yea. u waited for cshell to load, then u pushed commands
Yea, well he might not known how to do it.

So I helped him out.
Quote Originally Posted by -Dimensions- View Post
This worked for me:

Code:
void __cdecl PushToConsole( char* szVal )
{
	DWORD CShell = 0;

	do {
		CShell = (DWORD)GetModuleHandleA("CShell.dll");
		Sleep(10);
	} while(!CShell);

	DWORD Address = FindPattern(CShell, 0x8eb000, (PBYTE)"\xF8\x8F\x7D\x00\xD8\x05\x00\x00\x00\x00\x68\x00\x00\x00\x00\x37", "xxxxxx????x????x");
   
	if (Address) { 
		DWORD *LTClient = ( DWORD* )( Address );

		void* vSetVar = (void*)*( DWORD* )( *LTClient + 0x208 );

		_asm
		{
			push szVal
			call vSetVar
			add esp, 4
		}
	}
}
Thank me if you used it or if it worked for you.

Ingame still nothing happens...Just deleted my PTC thingy and made that there and i deleted my sig scan...Findpatter bcompare hook all at the same place how they were.
Posts 112 of 12 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?