/ohshit
Clearly you do...
read your errors!
/facepalmCode:Error 1 error LNK2005: _DllMain@12 already defined in Coldfusion.obj
Error 2 error LNK1169: one or more multiply defined symbols found
Printable View
well i check it out i didnt find any thing can you no lol
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;
}
Coldfusion is the OP its pretty obvious seeing as his error is located in Coldfusion.cpp /yes
and HEYHEYHEY NOBODY AROUND HERE CALSE MARKO A NOOB. He's my slut /mhu
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
was a hook, you aren't very smart(no offense).Code:
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;
return false;
}
More like damn curvey /baba because you're a guy(I think) and I'm a guy(I think). Nothing very straight about that /tehe
I beg to differ? ColdFusion - Wikipedia, the free encyclopedia
You trollin' I highly doubt you code for any site /boh1