View previous topic :: View next topic |
Author |
Message |
Antrix How do I cheat?
Reputation: 0
Joined: 24 Oct 2016 Posts: 2
|
Posted: Mon Oct 24, 2016 9:18 am Post subject: [GTA 5] WriteProcessMemory C# Example Request |
|
|
Hi all! Can somebody write or share a WriteProcessMemory example for GTA 5? I've tried one video tutorial, but it's won't work in my case (nothing happen). Link to code:
pastebin . com / 9gpyQF2Y
This is only a code from that tutorial. If anyone can help me with it, or share a working copy example - i can pay for it. I need only example, like a "Wanted Level Hack". I have some funds, not much, but...
|
|
Back to top |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Mon Oct 24, 2016 9:41 am Post subject: |
|
|
What is the problem?
I had a c++ traner template but the site is gone. Any c++ template wll do fine though
_________________
|
|
Back to top |
|
 |
Antrix How do I cheat?
Reputation: 0
Joined: 24 Oct 2016 Posts: 2
|
Posted: Mon Oct 24, 2016 9:42 am Post subject: |
|
|
I have a working copy of c++ trainer too. But i want to make it on C#. I mean, i want to see how it works on it.
I've found another tutor. There is a ready two classes:
CheatEngine.Win32
CheatEngine.Memory
Here is the link - matejtomcik . com/Download/?n=CheatEngineCSharpHelpers
Code:
Code: |
namespace Trainer
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
Process[] processes = Process.GetProcessesByName("GTA5");
if (processes.Length > 0)
{
using (Utilities.Memory memory = new Utilities.Memory(processes[0]))
{
IntPtr address = memory.GetAddress("GTA5.exe+02399160+5d8");
memory.ReadUInt32(address);
MessageBox.Show(address.ToString());
}
}
}
}
}
|
And when i tryin' to read it there is "An unhandled exception of type 'System.AccessViolationException' occurred. Attempted to read or write protected memory".
|
|
Back to top |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Mon Oct 24, 2016 1:27 pm Post subject: |
|
|
Oh crap, i thought the title said c++.
My apologies
_________________
|
|
Back to top |
|
 |
|