❓ [Help]Error in coding?

Posts 1–8 of 8 · Page 1 of 1
❓ [Help]Error in coding?
I made a hack in C + +, but when you inject it into the game appears an error called crossfire send error report.
What's wrong?

#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 + 0x2AAE80) );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1f8 );
_asm
{
push szVal;
call CONoff;
add esp, 4;
}
}
}

functions & P.T.C
Then when I run the hack step functions


DWORD WINAPI hello(LPVOID) {
while(GetModuleHandleA("CShell.dll") == NULL ) {
Sleep(120); //100ms
}

}
Sleep(120);
__asm popad;
}
}

}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "By gustavo5066 - MPGH", "Injcted!", 0);
CreateThread(NULL, NULL,hello, NULL, NULL, NULL);
}
return TRUE;
}
Ty mechanical2015
My English is terrible!
You have smileys in it, and if you did it in notepad it will never work, or use a other injector.

~[DropDown]
I did nothing in Notepad
OOH , i need to , but i need for Windows Vista !
please , help us !!
Why do you have the things in red? with out commenting it out?
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 + 0x2AAE80) );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1f8 );
_asm
{
push szVal;
call CONoff;
add esp, 4;
}
}
}

functions & P.T.C
Then when I run the hack step functions


DWORD WINAPI hello(LPVOID) {
while(GetModuleHandleA("CShell.dll") == NULL ) {
Sleep(120); //100ms
}

}
Sleep(120);
__asm popad;
}
}

}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "By gustavo5066 - MPGH", "Injcted!", 0);
CreateThread(NULL, NULL,hello, NULL, NULL, NULL);
}
return TRUE;
}
??
1. Write new ptc method for less detection
2. Trying not to just use same code over and over
3.
Code:
void LearnC++()
{

bool Learn = false;

while(true)
{

if(GetAsyncKeyState(VK_CONTROL)<0) {
	if(Learn){
		PushToConsole("GoLearnC++ 0");
		Learn = false;
	}else{
		PushToConsole("GoLearnC++ 1");
		Learn = true;
		Sleep(200);
	}
}
bye
-Nubzgetkillz
I do not repeat the codes!
E eu não preciso aprender c++

Have u not read my problem?
My problem is That For Those Who's not read at the start of the topic.
In the crossfire of an error the the coding was patched!
Maybe the LTClient?
No, I already changed many times and error perch
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us