Results 1 to 4 of 4
  1. #1
    CRoShost's Avatar
    Join Date
    Mar 2014
    Gender
    female
    Posts
    2
    Reputation
    10
    Thanks
    0

    Adding hotkeys to FOV changer

    hi i have made an fov changer for the command "cg_fovscale" but my problem is i dont want to always tab out everytime a new map starts i would like hotkeys to increase and decrease my fovscale for example if i press F8 i want it to decrease by 0.125 and if i press F9 i want it to increase by 0.125 this is the code any help is appreciated!

    #include <iostream>
    #include <windows.h>
    #include <string>

    using namespace std;

    int main()
    {
    system("color 0B");
    LPCWSTR Game = L"Call of Duty 4";
    HWND hwnd = FindWindow(0, Game);
    if (hwnd == 0)
    {
    cout << "Cannot find Call of Duty 4 please open it before opening this tool next time" << endl;
    system("Pause");
    }
    else
    {
    DWORD process_ID;
    GetWindowThreadProcessId(hwnd, &process_ID);
    HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, process_ID);
    cout << "Call of Duty 4 has been found" << endl;
    {
    cout << "What do you want to set your FOV Scale to?" << endl;
    cout << "Type : ";
    float FOV;
    cin >> FOV;
    DWORD newdatasize = sizeof(FOV);
    if (WriteProcessMemory(hProcess, (LPVOID)0x0CBACDC0, &FOV, newdatasize, NULL))
    if (WriteProcessMemory(hProcess, (LPVOID)0x0CBACDD0, &FOV, newdatasize, NULL))
    {
    cout << "Your FOV has been changed successfully" << endl;
    }
    else
    {
    cout << "Your FOV has not changed successfully" << endl;
    system("Pause");
    }
    main();
    return 0;
    }
    }
    }

  2. #2
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    5,309
    Reputation
    468
    Thanks
    28,779
    My Mood
    Angelic
    I am not good in coding but you can ask kenshin13 as hitori he is a old minion in cod....just go to mw3 private section and ask him he/she is a code coder or lovroman I dont know if he is active this day
    ᚛C☢dℝin3᚜
    Love you.
    ~Kenshit13
    Quote Originally Posted by cheaterman26 View Post
    COD3RIN PUT A BACKDOOR ON HIS OWN CHEAT HE HACK MY COMPUTER AND MY STEAM, DON'T TRUST THIS GUYS !



  3. #3
    CRoShost's Avatar
    Join Date
    Mar 2014
    Gender
    female
    Posts
    2
    Reputation
    10
    Thanks
    0
    How to i get to the mw3 private section?

  4. #4
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    5,309
    Reputation
    468
    Thanks
    28,779
    My Mood
    Angelic
    Quote Originally Posted by CRoShost View Post
    How to i get to the mw3 private section?
    View my main profile hitori is there
    ᚛C☢dℝin3᚜
    Love you.
    ~Kenshit13
    Quote Originally Posted by cheaterman26 View Post
    COD3RIN PUT A BACKDOOR ON HIS OWN CHEAT HE HACK MY COMPUTER AND MY STEAM, DON'T TRUST THIS GUYS !



Similar Threads

  1. Replies: 31
    Last Post: 03-12-2010, 01:40 PM
  2. Adding Hotkeys to VB Projects.
    By Dreamcast in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 9
    Last Post: 02-10-2010, 11:49 AM
  3. [Release] MW2 FOV Changer (1.0.172)
    By silentrunner2 in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 30
    Last Post: 02-09-2010, 10:30 PM
  4. SUPER Spammer + hotkeys + ingame message changer
    By hopefordope in forum Combat Arms Spammers, Injectors and Multi Tools
    Replies: 14
    Last Post: 01-30-2010, 05:59 AM
  5. [Release] MW2 FOV Changer (1.0.174)
    By silentrunner2 in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 33
    Last Post: 01-20-2010, 12:11 AM