Hi, this is my first post here. I am trying to learn to read basic stuff from WoW memory, like player name and lvl. I'm using BlackMagic.dll and C#.
Code:
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Magic;
namespace Test
{
class Program
{
static void Main(string[] args)
{
BlackMagic wow = new BlackMagic(); //Create new function to open wow process
wow.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("World of Warcraft"));
uint playerbase = wow.ReadUInt(wow.ReadUInt(wow.ReadUInt(0x00C4EB48) + 0x34) + 0x24);
string playername = wow.ReadASCIIString(0x00C923F8, 12);
uint Level = wow.ReadUInt(wow.ReadUInt(playerbase + 0x8) + (0x35 * 4));
Console.WriteLine("Player Name is: " + playername);
Console.WriteLine("Player level is:" + Level);
}
}
}
The line "uint playerbase..." is causing error for me. I have done some research on here and Google, and found out that the playerbase 0x00C4EB48 is wrong (outdated?).
I also read that you can find the playerbase from scanning with like CE, but I am not sure how to do this scanning with it (I know how to scan for hp address with the value etc, but just don't know what to look for for playerbase).
Can anyone tell me how to scan/find the playerbase? Just an answer for the question is enough too, but I would prefer to know myself how to find it (as it changes).
Hopefully someone can help. Other tips which help learning are welcome too.
PS: I tried searching before I posted, but either I am blind, bad searcher or nothing helpful (basic lvl) existed.
-----
Edit: I have learned how to find some string values, like player name or account name.
For example, player name:
Code:
string playername = wow.ReadASCIIString(0x00C79D18, 12);
Console.WriteLine("Player Name is: " + playername);
I still have the problem with all uint values, like level, hp or something like that.
I also have tried to search for playerbase by following the guide here: http://www.mmowned.com/forums/world-...se-adress.html, but I can't get 2 same hex values.