Activation Distance Source

Posts 115 of 26 · Page 1 of 2
Activation Distance Source
Hello guys this is the source for a simple hack with only activation distance. This is fully updated copy and paste if you want i dont care.

Code:
#include "stdafx.h"
#include <windows.h>
#include <shellapi.h>
#pragma comment(lib,"shell32.lib")
void __cdecl PushToConsole( const char* szCommand )
{
	DWORD *Ltclient = ( DWORD* )( 0x37775D68 );
	void* CONoff = ( void* )*( DWORD* )( *Ltclient + 0x208 );
 
	__asm
	{
		push szCommand;
		call CONoff;
		add esp, 4;
	}
}
bool IsGameReadyForHook()
{
    if( GetModuleHandleA( "d3d9.dll"     ) != NULL 
     && GetModuleHandleA( "ClientFX.fxd" ) != NULL 
     && GetModuleHandleA( "CShell.dll"   ) != NULL )
        return true;

    return false;
}
		void MemCopy(void* Dest, const void* Src, int Len)
{
    DWORD OldProtect;
    DWORD OldProtect2;
    VirtualProtect(Dest, Len, PAGE_EXECUTE_READWRITE, &OldProtect);
    memcpy(Dest, Src, Len);
    VirtualProtect(Dest, Len, OldProtect, &OldProtect2);
    FlushInstructionCache(GetCurrentProcess(), Dest, Len);
}
void main()
{
	
	PushToConsole("FallDamageMinHeight 0.000000");
	PushToConsole("FallDamageMaxHeight 0.000000");
	PushToConsole("FallDamageMax 0.000000");
	while(true){
		if(GetAsyncKeyState(VK_INSERT)<0){
			PushToConsole("ActivationDistance 1000");
		}
	}
}
BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
					 )
{
	switch (ul_reason_for_call)
	{
	case DLL_PROCESS_ATTACH:
		ShellExecute;
		CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0,NULL);
		break;
	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
	case DLL_PROCESS_DETACH:
		break;
	}
	return TRUE;
}
is that an updated Ltclient?
"Yes fully updated everything
Thanks for sharing,but I think most ppl know how to use activation distance.
Lol, Let the 10000 Releases of Only Activation Hacks begin
Thanks for sharing man. I hope this doesn't get raped like gellins base.
Quote Originally Posted by BossMan. View Post
Thanks for sharing man. I hope this doesn't get raped like gellins base.
Why would someone Rape this he is just showing us the Activation Distance Command.

and most hack uses for hotkey use that base.(I DONT )
LuL it is fully updated so anyone can just copy and past and build and it would work for them
Yea but these beginners can learn how to parse hotkeys themselves
lol *NOOB ALERT*

pff, noobs.
I am. Don't even know the first thing that comes to coding /me
Lol I am getting an error when I'm trying to use that source code: [php]------ Build started: Project: LeoCooper's hack, Configuration: Debug Win32 ------
LeoCooper's hack.cpp
c:\users\*censored*\documents\visual studio 2010\projects\leocooper's hack\leocooper's hack\leocooper's hack.cpp(57): warning C4551: function call missing argument list
LeoCooper's hack.obj : error LNK2005: _DllMain@12 already defined in dllmain.obj
c:\users\*censored*\documents\visual studio 2010\Projects\LeoCooper's hack\Debug\LeoCooper's hack.dll : fatal error LNK1169: one or more multiply defined symbols found
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
[/php]
Quote Originally Posted by LeoCooper View Post
Lol I am getting an error when I'm trying to use that source code: [php]------ Build started: Project: LeoCooper's hack, Configuration: Debug Win32 ------
LeoCooper's hack.cpp
c:\users\*censored*\documents\visual studio 2010\projects\leocooper's hack\leocooper's hack\leocooper's hack.cpp(57): warning C4551: function call missing argument list
LeoCooper's hack.obj : error LNK2005: _DllMain@12 already defined in dllmain.obj
c:\users\*censored*\documents\visual studio 2010\Projects\LeoCooper's hack\Debug\LeoCooper's hack.dll : fatal error LNK1169: one or more multiply defined symbols found
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
[/php]



its because u have 2 main files in the project
try deleting dll main from the project
Quote Originally Posted by rocker340 View Post
its because u have 2 main files in the project
try deleting dll main from the project
im getting only this message
[php]C:\Users\*********\Desktop\Programing\C++\New folder\neo1\neo1.cpp(55) : warning C4551: function call missing argument list[/php]
it refers to this line
Code:
	case DLL_PROCESS_ATTACH:
		ShellExecute;
		CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0,NULL);
		break;
Posts 115 of 26 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?