Results 1 to 6 of 6
  1. #1
    YumNum`'s Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed

    Finding a PushToConsole Method

    Can Anyone Give Me A Quick Tutorial On How to Find a PTC?


    Contact:
    PrivateMessage
    Visitor Message

    Mention:
    @flameswor10
    @MattyPatty

    MPGH Goals
    Make A Menu Hack [X]
    Make A Hotkey Hack[X]

  2. #2
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    493
    Reputation
    104
    Thanks
    629
    You must make one.

    Oh no! Vortex is gay!

  3. #3
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    LT Client + 0x208

  4. The Following 2 Users Say Thank You to ac1d_buRn For This Useful Post:

    Atomic` (02-09-2012),EliteHakz (02-15-2012)

  5. #4
    Atomic`'s Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    28
    According to the dude above me, LTClient + 0x208...

    Should be something like this:

    Code:
    __asm
    {
    	mov ecx, dword ptr ds:[ADDR_LTCLIENT]
    	mov eax, dword ptr ds:[ecx + 0x208]
    	push szCommand
    	call eax
    	add esp, 0x4
    }
    Havnt tested but it should work =\

    ADDR_LTCLIENT is 0x377DA848
    Last edited by Atomic`; 02-09-2012 at 07:28 AM.

  6. #5
    YumNum`'s Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed
    Quote Originally Posted by Atomic` View Post
    According to the dude above me, LTClient + 0x208...

    Should be something like this:

    Code:
    typedef void (__stdcall *SCV)(const char *Command);
    SCV SetCVar = (SCV)(ADDR_LTCLIENT + 0x208);
    Havnt tested but it should work =\

    ADDR_LTCLIENT is 0x377DA848
    if its new it should work


    Contact:
    PrivateMessage
    Visitor Message

    Mention:
    @flameswor10
    @MattyPatty

    MPGH Goals
    Make A Menu Hack [X]
    Make A Hotkey Hack[X]

  7. #6
    -Dimensions-'s Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    243
    Reputation
    2
    Thanks
    162
    My Mood
    Aggressive
    LTClient version is much slower than the Unwrapped Console version. If you get the dump files and find the Unwrapped Console you can use the old version (if it still works).

    Now using Atomic's assembly, the function should look a little like this (not sure, I was gone for 7-8 months, got a lot of catching up plus I kinda just put my old RunConsoleCommand with his assembly):

    Code:
    #define ADDR_LTCLIENT 0x377DA848
    void __cdecl PushToConsole( const char* cCommand )
    {
    	void* address = ( void* ) ADDR_LTCLIENT;
    
    	__asm
    	{
    		mov ecx, dword ptr ds:[address]
    		mov eax, dword ptr ds:[ecx + 0x208]
    		push cCommand
    		call eax
    		add esp, 0x4
    	}
    }
    Atomic, the dude above you is ac1d_buRn, hes like my third idol.

Similar Threads

  1. PushToConsole Method?
    By Nuckets in forum Combat Arms Coding Help & Discussion
    Replies: 3
    Last Post: 12-01-2011, 08:41 AM
  2. Replies: 37
    Last Post: 06-20-2006, 04:24 PM
  3. Find a bug or have a suggestion?
    By Dave84311 in forum Suggestions, Requests & General Help
    Replies: 15
    Last Post: 05-24-2006, 09:50 AM
  4. hi can any1 help me make or find a cheat code
    By CrUsHa in forum WarRock - International Hacks
    Replies: 3
    Last Post: 05-19-2006, 04:39 PM
  5. Where do i find WPE Pro?
    By Rileyman1211 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 01-16-2006, 09:52 AM