Cold Fusion Fuse to the max
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Activation Distance Source

Go down 
AuthorMessage
Admin
Admin


Posts : 217
Join date : 2010-07-03

PostSubject: Activation Distance Source    Wed Jul 07, 2010 12:08 pm

Hello guys this is the source for a simple hack with only activation distance.
Must be updated look at the thread called new ltc for update


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;
}
Back to top Go down
View user profile http://cfhacks.worldcupboard.net
cracker6686sara



Posts : 30
Join date : 2010-07-07

PostSubject: Re: Activation Distance Source    Sun Jul 18, 2010 2:15 pm

looks a lil tech-y but i should be able to learn to code fairly fast. any sites u know of with howto's or manuals showing the placement values. like for example here is some html guides.

http://werbach.com/barebones/

http://werbach.com/barebones/barebones.html

PLZ POST (or PM me) IF U KNOW OF ANY HACK Guides.
Back to top Go down
View user profile
 
Activation Distance Source
Back to top 
Page 1 of 1
 Similar topics
-
» LOOK! Proof of A Light Source Found On Mars!
» BAC Honoraria : Funding Source
» GEK Gasifier free plans open source
» Summary: Gliese 581 c
» My Soulmate is my twin flame

Permissions in this forum:You cannot reply to topics in this forum
ColdFusion :: Games :: Combat Arms :: Combat Arms Hack Source Code-
Jump to: