Been trying to do this on my own for a few days now, as I hate having to ask for help.
I narrowed down some pointers for the players(you) current health. (down to 252,913...but they always seem to be right... does it need to be down to just 1?)
Anywho, In my coding, I have:
Code:
using Magic;
namespace RiftBot_CSharp
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
BlackMagic rift = new BlackMagic();
rift.OpenProcessAndThread(SProcess.GetProcessFromProcessName("RIFT")); //Getting the process
listBox1.Items.Add("Rift is now hooked!");
IntPtr baserift = rift.MainModule.BaseAddress; //Gets base address
listBox1.Items.Add("Gathering character information...");
byte playerhealth = rift.ReadByte((uint)baserift + 0xDD3D54);
listBox1.Items.Add("Player Current Health Health: " + Convert.ToString(playerhealth));
Now, In CE, its 4 Bytes. The Offset appears as "rift.exe"+00DD3D54
So, am i doing it wrong with the baserift + offset?
Any help would be of GREAT help. Thank you.