Solved❗ Name Faker

Posts 1–15 of 15 · Page 1 of 1
❗ 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
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
Thanks bro . i will check it
I think yours is correct
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
Do i assume you got it working ?
Quote Originally Posted by gteuk View Post
Do i assume you got it working ?
no ofc . im not think that your code is corect .
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.
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 :-)
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 .
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
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
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
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
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 ?
Posts 1–15 of 15 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us