elite tool_SRC

Posts 1–3 of 3 · Page 1 of 1
elite tool_SRC
use the C# compiler- to fnd new Offset... Depend HxD and Cheat Engine

Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Diagnostics;

namespace Elite_Tool__Source_Code_mpgh_Members
{
    public partial class Form1 : Form
    {



        private static int ProcessID = -1;
        private static IntPtr ProcessHandle = IntPtr.Zero;

        public Form1()
        {
            InitializeComponent();



        }


        [DllImport("kernel32.dll", EntryPoint = "WriteProcessMemory")]
        private static extern bool WriteProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, byte[] lpBuffer, uint nSize, [Out] int lpNumberOfBytesWritten);


        [DllImport("kernel32.dll", EntryPoint = "ReadProcessMemory")]
        private static extern bool ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, [Out] byte[] lpBuffer, int dwSize, [Out] int lpNumberOfBytesRead);

        [DllImport("kernel32.dll", EntryPoint = "OpenProcess")]
        private static extern IntPtr OpenProcess(uint dwDesiredAccess, bool bInheritHandle, int dwProcessId);

        private void Form1_Load(object sender, EventArgs e)
        {
            timer1.Start();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            System.Diagnostics.Process[] myprocesses = System.Diagnostics.Process.GetProcessesByName("iw5m.dat");
            if (myprocesses.Length != 0)
            {
                label5.Text = "Mw3 Found!";
                label5.ForeColor = Color.Black;

                Process[] processes = Process.GetProcessesByName("iw5m.dat");
                ProcessID = processes[0].Id;
                ProcessHandle = OpenProcess(0x001F0FFF, false, ProcessID);
            }
        }



        private void button1_Click(object sender, EventArgs e)
        {

            byte[] nop33 = { 0xc3 };
            byte[] Buffer = new ASCIIEncoding().GetBytes(textBox1.Text);   //                                      
            WriteProcessMemory(ProcessHandle, (IntPtr)0x004A578C, Buffer, 24, 0);
            WriteProcessMemory(ProcessHandle, (IntPtr)0x004A5788, nop33, 24, 0);
            WriteProcessMemory(ProcessHandle, (IntPtr)0x05A7B1B4, Buffer, 24, 0);

            System.Console.Beep();
        }

        private void label4_Click(object sender, EventArgs e)
        {

        }

        private void button2_Click(object sender, EventArgs e)
        {

            byte[] Buffer = new ASCIIEncoding().GetBytes(textBox1.Text);


            WriteProcessMemory(ProcessHandle, (IntPtr)0x1328D54, Buffer, 24/*Through*/, 0);
            WriteProcessMemory(ProcessHandle, (IntPtr)0x1328D33, Buffer, 24/*Activates Clantag */, 0);
            System.Console.Beep();
        }

        private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
        {

        }

        private void button3_Click(object sender, EventArgs e)
        {
            byte[] nop33 = { 0xc3 };
            byte[] Buffer = new ASCIIEncoding().GetBytes(textBox1.Text);

            WriteProcessMemory(ProcessHandle, (IntPtr)0x1328D34, nop33, 24, 0);
            WriteProcessMemory(ProcessHandle, (IntPtr)0x1328D35, Buffer, 24, 0);
            System.Console.Beep();

        }

        private void button4_Click(object sender, EventArgs e)
        {
            byte[] Buffer = new ASCIIEncoding().GetBytes(textBox1.Text);


            WriteProcessMemory(ProcessHandle, (IntPtr)0x01CDBA54, Buffer, 24, 0);
            System.Console.Beep();
        }

        private void label5_Click(object sender, EventArgs e)
        {

        }

        private void label6_Click(object sender, EventArgs e)
        {

        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {

        }
    }
}
Credits:
====
Kenshin13
Papil
Jorndel
Ohh, point find this! THX

Not works... (

build error!!!
Quote Originally Posted by AndreBakker001 View Post
Ohh, point find this! THX

Not works... (

build error!!!
Tell us what errors you have.
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us