Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    __Xen0's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    116
    Reputation
    14
    Thanks
    324
    My Mood
    Sneaky

    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 __Xen0; 01-14-2016 at 11:58 PM.

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

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

  3. #2
    Scoudem's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Location
    0xC0000005
    Posts
    32
    Reputation
    10
    Thanks
    772
    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
    32
    Reputation
    10
    Thanks
    772
    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
    52
    Reputation
    10
    Thanks
    62
    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
    Feb 2016
    Gender
    male
    Posts
    10
    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
    185
    Reputation
    10
    Thanks
    2,497
    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
    Feb 2016
    Gender
    male
    Posts
    10
    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
    15
    Reputation
    10
    Thanks
    0
    And where do you put this code please?

  12. #11
    __Xen0's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    116
    Reputation
    14
    Thanks
    324
    My Mood
    Sneaky
    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 __Xen0 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
    32
    Reputation
    10
    Thanks
    772
    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
    __Xen0's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    116
    Reputation
    14
    Thanks
    324
    My Mood
    Sneaky
    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, 07: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, 03: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, 10: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, 03: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, 06:14 AM