[QUESTION] Player x,y coords? menu

User Tag List

Page 1 of 4 1234 LastLast
Results 1 to 15 of 46
  1. #1
    Shutzler's Avatar Member
    Reputation
    3
    Join Date
    Sep 2009
    Posts
    48
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [QUESTION] Player x,y coords?

    I have said it before - im n00b .

    But im looking for player coords(x and y). Im using a memscanner to try to find it, but i get rubish each time. NOW: i know player coords are dynamically stored, but should be at the same adr for each time wow starts right?

    And now i just need help resolving player x and y that one time. My coords are now 51.6, 46.1 ingame. Ill now scan memory for "51.4 -> 51.8" values(to try find X), float. Im doing that because i think blizz only have precission set to 2 in the UI(so the number could be 51.6834832).

    2476 results in my range. I now move abit, so X is showing 46.2 and ill now do a scan to check on decreased numbers from my first search.

    327 results. Ill quickly browse thru the result for anything looking like "46.2". NOTHING. Ill do a rangescan again, on 46.1 -> 46.3 values.

    NO RESULT FOUND!

    Again: i should be able to find it, as i manage to find my HP this way. So my theory is: the coords are stored in another way, and converted to (0-100) values for the UI.

    So could someone help me on how to resolv the memory adr(correct value range of coords!!!).

    (in other words: if you had the adr to x coord, and ui was showing 54.1, what would the adr contain? (54.14234 or something like -4053??)

    Sry, i dont need someone to tell me i should not be doing it this way: i know, im noob and learning

    thanks

    [QUESTION] Player x,y coords?
  2. #2
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This sounds like you are searching for map coords like addons show you that relate to parts of the whole map and not to everything. The whole world in wow has one structure of coords and are not area dependent.

    You will never find those values you are searching for. Search for the right values next time.

  3. #3
    Shutzler's Avatar Member
    Reputation
    3
    Join Date
    Sep 2009
    Posts
    48
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Azzie2k8 View Post
    This sounds like you are searching for map coords like addons show you that relate to parts of the whole map and not to everything. The whole world in wow has one structure of coords and are not area dependent.
    Oh, so I was right about my theory that coords being something "bigger" (map independant).

    Originally Posted by Azzie2k8 View Post
    You will never find those values you are searching for. Search for the right values next time.
    YES! My point! But what are min and max values for X coord?

  4. #4
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Min and max are I dunno...Try to read the guide about an OM by JBrauman and make it work. I would never try to get player coords as statics...I assume that they are stored as an simple int so they can be negative and positive and really high. ingame I have seen them go from 20000 to -20000 but I am not sure there might be more or less...

  5. #5
    Shutzler's Avatar Member
    Reputation
    3
    Join Date
    Sep 2009
    Posts
    48
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Azzie2k8 View Post
    Min and max are I dunno...Try to read the guide about an OM by JBrauman and make it work. I would never try to get player coords as statics...I assume that they are stored as an simple int so they can be negative and positive and really high. ingame I have seen them go from 20000 to -20000 but I am not sure there might be more or less...
    I see it now. Began with searching on values not 0. moved a bit down in AV(from starting place). Did a increase test on my prev values (like 800000000 result on first search lol).

    By moving up and down, doing "has increased" or "has decreased" im able to narrow it down to about 300ish result. ALL values were big, like 1138064834 (pos or negative). It was AV tho, its maybe located waaaay off.

    My conclusion is however that i cant obtain player coords like this. 300ish results after 5-7 mins of decreased and increased testing is really tiredsome.

  6. #6
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Coords are stored as 4-byte-floats, in that order:

    Code:
    struct coords
    {
        float x;
        float y;
        float z;
        float facing;
    };
    There are static addresses for your own coords, so you could just take any bot/tool which displays your coords, search for them with Cheatengine, close WoW, enter Game again and see whats left. Thats a good point to start if you want to do it that way.

    If you want to do more advanced stuff like reading coords of loaded objects this won't help you.

  7. #7
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you're scanning for it like that, you should know how Blizzards coordinate system works.

    Code:
      +X
    +Y  -Y
      -X
    So when you move north, your X increases. South it decreases. West means that Y will increase, and East means that Y will decrease.
    Last edited by MaiN; 09-14-2009 at 09:18 AM.
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

  8. #8
    furang's Avatar Member
    Reputation
    19
    Join Date
    Jul 2009
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What's the problem?)))
    A piece of my wowdefs.h
    #define BASEADDR 0x11180A0
    #define PLAYER_X 0x80
    #define PLAYER_Y 0x84
    #define PLAYER_Z 0x88
    So your player's coords are:
    x=[BASEADDR+PLAYER_X]
    y=[BASEADDR+PLAYER_Y]
    z=[BASEADDR+PLAYER_Z]
    You could find it (and more interesting things) in sticky
    http://www.mmowned.com/forums/wow-me...mp-thread.html

  9. #9
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by furang View Post
    What's the problem?)))
    A piece of my wowdefs.h

    So your player's coords are:

    You could find it (and more interesting things) in sticky
    http://www.mmowned.com/forums/wow-me...mp-thread.html
    one small mistake...he is only reading statics and no playerbase for him...thats why I told him to make a Object Manager.

    Okay you could try to read them as statics but they really are not of much use alone...

  10. #10
    Shutzler's Avatar Member
    Reputation
    3
    Join Date
    Sep 2009
    Posts
    48
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by MaiN View Post
    If you're scanning for it like that, you should know how Blizzards coordinate system works.

    Code:
      +X
    +Y  -Y
      -X
    So when you move north, your X increases. South it decreases. West means that Y will increase, and East means that Y will decrease.
    OMG... i thought it was opposite! damn. start scanning again.

    But if there are statics for coords like flo8464, could someone share them?

  11. #11
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Took me 2 minutes doing 6 scans in total with cheatengine to get them..

    0x11384DC //Player-X

    Y is +0x4, Z is +0x8, Facing probably +0xC, didn't test.

  12. #12
    Shutzler's Avatar Member
    Reputation
    3
    Join Date
    Sep 2009
    Posts
    48
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okey, i had almost given up on finding any static coords, but i had the directions all wrong ( west is +x and not -x)

    So i was wondering if someone could test something for me: in the beer garden (dalaran), my data tells me the garden size is from

    X=736,Y=5676 in upper left corner and bottom right corner is X=728, Y=5631

    I would like to know if someone have the same data that i do (that ur in beergarden and ur X=-5643534 and Y=231235).

    Also, the memory adr i found was:
    X= 0131EC48
    Y= 0131EC44

    They are also static (or else im lucky), cuz ive restarted the game 3 times now and the adr are the same.

  13. #13
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look 1 post above, I posted it. Btw, wrong order, I already said in my first post in this thread that x->y->z are also in that order in memory.
    Last edited by flo8464; 09-15-2009 at 04:10 PM.

  14. #14
    Shutzler's Avatar Member
    Reputation
    3
    Join Date
    Sep 2009
    Posts
    48
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thx flo8464.

    But u mentioned a facing var, at +0xC... this is a float? is it a vector or degree/radian value?

  15. #15
    furang's Avatar Member
    Reputation
    19
    Join Date
    Jul 2009
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it's float. it's radian value afaik.
    6.28=360 degrees, 3.14 = 180 and so on
    you can read about it in shynd's blog.
    btw. there are two facing degrees: vertical and horizontal
    Last edited by furang; 09-16-2009 at 04:12 AM.

Page 1 of 4 1234 LastLast

Similar Threads

  1. [QUESTION] player.spell(ID).charges = X
    By Kilorar in forum PE Support forum
    Replies: 3
    Last Post: 07-30-2015, 11:53 PM
  2. [Question] Player Offset: PowerType
    By DrakeFish in forum WoW Memory Editing
    Replies: 1
    Last Post: 02-23-2010, 10:15 PM
  3. a question about reading xyz coords
    By mcuncool in forum World of Warcraft General
    Replies: 0
    Last Post: 08-11-2009, 06:28 AM
  4. [QUESTION] Player GUID
    By waymirec in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 01-23-2009, 08:46 PM
  5. [question] Players online 2 realms
    By xaverz in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 06-01-2008, 11:01 AM
All times are GMT -5. The time now is 05:06 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