Overclock.net › Forums › Video Games › PC Gaming › How do I enable Console ~ on COD-MW3?
New Posts  All Forums:Forum Nav:

How do I enable Console ~ on COD-MW3? - Page 2

post #11 of 18
Nevermind lol
Edited by Dopamin3 - 12/27/11 at 7:34pm
FreeNAS
(9 items)
 
Beast
(14 items)
 
Alura :)
(11 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1245 v5 SuperMicro X11SSM-F-O C236 Integrated 2 x 16GB Kingston ValueRAM ECC KVR21E15D8/16 
Hard DriveCoolingOSPower
5 x 8TB Seagate IronWolf Pro in ZF2 Array CoolerMaster Hyper 212 Evo FreeNAS 11 EVGA SuperNOVA G2 550W Gold 
Case
Fractal Design Node 804 
CPUMotherboardGraphicsRAM
i7 4790k Asus Z97 Pro WIFI-AC Sapphire Nitro Radeon R9 Fury Tri-X OC+  G.Skill 4 x 8GB F3-2133C9D-16GXH 
Hard DriveOptical DriveCoolingOS
2 x Intel 730 480GB SSD in RAID 0 Asus DRW-24B1ST/BLK/B/AS Noctua NH-D15 Winblows 10 Pro x64 
MonitorKeyboardPowerCase
Pixio PX277 Logitech G510 Seasonic SS-660XP2 Fractal Design R4 Blackout 
MouseMouse Pad
Logitech G500 Xtrac Ripper 
CPUMotherboardGraphicsRAM
i5 2500k Asus P8Z68-V Pro MSI R7970 Lightning BE 2 x 4GB G.Skill Ripjaws 2133mhz 
Hard DriveOptical DriveCoolingOS
Mushkin Enhanced Chronos 240GB and WD Black 1TB Asus DRW-24B1ST Cooler Master Hyper 212 EVO Windows 7 Ultimate x64 
MonitorPowerCase
Hannspree 24 inch Thermaltake Tough Power TP-750P 750W Gold Cooler Master HAF 932 
  hide details  
Reply
FreeNAS
(9 items)
 
Beast
(14 items)
 
Alura :)
(11 items)
 
CPUMotherboardGraphicsRAM
Intel Xeon E3-1245 v5 SuperMicro X11SSM-F-O C236 Integrated 2 x 16GB Kingston ValueRAM ECC KVR21E15D8/16 
Hard DriveCoolingOSPower
5 x 8TB Seagate IronWolf Pro in ZF2 Array CoolerMaster Hyper 212 Evo FreeNAS 11 EVGA SuperNOVA G2 550W Gold 
Case
Fractal Design Node 804 
CPUMotherboardGraphicsRAM
i7 4790k Asus Z97 Pro WIFI-AC Sapphire Nitro Radeon R9 Fury Tri-X OC+  G.Skill 4 x 8GB F3-2133C9D-16GXH 
Hard DriveOptical DriveCoolingOS
2 x Intel 730 480GB SSD in RAID 0 Asus DRW-24B1ST/BLK/B/AS Noctua NH-D15 Winblows 10 Pro x64 
MonitorKeyboardPowerCase
Pixio PX277 Logitech G510 Seasonic SS-660XP2 Fractal Design R4 Blackout 
MouseMouse Pad
Logitech G500 Xtrac Ripper 
CPUMotherboardGraphicsRAM
i5 2500k Asus P8Z68-V Pro MSI R7970 Lightning BE 2 x 4GB G.Skill Ripjaws 2133mhz 
Hard DriveOptical DriveCoolingOS
Mushkin Enhanced Chronos 240GB and WD Black 1TB Asus DRW-24B1ST Cooler Master Hyper 212 EVO Windows 7 Ultimate x64 
MonitorPowerCase
Hannspree 24 inch Thermaltake Tough Power TP-750P 750W Gold Cooler Master HAF 932 
  hide details  
Reply
post #12 of 18
Are you trying to use the console in Multiplayer or Singleplayer?
^_^
(13 items)
 
   
CPUMotherboardGraphicsRAM
Intel 2600K ASRock Z68 EXTREME4 GEN3 Gigabyte Windforce 7970 OC Mushkin Enhanced Blackline 8GB (2 x 4GB) 
CoolingMonitorPowerCase
Noctua D14 Asus VG248QE Corsair TX 750 V2 Corsair 650D 
MouseMouse PadAudioAudio
G400, MX518, G500, G5, IMO 1.1, IME 3.0, Deatha... fUnC 1030, QCK+, QCK Heavy, PureTrak Talent Whi... X-Fi Titanium HD Sennheiser HD555 
CPUGraphicsRAMHard Drive
Intel i7 2.4GHz Intel HD 4000 8GB 256GB SSD 
Monitor
2880 x 1800 Retina 
  hide details  
Reply
^_^
(13 items)
 
   
CPUMotherboardGraphicsRAM
Intel 2600K ASRock Z68 EXTREME4 GEN3 Gigabyte Windforce 7970 OC Mushkin Enhanced Blackline 8GB (2 x 4GB) 
CoolingMonitorPowerCase
Noctua D14 Asus VG248QE Corsair TX 750 V2 Corsair 650D 
MouseMouse PadAudioAudio
G400, MX518, G500, G5, IMO 1.1, IME 3.0, Deatha... fUnC 1030, QCK+, QCK Heavy, PureTrak Talent Whi... X-Fi Titanium HD Sennheiser HD555 
CPUGraphicsRAMHard Drive
Intel i7 2.4GHz Intel HD 4000 8GB 256GB SSD 
Monitor
2880 x 1800 Retina 
  hide details  
Reply
post #13 of 18
You can use "SendCommandToConsole" which will inject into your game do a pattern search and allow you to send commands. That is a 100% detected "cheat" though. Or you can try one of the console enablers. Also detected by VAC/PB as a "cheat"
post #14 of 18
Thread Starter 
Quote:
Originally Posted by dmasteR View Post

Are you trying to use the console in Multiplayer or Singleplayer?

Single Player, I have 2 copies, one for multi (Play real, no cheats, get my ass handed, etc), and a 2nd copy (that I expect to be shot up, on a non inet connected gameplay, of single player, test out mods, etc).
Quote:
Originally Posted by kiwidog View Post

You can use "SendCommandToConsole" which will inject into your game do a pattern search and allow you to send commands. That is a 100% detected "cheat" though. Or you can try one of the console enablers. Also detected by VAC/PB as a "cheat"

How do you do this? I'm looking for single player, as i'm not expecting this for multi.
    
CPUMotherboardGraphicsGraphics
i5, 4670k, 4.2ghz MSI Z87-GD65 GAMING (MS-7845) MSI Nvidia GeForce GTX 760 MSI Nvidia GeForce GTX 760 
RAMHard DriveOptical DriveCooling
4x 4gb Corsair 1600 C9, XMP 1.2 2x1tb (sata6, Raid 0), 2x 1tb data drives, 4x 2... Sata: DVD DL Burner w/lite scribe corsair h100i w/2x120mm rad internal. 1x 120 re... 
OSMonitorKeyboardPower
Windows 8.1 3x 24" RL2455HM BenQ Logitech G15 Keyboard (Original with G1-G18 but... TR2 RX 1200W ThermalTake 
CaseMouseMouse PadAudio
Antec P280 Black With Window/Side Panel Razer Naga Hex Shaw @ Home Mouse Pad Xonar Dx 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
i5, 4670k, 4.2ghz MSI Z87-GD65 GAMING (MS-7845) MSI Nvidia GeForce GTX 760 MSI Nvidia GeForce GTX 760 
RAMHard DriveOptical DriveCooling
4x 4gb Corsair 1600 C9, XMP 1.2 2x1tb (sata6, Raid 0), 2x 1tb data drives, 4x 2... Sata: DVD DL Burner w/lite scribe corsair h100i w/2x120mm rad internal. 1x 120 re... 
OSMonitorKeyboardPower
Windows 8.1 3x 24" RL2455HM BenQ Logitech G15 Keyboard (Original with G1-G18 but... TR2 RX 1200W ThermalTake 
CaseMouseMouse PadAudio
Antec P280 Black With Window/Side Panel Razer Naga Hex Shaw @ Home Mouse Pad Xonar Dx 
  hide details  
Reply
post #15 of 18
I found it for Modern Warfare 3 Multiplayer (Not sure if this is the most recent patch) I don't have the game so I had a buddy of mine send me the .exe.
Code:
/*
        Untested Modern Warfare 3 Multiplayer ClickBot by kiwidog
        http://allenthinks.com
        .text:004D079A                 push    offset aScreenshot ; "screenshot" ;this is how I find the Address of the function I want
        .text:004D079F                 push    edi
        .text:004D07A0                 mov     esi, eax
        .text:004D07A2                 call    sub_49A120
        The Prototype would look like
        sub_49A120(int edi, char* command);
        Because of the way things are pushed/popped off of the stack
        Push Command, Push Number, Pop Number Pop Command is how the function would see it
*/
#include <Windows.h>

typedef void (__cdecl *lpSendCommandToConsole)(int v1, char* command);
lpSendCommandToConsole SendCommandToConsole = (lpSendCommandToConsole)(0x49A120);

DWORD WINAPI HackTest(LPVOID)
{
        while (1)
        {
                if(GetAsyncKeyState(VK_F2)&0x8000)
                {
                        SendCommandToConsole(0, "+attack\n");
                        Sleep(5);
                        SendCommandToConsole(0, "-attack\n");
                }
                Sleep(5);
        }
        return 0;
}

BOOL WINAPI DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
{
        if(dwReason == DLL_PROCESS_ATTACH)
        {
                CreateThread(0,0,HackTest,0,0,0);
        }

        return TRUE;
}

If you have OllyDbg, IDA, or some kind of disassembler load it up and see where "screenshot" lands you. It should ALWAYS look similar (more or less) to what I put in my comments. I HIGHLY DONT RECCOMEND ATTACHING A DEBUGGER TO THE GAME IN MULTIPLAYER/SINGLEPLAYER. (File Analysis is better in this case) With this source goto Visual Studio->Win32Project->DLL->EmptyProject->CreateNewFile->main.cpp->Paste Code->compile->GetWinject->Inject into your sp executable (ONCE YOU FIND THE RIGHT ADDRESS FOR IT)

BE WARNED, this will give you a console, but it may also get you banned if VAC is enabled so take extra precautions and checks to see if VAC is enabled or not.
post #16 of 18
Thread Starter 
Quote:
Originally Posted by kiwidog View Post

I found it for Modern Warfare 3 Multiplayer (Not sure if this is the most recent patch) I don't have the game so I had a buddy of mine send me the .exe.
Code:
/*
        Untested Modern Warfare 3 Multiplayer ClickBot by kiwidog
        http://allenthinks.com
        .text:004D079A                 push    offset aScreenshot ; "screenshot" ;this is how I find the Address of the function I want
        .text:004D079F                 push    edi
        .text:004D07A0                 mov     esi, eax
        .text:004D07A2                 call    sub_49A120
        The Prototype would look like
        sub_49A120(int edi, char* command);
        Because of the way things are pushed/popped off of the stack
        Push Command, Push Number, Pop Number Pop Command is how the function would see it
*/
#include <Windows.h>
typedef void (__cdecl *lpSendCommandToConsole)(int v1, char* command);
lpSendCommandToConsole SendCommandToConsole = (lpSendCommandToConsole)(0x49A120);
DWORD WINAPI HackTest(LPVOID)
{
        while (1)
        {
                if(GetAsyncKeyState(VK_F2)&0x8000)
                {
                        SendCommandToConsole(0, "+attack\n");
                        Sleep(5);
                        SendCommandToConsole(0, "-attack\n");
                }
                Sleep(5);
        }
        return 0;
}
BOOL WINAPI DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
{
        if(dwReason == DLL_PROCESS_ATTACH)
        {
                CreateThread(0,0,HackTest,0,0,0);
        }
        return TRUE;
}
If you have OllyDbg, IDA, or some kind of disassembler load it up and see where "screenshot" lands you. It should ALWAYS look similar (more or less) to what I put in my comments. I HIGHLY DONT RECCOMEND ATTACHING A DEBUGGER TO THE GAME IN MULTIPLAYER/SINGLEPLAYER. (File Analysis is better in this case) With this source goto Visual Studio->Win32Project->DLL->EmptyProject->CreateNewFile->main.cpp->Paste Code->compile->GetWinject->Inject into your sp executable (ONCE YOU FIND THE RIGHT ADDRESS FOR IT)
BE WARNED, this will give you a console, but it may also get you banned if VAC is enabled so take extra precautions and checks to see if VAC is enabled or not.

I don't have a compiler, any suggestions?

And would in this coding, 0 = ~ ? (Typically console in most prior Valve games ~ = console, but I don't see that refered in the code reference. I do recognize the layers of the code for the most part)
    
CPUMotherboardGraphicsGraphics
i5, 4670k, 4.2ghz MSI Z87-GD65 GAMING (MS-7845) MSI Nvidia GeForce GTX 760 MSI Nvidia GeForce GTX 760 
RAMHard DriveOptical DriveCooling
4x 4gb Corsair 1600 C9, XMP 1.2 2x1tb (sata6, Raid 0), 2x 1tb data drives, 4x 2... Sata: DVD DL Burner w/lite scribe corsair h100i w/2x120mm rad internal. 1x 120 re... 
OSMonitorKeyboardPower
Windows 8.1 3x 24" RL2455HM BenQ Logitech G15 Keyboard (Original with G1-G18 but... TR2 RX 1200W ThermalTake 
CaseMouseMouse PadAudio
Antec P280 Black With Window/Side Panel Razer Naga Hex Shaw @ Home Mouse Pad Xonar Dx 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
i5, 4670k, 4.2ghz MSI Z87-GD65 GAMING (MS-7845) MSI Nvidia GeForce GTX 760 MSI Nvidia GeForce GTX 760 
RAMHard DriveOptical DriveCooling
4x 4gb Corsair 1600 C9, XMP 1.2 2x1tb (sata6, Raid 0), 2x 1tb data drives, 4x 2... Sata: DVD DL Burner w/lite scribe corsair h100i w/2x120mm rad internal. 1x 120 re... 
OSMonitorKeyboardPower
Windows 8.1 3x 24" RL2455HM BenQ Logitech G15 Keyboard (Original with G1-G18 but... TR2 RX 1200W ThermalTake 
CaseMouseMouse PadAudio
Antec P280 Black With Window/Side Panel Razer Naga Hex Shaw @ Home Mouse Pad Xonar Dx 
  hide details  
Reply
post #17 of 18
No it would be F2, as seen here http://msdn.microsoft.com/en-us/library/windows/desktop/ms646293%28v=vs.85%29.aspx

I think that the 0 that you are referring to is in the SendCommandToConsole function. In COD4 it was something along the lines of SendCommandToConsole(int TimeDelayed, int UnknownVar, char* command)

I just pass 0 or 1 to the command because that is what I found in disassembly. You can read up more on how the ingame function works by downloading the Quake 3 Source Code. Call of Duty Series games (except for 3 iirc) are all based off of the Quake 3 Engine.

This should be the offset for Modern Warfare 3 Singleplayer

I found it by looking through this.
Code:
.text:004AA842                 push    offset aReadstats ; "readStats\n"
.text:004AA847                 push    0
.text:004AA849                 call    sub_45B700

So the offset of the Singleplayer Function would be 0x45B700

ONLY IF YOU KNOW FOR A FACT THAT VAC IS DISABLED, you could try this.
Modern Warfare 3 Attack Bot

Go inside singleplayer and press F2 and it should fire your gun. (Should.....) If that works someone report back to me and I will make a full DirectX based Ingame Console to replace the one that IW left out.
Edited by kiwidog - 12/28/11 at 1:30pm
post #18 of 18
Thread Starter 
Quote:
Originally Posted by kiwidog View Post

No it would be F2, as seen here http://msdn.microsoft.com/en-us/library/windows/desktop/ms646293%28v=vs.85%29.aspx
I think that the 0 that you are referring to is in the SendCommandToConsole function. In COD4 it was something along the lines of SendCommandToConsole(int TimeDelayed, int UnknownVar, char* command)
I just pass 0 or 1 to the command because that is what I found in disassembly. You can read up more on how the ingame function works by downloading the Quake 3 Source Code. Call of Duty Series games (except for 3 iirc) are all based off of the Quake 3 Engine.
This should be the offset for Modern Warfare 3 Singleplayer
I found it by looking through this.
Code:
.text:004AA842                 push    offset aReadstats ; "readStats\n"
.text:004AA847                 push    0
.text:004AA849                 call    sub_45B700
So the offset of the Singleplayer Function would be 0x45B700
ONLY IF YOU KNOW FOR A FACT THAT VAC IS DISABLED, you could try this.
Modern Warfare 3 Attack Bot
Go inside singleplayer and press F2 and it should fire your gun. (Should.....) If that works someone report back to me and I will make a full DirectX based Ingame Console to replace the one that IW left out.

I'm literally just off to sleep now, I will test this tomorrow after work. Expect a reply back in next 24hrs. Yes VAC is off for this copy of the install. I've blocked it from my firewall as well, ie it's pure single, pure offline/ As if I have no inet.

Thanks for the replies man

- Le_Loup
    
CPUMotherboardGraphicsGraphics
i5, 4670k, 4.2ghz MSI Z87-GD65 GAMING (MS-7845) MSI Nvidia GeForce GTX 760 MSI Nvidia GeForce GTX 760 
RAMHard DriveOptical DriveCooling
4x 4gb Corsair 1600 C9, XMP 1.2 2x1tb (sata6, Raid 0), 2x 1tb data drives, 4x 2... Sata: DVD DL Burner w/lite scribe corsair h100i w/2x120mm rad internal. 1x 120 re... 
OSMonitorKeyboardPower
Windows 8.1 3x 24" RL2455HM BenQ Logitech G15 Keyboard (Original with G1-G18 but... TR2 RX 1200W ThermalTake 
CaseMouseMouse PadAudio
Antec P280 Black With Window/Side Panel Razer Naga Hex Shaw @ Home Mouse Pad Xonar Dx 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
i5, 4670k, 4.2ghz MSI Z87-GD65 GAMING (MS-7845) MSI Nvidia GeForce GTX 760 MSI Nvidia GeForce GTX 760 
RAMHard DriveOptical DriveCooling
4x 4gb Corsair 1600 C9, XMP 1.2 2x1tb (sata6, Raid 0), 2x 1tb data drives, 4x 2... Sata: DVD DL Burner w/lite scribe corsair h100i w/2x120mm rad internal. 1x 120 re... 
OSMonitorKeyboardPower
Windows 8.1 3x 24" RL2455HM BenQ Logitech G15 Keyboard (Original with G1-G18 but... TR2 RX 1200W ThermalTake 
CaseMouseMouse PadAudio
Antec P280 Black With Window/Side Panel Razer Naga Hex Shaw @ Home Mouse Pad Xonar Dx 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: PC Gaming
Overclock.net › Forums › Video Games › PC Gaming › How do I enable Console ~ on COD-MW3?