Thread: Name Faker

Results 1 to 15 of 15
  1. #1
    [NooB] Mentor's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Erevan
    Posts
    72
    Reputation
    10
    Thanks
    451
    My Mood
    Busy

    Exclamation Name Faker

    Hi guys need help . I wanna make name faker . i done all in Jorndels tutorials about name faker .


    Code:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Diagnostics;
    using System.Drawing;
    using System.Linq;
    using System.Runtime.InteropServices;
    using System.Text;
    using System.Windows.Forms;
    
    namespace faker
    {
        public partial class Form1 : Form
        {
            public Form1()
            {
                InitializeComponent();
            }
            class NameFaker
            {
                [DllImport("kernel32.dll")]
                private static extern IntPtr OpenProcess(UInt32 dwDesiredAccess, bool bInheritHandle, int dwProcessId);
                [DllImport("kernel32.dll")]
                private static extern Int32 ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, [In, Out] byte[] buffer, UInt32 size, out IntPtr lpNumberOfBytesRead);
                [DllImport("kernel32.dll")]
                private static extern Int32 WriteProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, [In, Out] byte[] buffer, UInt32 size, out IntPtr lpNumberOfBytesWritten);
                public void WriteString(int Address, string Text)
                {
                    byte[] Buffer = new ASCIIEncoding().GetBytes(Text);
                    IntPtr Zero = IntPtr.Zero;
                    Convert.ToByte(10);
                    WriteProcessMemory(Open_Memory(), (IntPtr)Address, Buffer, (UInt32)25, out Zero);
                }
                private uint ReadInt(uint Addr)
                {
                    byte[] buffer = new byte[4];
                    IntPtr R;
                    ReadProcessMemory(Open_Memory(), (IntPtr)Addr, buffer, 4, out R);
                    return BitConverter.ToUInt32(buffer, 0);
                }
                private IntPtr Open_Memory()
                {
                    if (Process.GetProcessesByName("iw5mp").Length != 0)
                    {
                        return OpenProcess(0x1F0FFF, true, Process.GetProcessesByName("iw5mp")[0].Id);
                    }
                    else return (IntPtr)0x0;
                }
                private uint BaseAddress(string Module_Name)
                {
                    if (Process.GetProcessesByName("iw5mp").Length != 0)
                    {
                        foreach (ProcessModule Mod in Process.GetProcessesByName("iw5mp")[0].Modules)
                        {
                            if (Mod.ModuleName == Module_Name)
                                return (uint)Mod.BaseAddress.ToInt32();
                        }
                        return 0;
                    }
                    else return 0;
                }
                public NameFaker(string Name)
                {
                    uint Base = BaseAddress("steam_api.dll") + 0x0001824C;
                    uint Runner = ReadInt(Base) + 0x8;
                    Runner = ReadInt(Runner) + 0x10;
                    Runner = ReadInt(Runner) + 0x56;
                    WriteString((int)Runner, Name);
                }
            }

    and this

    Code:
     private void button1_Click(object sender, EventArgs e)
            {
                NameFaker Fake = new NameFaker(textBox1.Text);
            }
    if its corect . then help me with Pointers

  2. #2
    gteuk's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    247
    Reputation
    15
    Thanks
    613
    Try this one, Jorndel give me this pointer some time ago which is in my in my repository but should still work

    Code:
    public NameFaker(string Name)
    {
        uint Base = BaseAddress("steam_api.dll") + 0x0001824C;
        uint Runner = ReadInt(Base) + 0x8;
        Runner = ReadInt(Runner) + 0x50;
        Runner = ReadInt(Runner) + 0x56;
         WriteString((int)Runner, Name);
    }
    Credits @Jorndel

  3. #3
    ariffin1201's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    White House
    Posts
    606
    Reputation
    10
    Thanks
    31
    I think yours is correct

  4. #4
    gteuk's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    247
    Reputation
    15
    Thanks
    613
    For name spamming you can do something like this

    Code:
     Timer timer1 = new Timer();
            private void button1_Click(object sender, EventArgs e)
            {
               
               
                timer1.Tick += new EventHandler(timer1_Tick);
                if (timer1.Enabled == true)
                {
                    timer1.Enabled = false;
                    NameFaker Fake = new NameFaker(textBox7.Text);
                    button1.Text = "start Spam";
                }
                else
                {
                    timer1.Enabled = true;
                    button1.Text = "Stop Spam";
                }
    
            }
    Textbox7 being the fake name you want to stick with

    you would aslo need to set up the timer events

    Code:
     public void timer1_Tick(object sender, EventArgs e)
        {
    
      timer1.Interval = 1000 // for every 1 second
    
    //your stuff goes here 
    
    }
    To suite your requirements

  5. The Following User Says Thank You to gteuk For This Useful Post:

    [NooB] Mentor (10-27-2012)

  6. #5
    [NooB] Mentor's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Erevan
    Posts
    72
    Reputation
    10
    Thanks
    451
    My Mood
    Busy
    Thanks bro . i will check it

  7. #6
    gteuk's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    247
    Reputation
    15
    Thanks
    613
    Do i assume you got it working ?

  8. #7
    [NooB] Mentor's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Erevan
    Posts
    72
    Reputation
    10
    Thanks
    451
    My Mood
    Busy
    Quote Originally Posted by gteuk View Post
    Do i assume you got it working ?
    no ofc . im not think that your code is corect .

  9. #8
          ( ° ͜ʖ͡°)╭∩╮
    Former Staff
    MarkHC's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    127.0.0.1
    Posts
    2,751
    Reputation
    66
    Thanks
    14,309
    My Mood
    Angelic
    Quote Originally Posted by [NooB] Mentor View Post
    no ofc . im not think that your code is corect .
    His code is right... Just find others pointers to use.


    CoD Minion from 09/19/2012 to 01/10/2013

  10. #9
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,539
    My Mood
    Angelic
    Quote Originally Posted by [NooB] Mentor View Post
    no ofc . im not think that your code is corect .
    I don't think he ment the code.
    But the pointers.

    Try scan for new once, and do some re-scans.
    Then you should have some good pointers :-)

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  11. #10
    [NooB] Mentor's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Erevan
    Posts
    72
    Reputation
    10
    Thanks
    451
    My Mood
    Busy
    Quote Originally Posted by Jorndel View Post


    I don't think he ment the code.
    But the pointers.

    Try scan for new once, and do some re-scans.
    Then you should have some good pointers :-)
    ok . but im scan it many times and pointers not works .

  12. #11
    gteuk's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    247
    Reputation
    15
    Thanks
    613
    Make sure the pointers you choose have steam_api in it and no other,

    Be sure to work from the bottom to the top if using cheat engine i.e

    public NameFaker(string Name)
    {
    uint Base = BaseAddress("steam_api.dll") + 0x0001824C;
    uint Runner = ReadInt(Base) + 0x8;
    Runner = ReadInt(Runner) + 0x50;
    Runner = ReadInt(Runner) + 0x56;
    WriteString((int)Runner, Name);
    }

    in cheat engine will show
    offset 0x56
    offset 0x50
    offset 0x8
    steam_api.dll + 0x0001824C

    Hope you understand what I mean

  13. #12
    [NooB] Mentor's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Erevan
    Posts
    72
    Reputation
    10
    Thanks
    451
    My Mood
    Busy
    Quote Originally Posted by gteuk View Post
    Make sure the pointers you choose have steam_api in it and no other,

    Be sure to work from the bottom to the top if using cheat engine i.e

    public NameFaker(string Name)
    {
    uint Base = BaseAddress("steam_api.dll") + 0x0001824C;
    uint Runner = ReadInt(Base) + 0x8;
    Runner = ReadInt(Runner) + 0x50;
    Runner = ReadInt(Runner) + 0x56;
    WriteString((int)Runner, Name);
    }

    in cheat engine will show
    offset 0x56
    offset 0x50
    offset 0x8
    steam_api.dll + 0x0001824C

    Hope you understand what I mean
    i know how set pointers . just someone give me working code . pls

  14. #13
          ( ° ͜ʖ͡°)╭∩╮
    Former Staff
    MarkHC's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    127.0.0.1
    Posts
    2,751
    Reputation
    66
    Thanks
    14,309
    My Mood
    Angelic
    Quote Originally Posted by [NooB] Mentor View Post
    i know how set pointers . just someone give me working code . pls
    What's the point of giving a working code? If I was to give you code, then I'll make a name faker myself. Besides, he already gave you the code, you fail to make it work tho.

    Off-Topic: 7K Thanks
    Last edited by MarkHC; 10-28-2012 at 07:08 PM.


    CoD Minion from 09/19/2012 to 01/10/2013

  15. The Following User Says Thank You to MarkHC For This Useful Post:

    gteuk (10-28-2012)

  16. #14
    gteuk's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    247
    Reputation
    15
    Thanks
    613
    Jornels code offered was simple copy and past you have it there, you have copied and you have pasted exactly as I did in my first name faker, I have then expanded on that however this as easy as it gets, you have all the ingredients handed to you on a platter.

    here is jorndels code from start to finish if it still fails then I do not know

    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 WindowsFormsApplication3
    {
        
        public partial class Form1 : Form
        {
            public Form1()
            {
                InitializeComponent();
            }
            class NameFaker
            {
                [DllImport("kernel32.dll")]
                private static extern IntPtr OpenProcess(UInt32 dwDesiredAccess, bool bInheritHandle, int dwProcessId);
                [DllImport("kernel32.dll")]
                private static extern Int32 ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, [In, Out] byte[] buffer, UInt32 size, out IntPtr lpNumberOfBytesRead);
                [DllImport("kernel32.dll")]
                private static extern Int32 WriteProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, [In, Out] byte[] buffer, UInt32 size, out IntPtr lpNumberOfBytesWritten);
                public void WriteString(int Address, string Text)
                {
                    byte[] Buffer = new ASCIIEncoding().GetBytes(Text);
                    IntPtr Zero = IntPtr.Zero;
                    Convert.ToByte(10);
                    WriteProcessMemory(Open_Memory(), (IntPtr)Address, Buffer, (UInt32)25, out Zero);
                }
                private uint ReadInt(uint Addr)
                {
                    byte[] buffer = new byte[4];
                    IntPtr R;
                    ReadProcessMemory(Open_Memory(), (IntPtr)Addr, buffer, 4, out R);
                    return BitConverter.ToUInt32(buffer, 0);
                }
                private IntPtr Open_Memory()
                {
                    if (Process.GetProcessesByName("iw5mp").Length != 0)
                    {
                        return OpenProcess(0x1F0FFF, true, Process.GetProcessesByName("iw5mp")[0].Id);
                    }
                    else return (IntPtr)0x0;
                }
                private uint BaseAddress(string Module_Name)
                {
                    if (Process.GetProcessesByName("iw5mp").Length != 0)
                    {
                        foreach (ProcessModule Mod in Process.GetProcessesByName("iw5mp")[0].Modules)
                        {
                            if (Mod.ModuleName == Module_Name)
                                return (uint)Mod.BaseAddress.ToInt32();
                        }
                        return 0;
                    }
                    else return 0;
                }
                
    
               public NameFaker(string Name)
    {
    uint Base = BaseAddress("steam_api.dll") + 0x0001824C;
    uint Runner = ReadInt(Base) + 0x8;
    Runner = ReadInt(Runner) + 0x50;
    Runner = ReadInt(Runner) + 0x56;
    WriteString((int)Runner, Name);
    
    
                }
                   
          }
            public void button1_Click(object sender, EventArgs e)
            
            {
                
                NameFaker fake = new NameFaker(textBox1.Text);
            }
            
            
           
            private void Form1_Load(object sender, EventArgs e)
            {
    
            }
    
          
    
                }
    }


    ---------- Post added at 06:05 PM ---------- Previous post was at 06:02 PM ----------

    When you have worked this out I and others may give you the addons, you will need to sort the namespace out though

    ---------- Post added at 06:09 PM ---------- Previous post was at 06:05 PM ----------

    I have just tested the above code and it still works

  17. #15
    [NooB] Mentor's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Erevan
    Posts
    72
    Reputation
    10
    Thanks
    451
    My Mood
    Busy
    All done . Im find some pointers and all works .thx . But i have one big problem . Jorndels name faker created in c# . (i need vb)can i just translate it ?

Similar Threads

  1. [Patched] MPGH Name Faker v4.0 [Updated]
    By Jorndel in forum Call of Duty - Modern Warfare 3 (MW3) Hacks & Cheats
    Replies: 53
    Last Post: 05-31-2012, 02:05 PM
  2. [Help Request] MPGH Name Faker V2
    By forest lee in forum Call of Duty Modern Warfare 3 Help
    Replies: 3
    Last Post: 04-27-2012, 05:05 PM
  3. [Patched] MPGH Name Faker v4.0
    By Jorndel in forum Call of Duty - Modern Warfare 3 (MW3) Hacks & Cheats
    Replies: 25
    Last Post: 04-17-2012, 09:16 PM
  4. [Patched] MPGH Name Faker V2
    By Coridus in forum Call of Duty - Modern Warfare 3 (MW3) Hacks & Cheats
    Replies: 20
    Last Post: 04-01-2012, 01:38 PM
  5. [Patched] MPGH Name Faker
    By Jorndel in forum Call of Duty - Modern Warfare 3 (MW3) Hacks & Cheats
    Replies: 38
    Last Post: 03-16-2012, 11:41 AM