Results 1 to 4 of 4
  1. #1
    Frought's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    In the dark island
    Posts
    3,403
    Reputation
    156
    Thanks
    5,980
    My Mood
    Cool

    CMD Memory Hacking - Easiest Way.

    So i use that way with learning C++ Memory Hacking I think it's the easiest way.

    So i ask experienced C++ Coders , is it good enough?
    Code:
    #include <iostream>
    #include <Windows.h>
    
    using namespace std;
    
    int main(){
    int newvalue;
    cout << "Welcome to [D]opeDog's Basic Memory Hacking" << endl;
    cout << "Enter the new value: " << endl;
    cin >> newvalue;
    HWND handle = FindWindow(0, "Alliance of Valiant Arms");
    if(handle == 0){
    cerr << "Failed to find window." << endl;
    }else{
    cout << "Found the window ." << endl;
    Sleep(5);
    cout << "Getting Process ID" << endl;
    Sleep(5);
    cout << "Opening Process" << endl;
    DWORD PID;
    GetWindowThreadProcessId(handle, &PID);
    HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, PID);
    Sleep(10);
    if(!hProc){
    cerr << "Failed to Open the Process" << endl;
    }else{
    	int WritePMemory = WriteProcessMemory(hProc, (LPVOID)0x04162870, &newvalue, (DWORD)sizeof newvalue, NULL);
    		if(WritePMemory > 0){
    		clog << "Value has been written to memory." << endl;
    		}else{
    		cerr << "Failed to write the value to memory." << endl;
    		}
    }
    }
    
    
    system("PAUSE");
    system("CLS");
    return main();
    }

  2. #2
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    /admincp/banning.php
    Posts
    20,590
    Reputation
    5180
    Thanks
    14,177
    My Mood
    Inspired
    Have you heard of indentation.
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.

     


     
    VM | PM | IM
    Staff Administrator Since 10.13.2019
    Publicist Since 04.04.2015
    Middleman Since 04.14.2014
    Global Moderator Since 08.01.2013
    Premium Since 05.29.2013

    Minion+ Since 04.18.2013

    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  3. #3
    ySoNoob's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    United States
    Posts
    622
    Reputation
    31
    Thanks
    2,250
    My Mood
    Fine
    ask ccman , jabber , meaw I think there the more experienced 1's here there are more too but idk off the top of my head!
    I would help but im not a C++ person I use Visual Basic!



  4. #4
    Frought's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    In the dark island
    Posts
    3,403
    Reputation
    156
    Thanks
    5,980
    My Mood
    Cool
    Quote Originally Posted by ySoNoob View Post
    ask ccman , jabber , meaw I think there the more experienced 1's here there are more too but idk off the top of my head!
    I would help but im not a C++ person I use Visual Basic!
    I know there's and i know the way but i mean for me as a basic memory hacking.

Similar Threads

  1. Easiest Way to bot/hack from 1-70?
    By irabhay in forum MapleStory Help
    Replies: 5
    Last Post: 09-19-2010, 02:24 AM
  2. Replies: 34
    Last Post: 03-16-2009, 09:16 AM
  3. Memory Hacking Software (MHS)
    By ElmoCA in forum Combat Arms Hacks & Cheats
    Replies: 5
    Last Post: 02-04-2009, 05:56 PM
  4. easiest way for unban hw ban.
    By mheeniac in forum WarRock - International Hacks
    Replies: 21
    Last Post: 06-04-2007, 11:04 AM