Coordinate Offset Issues menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Disorderly06's Avatar Private
    Reputation
    4
    Join Date
    Sep 2014
    Posts
    2
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Coordinate Offset Issues

    I've been lurking around here for a bit now and I seem to have stumbled on to an issue that I don't quite understand. I was hoping that my first post wouldn't be a "PLEASE HALP!" one, but here we are. I've done my best to make sense of it, but it seems there is some fundamental flaw in my understanding.

    I am iterating through an object manager and trying to pull object and player coordinates and eventually to create a map from the data, but I am having issues with the player objects.

    Code:
    MemoryReader mem = new MemoryReader();
    Process Wow = Process.GetProcessesByName("Wow")[0];
    IntPtr Handle = Wow.Handle;
    UInt64 Base = (UInt64)Wow.MainModule.BaseAddress;
    UInt32 curMgr = (UInt32)mem.ReadInt32(Convert.ToInt32(Base + 0xCB47C4), Handle);
    uint nextObj = (UInt32)mem.ReadInt32(curMgr + 0x4, Handle);
    uint curObj = (UInt32)mem.ReadInt32(curMgr + 0xC, Handle); //This is the first object
    while (curObj != 0x0 && (curObj & 1) == 0)
    {
        int ot = mem.ReadInt32(curObj + 0xC, Handle);
        if (ot == 4)
        { label1.Text +=  "Object: " + curObj.ToString("X") + "\n\r" +
              "X: " + mem.ReadFloat(curObj + 0xF8, Handle).ToString() + "\n\r" +
              "Y: " + mem.ReadFloat(curObj + 0xFC, Handle).ToString() + "\n\r" +
              "Z: " + mem.ReadFloat(curObj + 0x100, Handle).ToString() + "\n\r";
          }
        if (ot == 5)
        { label1.Text +=  "Object: " + curObj.ToString("X") + "\n\r" +
              "X: " + mem.ReadFloat(curObj + 0xF8, Handle).ToString() + "\n\r" +
              "Y: " + mem.ReadFloat(curObj + 0xFC, Handle).ToString() + "\n\r" +
              "Z: " + mem.ReadFloat(curObj + 0x100, Handle).ToString() + "\n\r";
        }
       curObj = (UInt32)mem.ReadInt32(curObj + nextObj + 0x4, Handle);
    }
    The memory reader is a custom creation, but seems to be working just fine for my current needs.

    Anyways, my issue is that GameObjects (where the object type is 5) return accurate X,Y,Z coordinates, but Players (where the object type is 4) do not. Generally X and Z are populated, but with small numbers which do not correlate to map references.

    Am I using the wrong offsets for Players?

    Coordinate Offset Issues
  2. #2
    danwins's Avatar Contributor
    Reputation
    189
    Join Date
    Mar 2013
    Posts
    143
    Thanks G/R
    6/62
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try:
    x = 0x838
    y = 0x83c
    z = 0x840
    r = 0x848

  3. #3
    Disorderly06's Avatar Private
    Reputation
    4
    Join Date
    Sep 2014
    Posts
    2
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not sure how I missed that. For anyone else who has the problem, I was using the Object offsets. I should have been using the Unit offsets for position.

    Thank you so much for your help.

  4. Thanks para_ (1 members gave Thanks to Disorderly06 for this useful post)

Similar Threads

  1. CTM Issue.. Same Coordinates / different actions?
    By hesi in forum WoW Memory Editing
    Replies: 3
    Last Post: 02-27-2012, 12:26 PM
  2. Issue pulling the offset from a pattern
    By Tanaris4 in forum WoW Memory Editing
    Replies: 7
    Last Post: 09-22-2009, 03:52 PM
  3. How do you find memory offsets in the game?
    By koalaz2004 in forum World of Warcraft General
    Replies: 0
    Last Post: 08-18-2006, 09:40 PM
  4. patching issue
    By Marlo in forum World of Warcraft General
    Replies: 0
    Last Post: 07-22-2006, 07:35 PM
  5. [Patch 1.11] - Known Issues (6-20-06)
    By Cypher in forum World of Warcraft General
    Replies: 1
    Last Post: 06-24-2006, 12:42 AM
All times are GMT -5. The time now is 05:38 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