Results 1 to 6 of 6
  1. #1
    ThePhyco's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Box... :(
    Posts
    70
    Reputation
    10
    Thanks
    7
    My Mood
    Aggressive

    I'm Not Sure What to do now

    I've just started coding and ive made my first code and im not sure what to do

    #include <windows.h>
    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* )( 0x3778BFB0 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }
    void main()
    {
    while(true)
    {
    PushToConsole("SkelModelStencil -1" );
    }
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    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;
    }


    Please Help im not sure what to do


    ^ IM COMING FOR U ^

  2. #2
    ★Rusty's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    My House/CShell Codes: C++
    Posts
    111
    Reputation
    14
    Thanks
    297
    My Mood
    Psychedelic
    You need to update the LTClient.
    Replace DWORD *LTClient = ( DWORD* )( 0x3778BFB0 );
    With DWORD *LTClient = ( DWORD* )( 0x3778CFB0 );

  3. The Following User Says Thank You to ★Rusty For This Useful Post:

    ThePhyco (08-02-2010)

  4. #3
    ThePhyco's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Box... :(
    Posts
    70
    Reputation
    10
    Thanks
    7
    My Mood
    Aggressive
    Now its still D/C
    I no spread dunno if thats the problem or not... Here is my new code
    #include <windows.h>
    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* )( 0x3778CFB0 );
    void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
    __asm
    {
    push szCommand;
    call CONoff;
    add esp, 4;
    }
    }
    void main()
    {
    while(true)
    {
    PushToConsole("PerturbRotationEffect 0.000000" );
    PushToConsole("PerturbIncreaseSpeed 0.000000" );
    PushToConsole("PerturbWalkPercent 0.000000" );
    PushToConsole("PerturbFiringIncreaseSpeed 0.000000" );
    PushToConsole("PerturbRecoil 0.000000" );
    PushToConsole("FireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireMoveDuckPerturb 0.000000" );
    PushToConsole("ZoomedFireMovePerturb 0.000000" );
    PushToConsole("ZoomedFireDuckPerturb 0.000000" );

    }
    }
    DWORD WINAPI dwHackThread(LPVOID)
    {
    while( !IsGameReadyForHook() )
    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;
    }




    ^ IM COMING FOR U ^

  5. #4
    ★Rusty's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    My House/CShell Codes: C++
    Posts
    111
    Reputation
    14
    Thanks
    297
    My Mood
    Psychedelic
    Your code is now right.
    The LTClient is now patched (Sorry i didn't realize it was when i gave it to you) No hacks work at the moment.
    Just wait until someone finds the new LTClient.
    When they do just add that to your code.

  6. The Following User Says Thank You to ★Rusty For This Useful Post:

    ThePhyco (08-02-2010)

  7. #5
    ThePhyco's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Box... :(
    Posts
    70
    Reputation
    10
    Thanks
    7
    My Mood
    Aggressive
    K thanks bro


    ^ IM COMING FOR U ^

  8. #6
    Ali's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Qc, Canada
    Posts
    11,453
    Reputation
    342
    Thanks
    3,514
    My Mood
    Cool
    Looks like your problem is solved .. /Closed .

Similar Threads

  1. [RELEASE] F2000 Tactical(not sure what to call it)
    By budman821 in forum Combat Arms Mods & Rez Modding
    Replies: 42
    Last Post: 09-17-2010, 07:54 PM
  2. Not sure what to title it
    By Trianglez in forum Showroom
    Replies: 8
    Last Post: 08-23-2010, 05:16 AM
  3. Help not sure what is the problem!!
    By candylinjack2 in forum Alliance of Valiant Arms (AVA) Hacks & Cheats
    Replies: 2
    Last Post: 03-08-2010, 02:23 PM
  4. [Discussion] Im a copral but Im not sure what gun to buy
    By elliscp01 in forum CrossFire Hacks & Cheats
    Replies: 16
    Last Post: 02-08-2010, 11:48 AM
  5. Not sure what im doing wrong
    By phenix66601 in forum Combat Arms Help
    Replies: 0
    Last Post: 01-24-2010, 04:06 PM