Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    gerherhtherherdhher's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    171
    Reputation
    26
    Thanks
    900
    My Mood
    Sad

    Activating External Console

    Here is an easy code to activate the external console. For some reason the game doesn't write anything to it, but it works just fine for executing commands, setting dvars etc.

    Code:
    void (__cdecl* Sys_ShowConsole)() { reinterpret_cast<decltype(Sys_ShowConsole)>(0x005CB490) };
    
    //somewhere in your hook
    static bool showConsole { true };
    
    if (showConsole) {
       Sys_ShowConsole();
       showConsole = false;
    }
    Note: You should only call this once. If you don't have a hook where you can call it, create a new thread with a message queue and call it there. The cool thing about that approach is that the game won't exit if you close the console.

    Greetings!
    Last edited by gerherhtherherdhher; 01-14-2016 at 10:58 PM.

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

    oschigamer (01-14-2016),Scoudem (01-15-2016)

  3. #2
    Scoudem's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    0xC0000005
    Posts
    40
    Reputation
    10
    Thanks
    2,092
    My Mood
    Lurking
    I've been struggling with that sub. Called it but the window just flashed by. Your method seems to work, thanks! Can I use it in my tool?

  4. #3
    xxLogicaLxx's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    2
    Someone make a .DLL for this.

  5. #4
    Scoudem's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    0xC0000005
    Posts
    40
    Reputation
    10
    Thanks
    2,092
    My Mood
    Lurking
    Quote Originally Posted by xxLogicaLxx View Post
    Someone make a .DLL for this.
    I've implemented this in my MW2 Lobby Tools, just need to update it

  6. #5
    xxLogicaLxx's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    2
    Quote Originally Posted by Scoudem View Post
    I've implemented this in my MW2 Lobby Tools, just need to update it
    Well hurry up then mate.

  7. #6
    MiKe34123's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    56
    Reputation
    10
    Thanks
    83
    So does this allow you to put in certain DVARS and not others? Since apparently things like "map mp_afghan" won't work or w/e.

  8. #7
    KujoDrinksPussy's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    0
    Hey, I can't get this to work, debugged it in win32project dll. No errors on build or on injection, just does nothing.

    // ConsoleApplication5.cpp : Defines the exported functions for the DLL application.
    #include "stdafx.h"
    #include "Windows.h"
    int Sys_ShowConsole()
    {
    void (__cdecl* Sys_ShowConsole)(); { reinterpret_cast<decltype(Sys_ShowConsole)>(0x005C B490) ;}
    Sys_ShowConsole();
    };

  9. #8
    JokerKing9903's Avatar
    Join Date
    Sep 2014
    Gender
    male
    Location
    Visual Studio 2015 Enterprise
    Posts
    259
    Reputation
    10
    Thanks
    6,164
    My Mood
    Bitchy
    Quote Originally Posted by KujoDrinksPussy View Post
    Hey, I can't get this to work, debugged it in win32project dll. No errors on build or on injection, just does nothing.

    // ConsoleApplication5.cpp : Defines the exported functions for the DLL application.
    #include "stdafx.h"
    #include "Windows.h"
    int Sys_ShowConsole()
    {
    void (__cdecl* Sys_ShowConsole)(); { reinterpret_cast<decltype(Sys_ShowConsole)>(0x005C B490) ;}
    Sys_ShowConsole();
    };
    (0x005C B490)

    Do you see what you did wrong?

  10. #9
    KujoDrinksPussy's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    0
    I fixed that, now their is some other errors :u

  11. #10
    m0zey's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    38
    Reputation
    10
    Thanks
    2
    And where do you put this code please?

  12. #11
    gerherhtherherdhher's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    171
    Reputation
    26
    Thanks
    900
    My Mood
    Sad
    Quote Originally Posted by KujoDrinksPussy View Post
    Hey, I can't get this to work, debugged it in win32project dll. No errors on build or on injection, just does nothing.

    // ConsoleApplication5.cpp : Defines the exported functions for the DLL application.
    #include "stdafx.h"
    #include "Windows.h"
    int Sys_ShowConsole()
    {
    void (__cdecl* Sys_ShowConsole)(); { reinterpret_cast<decltype(Sys_ShowConsole)>(0x005C B490) ;}
    Sys_ShowConsole();
    };
    It's not a good idea to name the pointer and your function the same. You might get into an infinite recursion. Also, the game won't magically call your function, you have to create a thread from DllMain and create a message queue or hook into the game's thread and call it the

    Quote Originally Posted by KujoDrinksPussy View Post
    I fixed that, now their is some other errors :u
    What errors?

    Quote Originally Posted by m0zey View Post
    And where do you put this code please?
    In a text file, rename it to IW4Console.bat, then inject that into svchost.exe.

  13. The Following User Says Thank You to gerherhtherherdhher For This Useful Post:

    [NEWACCOUNT]Yano (05-05-2016)

  14. #12
    katzhunt2's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Let me know when it's updated

  15. #13
    classynapkins's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    My Mood
    Yeehaw
    Quote Originally Posted by __Xen0 View Post
    Here is an easy code to activate the external console. For some reason the game doesn't write anything to it, but it works just fine for executing commands, setting dvars etc.

    Code:
    void (__cdecl* Sys_ShowConsole)() { reinterpret_cast<decltype(Sys_ShowConsole)>(0x005CB490) };
    
    //somewhere in your hook
    static bool showConsole { true };
    
    if (showConsole) {
       Sys_ShowConsole();
       showConsole = false;
    }
    Note: You should only call this once. If you don't have a hook where you can call it, create a new thread with a message queue and call it there. The cool thing about that approach is that the game won't exit if you close the console.

    Greetings!
    hey i was wondering what code i could use to ban this guy Xen0 from my games? he keeps hacking my games

  16. #14
    Scoudem's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    0xC0000005
    Posts
    40
    Reputation
    10
    Thanks
    2,092
    My Mood
    Lurking
    Quote Originally Posted by classynapkins View Post
    hey i was wondering what code i could use to ban this guy Xen0 from my games? he keeps hacking my games
    are you serious

  17. #15
    gerherhtherherdhher's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    171
    Reputation
    26
    Thanks
    900
    My Mood
    Sad
    Quote Originally Posted by classynapkins View Post
    hey i was wondering what code i could use to ban this guy Xen0 from my games? he keeps hacking my games
    I've heard of that guy. Never met him in a lobby though. What stuff is he doing in your lobbies? I will try to figure something out!

Page 1 of 2 12 LastLast

Similar Threads

  1. [Request] T6M External console?
    By donatelis in forum Call of Duty Black Ops 2 Private Server Hacks
    Replies: 3
    Last Post: 08-13-2013, 06:40 PM
  2. [Help Request] IW5M External Console??
    By notreal1fake in forum Call of Duty Modern Warfare 3 Help
    Replies: 4
    Last Post: 07-01-2013, 02:32 PM
  3. [Detected] External Console Radar
    By King-Orgy in forum Call of Duty 7 - Black Ops Hacks & Cheats
    Replies: 105
    Last Post: 12-19-2010, 09:41 AM
  4. [Release] [Release]External Console Radar Inc. Source
    By King-Orgy in forum Call of Duty 4 - Modern Warfare (MW) Hacks
    Replies: 8
    Last Post: 12-04-2010, 02:39 AM
  5. [Detected] Custom External Console
    By @osma8 in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 10
    Last Post: 10-21-2010, 05:14 AM