Newbie trying to get memoryreading running coded in c# with blackmagic menu

User Tag List

Results 1 to 8 of 8
  1. #1
    Ponch0's Avatar Private
    Reputation
    1
    Join Date
    Feb 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Newbie trying to get memoryreading running coded in c# with blackmagic

    Hello everyone,

    i know this is such a newbie question but i dont get it at all. I read some tuts on this forum and tried to get the first mem reading running. I tried so mutch things and nothing is really working for me. I dont wanna use AutoIT at all cause it sucks.

    I looked into the WoW][4.3.2.15211] Info Dump Thread and saw that the Playerbase must be: 0x00A6F4A0, 0x38, 0x24. I changed the code for it and got this

    Code:
            private void Form1_Load(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
                uint playerbase = wow.ReadUInt(wow.ReadUInt(wow.ReadUInt(0x00A6F4A0) + 0x38) + 0x24); //this is the player base
                string playername = wow.ReadASCIIString(0x00C923F8, 12); //reads player name
                uint Level = wow.ReadUInt(wow.ReadUInt(playerbase + 0x8) + (0x35 * 4)); // Reads players level
                label1.Text = "Player Name is: " + playername; //writes to console to tell player name
                label2.Text = "Player level is:" + Level; //writes to console to tell player level
            }
    VB allways says: ReadUInt failed and pointed the playebase line. What is wrong?

    Thanks for any help

    ponch0

    Newbie trying to get memoryreading running coded in c# with blackmagic
  2. #2
    Bananenbrot's Avatar Contributor
    Reputation
    153
    Join Date
    Nov 2009
    Posts
    384
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just the same as always. You have to consider ASLR, so add WoW's BaseAddress to your offset. If you read a recent tutorial (patch 3.3.5+), you would know.

  3. #3
    Ponch0's Avatar Private
    Reputation
    1
    Join Date
    Feb 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Bananenbrot,

    that helped me alot. Now i fixed this problem and got the next one. :-)

    Iam trying to get the X/Y/Z coordinates. Sounds simple....
    Code:
                BlackMagic wow = new BlackMagic(); //Create new function to open wow process
                wow.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("World of Warcraft")); //This Opens "World of Warcraft" window
                IntPtr baseWoW = wow.MainModule.BaseAddress;
                uint movementdata = wow.ReadUInt((uint)baseWoW + 0x100);
                float xcoord = wow.ReadFloat((uint)movementdata + 0x10);
                label3.Text = "X Coordinate is: " + xcoord;
    Same problem as above.

    VB allways says: ReadUInt failed and pointed the xcoord line. What is wrong?
    Last edited by Ponch0; 02-13-2012 at 05:10 AM.

  4. #4
    Bananenbrot's Avatar Contributor
    Reputation
    153
    Join Date
    Nov 2009
    Posts
    384
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please reread the tuts more carefully -.- obviously you shouldn't read the movement data of the player relative to wow's base, but relative to the player base address.

  5. #5
    Ponch0's Avatar Private
    Reputation
    1
    Join Date
    Feb 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Bananenbrot View Post
    Please reread the tuts more carefully -.- obviously you shouldn't read the movement data of the player relative to wow's base, but relative to the player base address.
    Okay. Understood now.

    I still dont really understand how to use the Info Dump correctly. Coords are working now perfectly.. but the MaxHealth isnt working at all..
    I dont get it after reading and reading again...

    Code:
                uint descriptorfields = wow.ReadUInt((uint)baseWoW + 0xc);
                uint maxhp = wow.ReadUInt(descriptorfields + 0x20 + 0x60 * 4);
    it displays ZERO. I tried it without the discriptor, then it shows me a very large number..

    Iam sorry for these newbie questions but.. I tried to read the tuts but having problems all the time ^^

  6. #6
    Sacred's Avatar Contributor
    Reputation
    207
    Join Date
    Dec 2007
    Posts
    152
    Thanks G/R
    3/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Descriptors also must be read relative to the player base address.

  7. #7
    Ponch0's Avatar Private
    Reputation
    1
    Join Date
    Feb 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Sacred View Post
    Descriptors also must be read relative to the player base address.
    I also tried that allready. The Problem was the "*4" I got this from old tuts and worked with them all the time. I deleted this *4 and now it works. Now i understood most of it.

    thanks and solved for now ^^

  8. #8
    _Mike's Avatar Contributor
    Reputation
    310
    Join Date
    Apr 2008
    Posts
    531
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe the OP should read http://www.ownedcore.com/forums/worl...ete-newbs.html ([Guide] How to make a Wow bot for complete newbs!) instead of just making the blanket statement that autoit sucks.
    So what if it's autoit or if the offsets are outdated? The method described is still valid and if you had actually read it you shouldn't be asking any of these questions.

Similar Threads

  1. trying to get Race to race to work with wowme
    By Cradin in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 10-05-2008, 05:49 PM
  2. thread in WoW forums, trying to get my account back
    By original~GANK~staz in forum World of Warcraft General
    Replies: 2
    Last Post: 07-05-2007, 01:00 PM
  3. Cant get my hex code working (thunderfury)
    By zhin in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 06-18-2007, 06:50 PM
All times are GMT -5. The time now is 05:42 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search