Red faceHelp me,please!

Posts 1–14 of 14 · Page 1 of 1
Help me,please!
I try make hack for Russian CF,please halp me.
"My" code
Code:
#include "stdafx.h"
#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 + 0x30086C) );
		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
		_asm
		{
			push szVal;
			call CONoff;
			add esp, 4;
		}
	}
}

BOOL WINAPI Main (LPVOID)
{
	bool boxes = true;
	bool nosky = false;
	bool worldframe = false;
	bool playerframe = false;
	bool nogun = false;
	bool Skeleton = false;
	bool FogEnable = false;
	bool CursorCenter = false;

	while(1)
	{
		__asm pushad;
		if(GetAsyncKeyState(VK_NUMPAD1)&1)
		{
			boxes = !boxes;
		}
		if(GetAsyncKeyState(VK_NUMPAD2)&1)
		{
			nosky = !nosky;
		}
		if(GetAsyncKeyState(VK_NUMPAD3)&1)
		{
			worldframe = !worldframe;
		}
		if(GetAsyncKeyState(VK_NUMPAD4)&1)
		{
			playerframe = !playerframe;
		}
		if(GetAsyncKeyState(VK_NUMPAD5)&1)
		{
			nogun = !nogun;
		}
		if(GetAsyncKeyState(VK_NUMPAD6)&1)
		{
			Skeleton = !Skeleton;
		}
		if(GetAsyncKeyState(VK_NUMPAD7)&1)
		{
			FogEnable = !FogEnable;
		}
		if(GetAsyncKeyState(VK_NUMPAD8)&1)
		{
			CursorCenter = !CursorCenter;
		}

		if (CursorCenter)
			PushToConsole("CursorCenter 1");
		else 
			PushToConsole("CursorCenter 0");

		if (FogEnable)
			PushToConsole("FogEnable 1");
		else
			PushToConsole("FogEnable 0");

		if (Skeleton) {
			PushToConsole("ModelDebug_DrawSkeleton 1"); 
		}
		else {
			PushToConsole("ModelDebug_DrawSkeleton 0"); 
		}
		if  (boxes)
			PushToConsole("ModelDebug_DrawBoxes 1");
		else
			PushToConsole("ModelDebug_DrawBoxes 0");

		if  (nosky)
			PushToConsole("DrawSky 0");
		else
			PushToConsole("DrawSky 1");

		if  (worldframe)
			PushToConsole("WireFrame 1");
		else
			PushToConsole("WireFrame 0");

		if  (playerframe)
			PushToConsole("WireFrameModels 1");
		else
			PushToConsole("WireFrameModels 0");

		if  (nogun)
			PushToConsole("DrawGuns 0");
		else
			PushToConsole("DrawGuns 1");
		__asm popad;

		Sleep(100);
	}
}

bool Ready(void)
{
    if( GetModuleHandleA("CShell.dll")!= NULL)
        return true;
    return false;
}

DWORD WINAPI dwMainThread(LPVOID)
{
	while (!Ready())
		Sleep(200);
	CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
	return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);
	if ( dwReason == DLL_PROCESS_ATTACH )
	{
		MessageBoxA(0, "Coded By 9l4uT", "Injected", 0);
		CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
	}
	return TRUE;
}
Help to rectify errors in the code.
Broad gulls of errors:
1> Fuckoff.obj: error LNK2005: _DllMain@12 it is already defined in dllmain.obj
1> c:\documents and settings\arsenij2\my documents\visual studio 2010\Projects\Fuckoff\Debug\Fuckoff.dll: fatal error LNK1169: repeatedly certain character - one or more is found out
Excuse, but at me Russian VB a C ++.
Sorry,for my english,i use translater.
arent that PATCHED hacks? like boxes skele, world frame??
It's you again -.- sam22 why do you make new accs like noobs and ask for help.
i <3 russian CF
i was the first to make a hack for it :P

ill make something for u guys, im busy a little bit, just added some new features
but ill make a release
lol Sam22?, OH and I voted for u sz_sektor for minion in CA
Quote Originally Posted by [B]Øb_[S]mØke° View Post
lol Sam22?, OH and I voted for u sz_sektor for minion in CA
Thanks bro and yes his sam22 look at text he wrote "halp" not "help" and sam22 write it the same way
Nice obsevation sektor hey why arent u in MSN?
nice man and boxes and stuff arent patched in cf russian WOW ! i wanna play russian crossfire lol if they arent patched
Quote Originally Posted by MiNT View Post
i <3 russian CF
i was the first to make a hack for it :P

ill make something for u guys, im busy a little bit, just added some new features
but ill make a release
Please don't spread here, as well as at you, at a site on which I sit too there are competitors...
Just release at PM for me, I don't want, that in game there was a chaos...
Sorry,for my bed english i use translater.

Quote Originally Posted by **HACKER** View Post
nice man and boxes and stuff arent patched in cf russian WOW ! i wanna play russian crossfire lol if they arent patched
In Russia CF all not patched...
I can give you officialy site
Quote Originally Posted by **HACKER** View Post
nice man and boxes and stuff arent patched in cf russian WOW ! i wanna play russian crossfire lol if they arent patched
But lol this is for CFEU no? this forum is for this no?
Quote Originally Posted by sh_z_sektor View Post
It's you again -.- sam22 why do you make new accs like noobs and ask for help.
what the hall are u talking about stop pointing me in every thing

Quote Originally Posted by [B]Øb_[S]mØke° View Post
Nice obsevation sektor hey why arent u in MSN?
and what are u on about

Quote Originally Posted by ARS-cool View Post
I try make hack for Russian CF,please halp me.
"My" code
Code:
#include "stdafx.h"
#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 + 0x30086C) );
		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
		_asm
		{
			push szVal;
			call CONoff;
			add esp, 4;
		}
	}
}

BOOL WINAPI Main (LPVOID)
{
	bool boxes = true;
	bool nosky = false;
	bool worldframe = false;
	bool playerframe = false;
	bool nogun = false;
	bool Skeleton = false;
	bool FogEnable = false;
	bool CursorCenter = false;

	while(1)
	{
		__asm pushad;
		if(GetAsyncKeyState(VK_NUMPAD1)&1)
		{
			boxes = !boxes;
		}
		if(GetAsyncKeyState(VK_NUMPAD2)&1)
		{
			nosky = !nosky;
		}
		if(GetAsyncKeyState(VK_NUMPAD3)&1)
		{
			worldframe = !worldframe;
		}
		if(GetAsyncKeyState(VK_NUMPAD4)&1)
		{
			playerframe = !playerframe;
		}
		if(GetAsyncKeyState(VK_NUMPAD5)&1)
		{
			nogun = !nogun;
		}
		if(GetAsyncKeyState(VK_NUMPAD6)&1)
		{
			Skeleton = !Skeleton;
		}
		if(GetAsyncKeyState(VK_NUMPAD7)&1)
		{
			FogEnable = !FogEnable;
		}
		if(GetAsyncKeyState(VK_NUMPAD8)&1)
		{
			CursorCenter = !CursorCenter;
		}

		if (CursorCenter)
			PushToConsole("CursorCenter 1");
		else 
			PushToConsole("CursorCenter 0");

		if (FogEnable)
			PushToConsole("FogEnable 1");
		else
			PushToConsole("FogEnable 0");

		if (Skeleton) {
			PushToConsole("ModelDebug_DrawSkeleton 1"); 
		}
		else {
			PushToConsole("ModelDebug_DrawSkeleton 0"); 
		}
		if  (boxes)
			PushToConsole("ModelDebug_DrawBoxes 1");
		else
			PushToConsole("ModelDebug_DrawBoxes 0");

		if  (nosky)
			PushToConsole("DrawSky 0");
		else
			PushToConsole("DrawSky 1");

		if  (worldframe)
			PushToConsole("WireFrame 1");
		else
			PushToConsole("WireFrame 0");

		if  (playerframe)
			PushToConsole("WireFrameModels 1");
		else
			PushToConsole("WireFrameModels 0");

		if  (nogun)
			PushToConsole("DrawGuns 0");
		else
			PushToConsole("DrawGuns 1");
		__asm popad;

		Sleep(100);
	}
}

bool Ready(void)
{
    if( GetModuleHandleA("CShell.dll")!= NULL)
        return true;
    return false;
}

DWORD WINAPI dwMainThread(LPVOID)
{
	while (!Ready())
		Sleep(200);
	CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
	return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
	DisableThreadLibraryCalls(hDll);
	if ( dwReason == DLL_PROCESS_ATTACH )
	{
		MessageBoxA(0, "Coded By 9l4uT", "Injected", 0);
		CreateThread(NULL, NULL, dwMainThread, NULL, NULL, NULL);
	}
	return TRUE;
}
Help to rectify errors in the code.
Broad gulls of errors:
1> Fuckoff.obj: error LNK2005: _DllMain@12 it is already defined in dllmain.obj
1> c:\documents and settings\arsenij2\my documents\visual studio 2010\Projects\Fuckoff\Debug\Fuckoff.dll: fatal error LNK1169: repeatedly certain character - one or more is found out
Excuse, but at me Russian VB a C ++.
Sorry,for my english,i use translater.
and for ur info u need to add a bypass to this i did post one same time ago ask for it and i will post it again
Quote Originally Posted by sam22 View Post
what the hall are u talking about stop pointing me in every thing



and what are u on about



and for ur info u need to add a bypass to this i did post one same time ago ask for it and i will post it again
Just post normal code at my PM,ok?
Quote Originally Posted by sam22 View Post
what the hall are u talking about stop pointing me in every thing



and what are u on about



and for ur info u need to add a bypass to this i did post one same time ago ask for it and i will post it again
lol men u just connected to this account to say this lol bad! -.-
Quote Originally Posted by [B]Øb_[S]mØke° View Post

lol men u just connected to this account to say this lol bad! -.-
You'r right bro did you see that his a noob like i siad
Posts 1–14 of 14 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us