Results 1 to 5 of 5
  1. #1
    gogogokitty's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    840
    Reputation
    102
    Thanks
    2,392

    need help finding black ops 3 window

    im just screwing around and thought id make a little trainer for myself. im having issues finding the BO3 window, in world at war and modern warefare 2 the name of it was Call of Duty®. and in this its Call of Duty® -ship-username the username is different for each user. but no matter what i try to have it search for it cant find it and im not sure why.


    Code:
    hWindow = FindWindow(NULL, L"Call of Duty®");
    hWindow = FindWindow(NULL, L"Call of Duty® -ship-gokitty199");
    oops wrong area
    Last edited by gogogokitty; 11-08-2015 at 10:41 PM.
    LEEEEEEROY JEEEEENKINS

  2. #2
    HexMurder's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    System.Diagnostics
    Posts
    333
    Reputation
    96
    Thanks
    2,403
    You could always just use the process id instead of hWindow.

  3. #3
    hkKenshin's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    301
    Reputation
    28
    Thanks
    325
    Create a Toolhelp32Snapshot ( Specifying x64 processes only ), enumerate each of them and look for the actual process name, get the process ID and call OpenProcess()

  4. #4
    gogogokitty's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    840
    Reputation
    102
    Thanks
    2,392
    Quote Originally Posted by Legit_Godmode View Post
    You could always just use the process id instead of hWindow.
    would you mind giving me an example, i havent touched c++ in a year unfortionatly lol, im only remembering what i have written before. just copied my world at war add points code and changed the address and name of window.
    Code:
     HANDLE hProcess = 0; 
    			HWND hWindow;
    			DWORD address = 0x1476D346C;
    			int value = 0;
    			DWORD pid = 0;
    			hWindow = FindWindow(NULL, L"Call of Duty® - ship - gokitty199");
    
    			if (hWindow) {
    			GetWindowThreadProcessId(hWindow, &pid);
    			}
    			hProcess = OpenProcess(PROCESS_VM_READ | PROCESS_VM_WRITE | PROCESS_VM_OPERATION | PROCESS_QUERY_INFORMATION, 0, pid);
    			ReadProcessMemory(hProcess,(LPVOID)address,&value,sizeof(value),NULL);
    			value += 15000;
    			WriteProcessMemory(hProcess,(LPVOID)address,&value,sizeof(value),NULL);
    			VirtualProtectEx(hProcess, (LPVOID)address, 256, PAGE_EXECUTE_READWRITE, NULL);
    LEEEEEEROY JEEEEENKINS

  5. #5
    HexMurder's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    System.Diagnostics
    Posts
    333
    Reputation
    96
    Thanks
    2,403
    Quote Originally Posted by gogogokitty View Post
    would you mind giving me an example, i havent touched c++ in a year unfortionatly lol, im only remembering what i have written before. just copied my world at war add points code and changed the address and name of window.
    Code:
     HANDLE hProcess = 0; 
    			HWND hWindow;
    			DWORD address = 0x1476D346C;
    			int value = 0;
    			DWORD pid = 0;
    			hWindow = FindWindow(NULL, L"Call of Duty® - ship - gokitty199");
    
    			if (hWindow) {
    			GetWindowThreadProcessId(hWindow, &pid);
    			}
    			hProcess = OpenProcess(PROCESS_VM_READ | PROCESS_VM_WRITE | PROCESS_VM_OPERATION | PROCESS_QUERY_INFORMATION, 0, pid);
    			ReadProcessMemory(hProcess,(LPVOID)address,&value,sizeof(value),NULL);
    			value += 15000;
    			WriteProcessMemory(hProcess,(LPVOID)address,&value,sizeof(value),NULL);
    			VirtualProtectEx(hProcess, (LPVOID)address, 256, PAGE_EXECUTE_READWRITE, NULL);

    http://www.mpgh.net/forum/showthread.php?t=63802

Similar Threads

  1. [Solved] i need help in black ops 2
    By IchPengDuTot in forum Call of Duty Black Ops 2 Help
    Replies: 3
    Last Post: 03-03-2014, 12:02 PM
  2. [Solved] I need help with Black Ops 2
    By BiggButtPlugg in forum Call of Duty Black Ops 2 Help
    Replies: 1
    Last Post: 01-12-2014, 02:02 AM
  3. If you need help with Black Ops 2 i will help you!
    By TGTT in forum Call of Duty Black Ops 2 Help
    Replies: 0
    Last Post: 01-07-2013, 02:36 PM
  4. [Help Request] Need help finding a Vindictus injector
    By VpChris in forum Vindictus Help
    Replies: 2
    Last Post: 05-01-2011, 10:51 PM
  5. I need help with black ops on steam PC
    By AlternativeMW2 in forum Call of Duty Black Ops Help
    Replies: 7
    Last Post: 11-13-2010, 06:12 PM