Results 1 to 1 of 1
  1. #1
    Jorndel's Avatar
    Join Date
    Jul 2010
    My Mood

    Post Address Value Changer. (Like Cookies)

    Well, won't do much.
    Basically the same as for cookies dll.

    (PS: Would be nice with a comment. Ask if you want snippets.)
    (Work Progress: ETC = Easy Tool Creator. An easy DLL file that contains useful functions. 70% Done)

    Source: (No, I did NOT write this. I just changed some values.)
    public class Hack
            private enum ProcessAccessType
                PROCESS_TERMINATE = (0x0001),
                PROCESS_CREATE_THREAD = (0x0002),
                PROCESS_SET_SESSIONID = (0x0004),
                PROCESS_VM_OPERATION = (0x0008),
                PROCESS_VM_READ = (0x0010),
                PROCESS_VM_WRITE = (0x0020),
                PROCESS_DUP_HANDLE = (0x0040),
                PROCESS_CREATE_PROCESS = (0x0080),
                PROCESS_SET_QUOTA = (0x0100),
                PROCESS_SET_INFORMATION = (0x0200),
                PROCESS_QUERY_INFORMATION = (0x0400)
            private static extern IntPtr OpenProcess(UInt32 dwDesiredAccess, Int32 bInheritHandle, UInt32 dwProcessId);
            private static extern Int32 CloseHandle(IntPtr hObject);
            private static extern Int32 ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, [In, Out] byte[] buffer, UInt32 size, out IntPtr lpNumberOfBytesRead);
            private static extern Int32 WriteProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, [In, Out] byte[] buffer, UInt32 size, out IntPtr lpNumberOfBytesWritten);
    public Hack(string Application)
        Process[] pArray = Process.GetProcessesByName(Application);
        if (pArray.Length == 0){ return;}
        ReadProcess = pArray[0];
    public void Set(int Address, int Value)
        int byteswritten;
        Write((IntPtr)Address, BitConverter.GetBytes(Value), out byteswritten);  
    private Process ReadProcess
    return m_ReadProcess;
    m_ReadProcess = value;
    private Process m_ReadProcess = null;
    private IntPtr m_hProcess = IntPtr.Zero;
    private void Open()
    ProcessAccessType access;
    access = ProcessAccessType.PROCESS_VM_READ
    | ProcessAccessType.PROCESS_VM_WRITE
    | ProcessAccessType.PROCESS_VM_OPERATION;
    m_hProcess = OpenProcess((uint)access, 1, (uint)m_ReadProcess.Id);
    private void CloseHandle()
    int iRetValue;
    iRetValue = CloseHandle(m_hProcess);
    if (iRetValue == 0)
    throw new Exception("CloseHandle failed");
    private void Write(IntPtr MemoryAddress, byte[] bytesToWrite, out int bytesWritten)
    IntPtr ptrBytesWritten;
    WriteProcessMemory(m_hProcess, MemoryAddress, bytesToWrite, (uint)bytesToWrite.Length, out ptrBytesWritten);
    bytesWritten = ptrBytesWritten.ToInt32();

    Do it in a DLL project. OR, change it for your purpose. (Need some removing and editing.)
    (If you have used Cookies DLL, then you understand how to use this in a WinForm Project.)

    Good Luck guys, just ask if anything needed.

    Code Lang = C#
    Last edited by Jorndel; 11-23-2011 at 01:08 PM.

  2. The Following User Says Thank You to Jorndel For This Useful Post:

    [MPGH]Silent (06-17-2015)

Similar Threads

  1. [Release] Address Value Editor
    By CoderNever in forum Combat Arms Hacks & Cheats
    Replies: 11
    Last Post: 10-19-2009, 11:45 PM
  2. [HELP!!!] address values???
    By nukeist_ in forum WarRock - International Hacks
    Replies: 7
    Last Post: 11-16-2007, 09:29 AM
  3. [HELP] Address value
    By Koekenbakker in forum WarRock - International Hacks
    Replies: 11
    Last Post: 11-14-2007, 01:24 PM
  4. ADDRESS & VALUE LISTS(put here)
    By jokuvaan11 in forum WarRock - International Hacks
    Replies: 6
    Last Post: 06-09-2007, 05:22 PM
  5. address value pls?
    By jkmacnak in forum WarRock - International Hacks
    Replies: 2
    Last Post: 06-03-2007, 10:17 AM