Need help reading character's X coordinate into AutoIt. Help much appreciated. menu

User Tag List

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

    Need help reading character's X coordinate into AutoIt. Help much appreciated.

    I have work diligently for hours now to try to resolve this. I apologize if my error is amateur. I have searched these and many other forums for hours now and I am unable to understand why this is not working.


    I am trying to get my character's X coordinate in AutoIt.
    I have correctly loaded necessary includes, and I know that the program is working correctly.

    As a test, I found a static address with CE that contains my character's X coordinate.


    Code:
    $x = _MemoryRead("0x0F03A4E0", $wow, "double")
    ConsoleWrite("Player X as double: " & $x & @CRLF)
    The above code correctly outputs my character's X coordinate.


    Code:
    $base = _MemoryRead("0x" & hex("0x00CF8C50"), $wow, "dword")
    $base_2 = _MemoryRead("0x" & hex($base + "0x34"), $wow, "dword")
    $base_3 = _MemoryRead("0x" & hex($base_2 + "0x24"), $wow, "dword")
    
    $x = _MemoryRead("0x" & hex($base_3 + "0x798"), $wow, "float")
    ConsoleWrite("Player X as float: " & $x & @CRLF)
    
    $x = _MemoryRead("0x" & hex($base_3 + "0x798"), $wow, "double")
    ConsoleWrite("Player X as double: " & $x & @CRLF)
    This outputs 9632.7314453125 for float, and 9.81050675578883e+024 for double.
    My character's X position is actually 0.35382091999054


    I am unable to find a solution, your help is greatly appreciated.

    Need help reading character's X coordinate into AutoIt. Help much appreciated.
  2. #2
    Kokoskewl's Avatar Private
    Reputation
    1
    Join Date
    Jan 2010
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    XPos = 0x79C
    YPos = 0x798

    I think

  3. #3
    jpbanon's Avatar Private
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for your response!

    The information I have is:
    p_Ptr = 0x00CF8C50 // as of 3.3.2
    (((p_Ptr)+0x34)+0x24)

    Offsets for 3.3.2
    0x798 X coord
    0x79C Y coord
    0x7A0 Z coord
    0x7A8 rotation

    from: http://www.mmowned.com/forums/wow-me...ml#post1812237

  4. #4
    Kokoskewl's Avatar Private
    Reputation
    1
    Join Date
    Jan 2010
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My mistake >.>

    How do you find out that that x pos is actually 0.35382091999054?

    Afaik, it should return as a float so 9632.7314453125 should be right

  5. #5
    jpbanon's Avatar Private
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know my character's actual X position through the in-game LUA command.

    0.35382091999054 is also a float.

  6. #6
    Kokoskewl's Avatar Private
    Reputation
    1
    Join Date
    Jan 2010
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, I'm pretty about this clueless but.. LuaCommand, I guess you mean GetPlayerMapPosition which returns local/zone coordinates and 9632.7314453125 is the world coords

Similar Threads

  1. LazyBot 1.7 on Molten WoW 3.3.5a not looting, help much appreciated!
    By shylora in forum WoW Bots Questions & Requests
    Replies: 1
    Last Post: 06-30-2015, 11:16 PM
  2. Immortal Bot help, much appreciated from a Wiz! Please! will rep
    By taehanpak in forum Diablo 3 Bots Questions & Requests
    Replies: 3
    Last Post: 07-14-2012, 02:05 AM
  3. Need Help, Please Read!
    By Fenarth in forum World of Warcraft General
    Replies: 5
    Last Post: 08-12-2007, 10:57 AM
  4. Need help with putting Mpqs into Data folder, not working!!!
    By Korey16 in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 12-26-2006, 12:15 PM
  5. NEED HELP: experienced players READ plz
    By Dagonarth in forum World of Warcraft General
    Replies: 4
    Last Post: 12-15-2006, 05:43 AM
All times are GMT -5. The time now is 01:01 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search