Hi,
I just want to retrieve the PlayerName from the memory, but i'm a beginer and this does not work.
If anyone can give me some help.
I use two dll files:
BlackMagic.dll (1.0.0.0)
fasmdll_managed.dll (1.0.5080.15965)
And i have this C# code on WinForm Application button event:
playername is empty.Code:private void button1_Click(object sender, EventArgs e) { BlackMagic wow = new BlackMagic(); //Create new function to open wow process wow.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("World of Warcraft")); //This Opens "World of Warcraft" window string playername = wow.ReadASCIIString(0x68C278 + 0x10, 16); //reads player name Console.WriteLine("Player Name is: " + playername); //writes to console to tell player name }
I found these values on the following page: [WoW] [7.0.3.22522] Release Info Dump Thread
0x68C278 <= Addr_PlayerName_Ptr
0x10 <= Offs_PlayerName
16 <= length so i don't think it is important
I have missed somes informations i think?
Thanks for your help, and i'm available if you have questions.