Results 1 to 4 of 4
  1. #1
    gogogokitty's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    1,090
    Reputation
    113
    Thanks
    3,503

    why wont it find my CoDWaW window?

    ive used this for the dead linger, contagion and a few others and have had no issues with it but when i set it for world at war zombies it cant find the window, ive had the same issue as it wont find the multiplayer part either
    Code:
    #include "stdafx.h"
    #include <iostream>
    #include <Windows.h>
    #pragma comment(lib, "user32.lib")
    
    using namespace std;
    
    
    int _tmain(int argc, _TCHAR* argv[])
    {
    
    	cout << "gogogokitty199's contagion ammo modifier\n";
    	cout << " \n";
    
    	HWND hWnd = FindWindow(0, L"CoDWaW");
    	if (hWnd == 0){
    		cout << "could not find World at War.exe . Please verify that your game is running!\n";
    	}
    	else {
    		cout << "Found World at War \n";
    
    		DWORD proc_id;
    		GetWindowThreadProcessId(hWnd, &proc_id);
    
    		HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, proc_id);
    		if (!hProc) {
    			cout << "error could not find the process \n";
    		}
    		else {
    			cout << "Opened World at War \n";
    			
    			DWORD Pointer = 0x19BB3244;
    			DWORD Pointed;
    			WORD Offset = 0x13D0;
    			int CurrentAmmo = 0;
    			int newValue;
    
    			ReadProcessMemory(hProc, (LPCVOID)(Pointer), &Pointed, 4, NULL);
    			ReadProcessMemory(hProc, (LPCVOID)(Pointer + Offset), &CurrentAmmo, 4, NULL);
    
    			cout << "Enter your desired amount of points: ";
    			cin >> newValue;
    
    			int Success = WriteProcessMemory(hProc, (LPVOID)(Pointed + Offset), &newValue, (DWORD) sizeof(newValue), NULL);
    			while (1)
    			if (Success > 0){
    
    				ReadProcessMemory(hProc, (LPCVOID)(Pointer), &Pointed, 4, NULL);
    				ReadProcessMemory(hProc, (LPCVOID)(Pointer + Offset), &CurrentAmmo, 4, NULL);
    				cout << "your ammo has been loaded into your mag \n";
    
    				cin.get();
    				cout << "Press Enter to close! \n";
    			}
    			else{
    				cout << "Error could not write to process memory \n";
    				cout << "Press Enter to close!";
    				cin.get();
    				
    			}
    		}
    	}
    		cin.get();
    		return 0;
    }

  2. #2
    HexMurder's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    System.Diagnostics
    Posts
    344
    Reputation
    96
    Thanks
    3,170
    try to have is search for the process CoDWaW.exe instead of getting the window name.

  3. #3
    gogogokitty's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    1,090
    Reputation
    113
    Thanks
    3,503
    Quote Originally Posted by Legit_Godmode View Post
    try to have is search for the process CoDWaW.exe instead of getting the window name.
    i forgot to edit my post. i was able to find it, i forgot the circle with the R in the middle of it at the end lol

  4. #4
    Horror's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    51,4.
    Posts
    6,920
    Reputation
    574
    Thanks
    5,050
    My Mood
    Twisted
    So this is solved
     

    Minion+ : February 2014 - January 2015
    Counter Strike: Global Offensive Minion : November 2014 - January 2015
    Alliance of Valiant Arms Minion : August 2014 - January 2015
    Need For Speed World Minion : January 2014 - January 2015
    Rust Minion : January 2014 - January 2015
    Call of Duty Minion : January 2013 - January 2015
    Editor : December 2012 - April 2013
    Donator : March 2014 - Current
    Member : October 2010 - Current

    Previously known as "Isaakske".

Similar Threads

  1. WHy wont this hack work and im Window 7 64 bit
    By Darkstar241 in forum CrossFire Discussions
    Replies: 8
    Last Post: 06-25-2012, 03:14 PM
  2. why wont my messenger work
    By loldilol in forum Combat Arms Hacks & Cheats
    Replies: 15
    Last Post: 12-09-2008, 12:09 AM
  3. Why wont people release a UCE?
    By ploxide in forum Combat Arms Hacks & Cheats
    Replies: 39
    Last Post: 07-31-2008, 08:52 PM
  4. why wont my warrock update??
    By prox32 in forum WarRock - International Hacks
    Replies: 10
    Last Post: 07-21-2007, 05:38 AM
  5. why wont some of the KWR hacks work?
    By omgwtfbbqpwn2 in forum WarRock Korea Hacks
    Replies: 2
    Last Post: 05-19-2007, 06:01 PM