CTM Location menu

User Tag List

Thread: CTM Location

Results 1 to 14 of 14
  1. #1
    Bioaim's Avatar Member
    Reputation
    5
    Join Date
    Mar 2011
    Posts
    34
    Thanks G/R
    3/3
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CTM Location

    Hi Community,

    sorry that i start a next thread with this topic, but i can't find the right way to do it

    Code:
    public static Point Location
            {
                get
                {
                    uint WoWBasePlusCTMBase = Memory.Read<uint>(Memory.BaseAddress + CTMBase);
                    Point ret = new Point();
                    ret.X = Memory.Read<float>(WoWBasePlusCTMBase + CTMX);
                    ret.Y = Memory.Read<float>(WoWBasePlusCTMBase + CTMY);
                    ret.Z = Memory.Read<float>(WoWBasePlusCTMBase + CTMZ);
                    return ret;
                }
            }
    What am i doing wrong here ?

    Offsets are :

    Code:
    CTMBase = 0x9D43D0;
            CTMX = 0x8C;
            CTMY = 0x4;
            CTMZ = 0x8;
            CTMPush = 0x1C;
    If i read the Location now, i get something like this. ( ; -> Separator of X,Y,Z )

    Code:
     -3,284089E-15;2,383203E-37;1,425325E+33
    That E confuses me ....

    CTM Location
  2. #2
    Xelper's Avatar ★ Elder ★
    Reputation
    1024
    Join Date
    Mar 2007
    Posts
    860
    Thanks G/R
    0/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe you could clarify what you are trying to do... It looks like you are trying to read a location from Click to Move? You are supposed to write the X Y and Z to CTM then set the Push value I believe. I don't know of any reason to want to read from it? Are you trying to verify the location of the previous CTM/see if it is still active?

    If you want the player's location you will need to get it from the object manager.
    Last edited by Xelper; 04-05-2012 at 06:30 PM.

  3. #3
    Bioaim's Avatar Member
    Reputation
    5
    Join Date
    Mar 2011
    Posts
    34
    Thanks G/R
    3/3
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lmao, yes i am trying to get the players location ...
    has this way changed ?! because 1 year ago it worked so for me i think... or am i fantasizing ?

    So, how can i get the location of the player exactly ?

  4. #4
    Vandra's Avatar Contributor
    Reputation
    288
    Join Date
    Mar 2008
    Posts
    471
    Thanks G/R
    26/26
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Bioaim View Post
    lmao, yes i am trying to get the players location ...
    has this way changed ?! because 1 year ago it worked so for me i think... or am i fantasizing ?

    So, how can i get the location of the player exactly ?
    You have to get player XYZ from player's base, not CTM base.
    Take a look at the info dump thread.

  5. #5
    Bioaim's Avatar Member
    Reputation
    5
    Join Date
    Mar 2011
    Posts
    34
    Thanks G/R
    3/3
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, thank u for your answears...

    I found player's base now using 0x00A6EE68 + 0x38 + 0x24 but i couldnt find X,Y,Z

  6. #6
    Empted's Avatar Contributor
    Reputation
    83
    Join Date
    Aug 2011
    Posts
    117
    Thanks G/R
    0/5
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here you go
    Code:
    uint       XPositionOffset = 0x790,
                YPositionOffset = 0x794,
                ZPositionOffset = 0x798;       
    float XPosition
            {
                get { return WowReader.ReadFloat(BaseAddress + XPositionOffset); }
            }
    float YPosition
            {
                get { return WowReader.ReadFloat(BaseAddress + YPositionOffset); }
            }
    float ZPosition
            {
                get { return WowReader.ReadFloat(BaseAddress + ZPositionOffset); }
            }
    Where BaseAddress is base of your PlayerObject ("player base" as it's called here sometimes).

  7. #7
    JuJuBoSc's Avatar Banned for scamming CoreCoins Purchaser
    Reputation
    1019
    Join Date
    May 2007
    Posts
    922
    Thanks G/R
    1/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Also in your first post you did à double memory reading which isnt correct for the ctm struct.

  8. #8
    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)
    And your CTMY and CTMZ are relative to CTMX, so you have to add them to CTMX. But nvm, this is just for the future newbies.

  9. #9
    hb123220's Avatar Sergeant
    Reputation
    8
    Join Date
    Mar 2012
    Posts
    40
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anyone know how to enable click to move without clicking the game options??
    http://www.ownedcore.com/forums/worl...ser-input.html (Auto-enable CTM Functionality without user input.)
    i've read this thread and learn how to enable ctm,but failed..
    [g_pCGinputCntrlActive]+0x4 |= 0x400000 <-- enable ctm
    g_pCGinputCntrlActive = 0x012054E4
    i search in IDA and found CGInputControl__GetActive=0x47960,then i tried [CGInputControl__GetActive]+0x4=0x400000,fail....
    anyone know the latest offset for enable ctm??? thx in advance~~

  10. #10
    Bioaim's Avatar Member
    Reputation
    5
    Join Date
    Mar 2011
    Posts
    34
    Thanks G/R
    3/3
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Guys, i cant manage to read the players location ... here is my code, please help me:

    Code:
    public static Point Location
            {
                get
                {
                    Point ret = new Point();
                    uint playerBaseOffset = Memory.Read<uint>(Memory.Read<uint>(Memory.Read<uint>(PlayerbasePointer) + Offset1 ) + Offset2 );
                    uint playerBase = Memory.Read<uint>(Memory.BaseAddress + playerBaseOffset);
                    ret.X = Memory.Read<float>(playerBase + XPositionOffset);
                    ret.Y = Memory.Read<float>(playerBase + YPositionOffset);
                    ret.Z = Memory.Read<float>(playerBase + ZPositionOffset);
                    return ret;
                }
            }

  11. #11
    l0l1dk's Avatar Elite User

    Reputation
    499
    Join Date
    Sep 2010
    Posts
    342
    Thanks G/R
    1/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Bioaim View Post
    Guys, i cant manage to read the players location ... here is my code, please help me:

    Code:
    public static Point Location
            {
                get
                {
                    Point ret = new Point();
                    uint playerBaseOffset = Memory.Read<uint>(Memory.Read<uint>(Memory.Read<uint>(PlayerbasePointer) + Offset1 ) + Offset2 );
                    uint playerBase = Memory.Read<uint>(Memory.BaseAddress + playerBaseOffset);
                    ret.X = Memory.Read<float>(playerBase + XPositionOffset);
                    ret.Y = Memory.Read<float>(playerBase + YPositionOffset);
                    ret.Z = Memory.Read<float>(playerBase + ZPositionOffset);
                    return ret;
                }
            }
    Try adding Memory.BaseAddress to PlayerbasePointer before reading from it, on line 6, since it's read from Wow.exe. playerBaseOffset should have the player base then. You shouldn't need to read again on line 7 to get it. I might be wrong about that last part, I haven't gotten the player base this way in a long time. I always just call the WoW function to get the player base.
    Last edited by l0l1dk; 04-08-2012 at 09:57 AM.

  12. #12
    Bioaim's Avatar Member
    Reputation
    5
    Join Date
    Mar 2011
    Posts
    34
    Thanks G/R
    3/3
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for your answear, here is the changed code, but not working. ..

    Code:
    public static Point Location
            {
                get
                {
                    Point ret = new Point();
                    uint playerBaseOffset = Memory.Read<uint>(Memory.BaseAddress + PlayerbasePointer);
                    uint playerBase = Memory.Read<uint>(Memory.Read<uint>(Memory.Read<uint>(playerBaseOffset) + Offset1 ) + Offset2 );
                    ret.X = Memory.Read<float>(playerBase + XPositionOffset);
                    ret.Y = Memory.Read<float>(playerBase + YPositionOffset);
                    ret.Z = Memory.Read<float>(playerBase + ZPositionOffset);
                    return ret;
                }
            }

  13. #13
    l0l1dk's Avatar Elite User

    Reputation
    499
    Join Date
    Sep 2010
    Posts
    342
    Thanks G/R
    1/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Bioaim View Post
    Thank you for your answear, here is the changed code, but not working. ..

    Code:
    public static Point Location
            {
                get
                {
                    Point ret = new Point();
                    uint playerBaseOffset = Memory.Read<uint>(Memory.BaseAddress + PlayerbasePointer);
                    uint playerBase = Memory.Read<uint>(Memory.Read<uint>(Memory.Read<uint>(playerBaseOffset) + Offset1 ) + Offset2 );
                    ret.X = Memory.Read<float>(playerBase + XPositionOffset);
                    ret.Y = Memory.Read<float>(playerBase + YPositionOffset);
                    ret.Z = Memory.Read<float>(playerBase + ZPositionOffset);
                    return ret;
                }
            }
    You shouldn't need to read from playerBaseOffset again on line 7. Try this:
    Code:
    public static Point Location
            {
                get
                {
                    Point ret = new Point();
                    uint playerBaseOffset = Memory.Read<uint>(Memory.BaseAddress + PlayerbasePointer);
                    uint playerBase = Memory.Read<uint>(Memory.Read<uint>(playerBaseOffset + Offset1 ) + Offset2 );
                    ret.X = Memory.Read<float>(playerBase + XPositionOffset);
                    ret.Y = Memory.Read<float>(playerBase + YPositionOffset);
                    ret.Z = Memory.Read<float>(playerBase + ZPositionOffset);
                    return ret;
                }
            }

  14. #14
    Bioaim's Avatar Member
    Reputation
    5
    Join Date
    Mar 2011
    Posts
    34
    Thanks G/R
    3/3
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you very very much!

Similar Threads

  1. Recipes.. and their locations
    By Matt in forum World of Warcraft Guides
    Replies: 4
    Last Post: 12-03-2006, 08:21 AM
  2. [Exploring] Best fish bottin location? (ever?)
    By chaosrevenge in forum World of Warcraft Guides
    Replies: 3
    Last Post: 06-19-2006, 11:54 AM
  3. [Guide] Botting Locations
    By chaosrevenge in forum World of Warcraft Guides
    Replies: 0
    Last Post: 06-11-2006, 01:00 PM
  4. WoWGlider and GALB Botting Locations
    By Matt in forum World of Warcraft Bots and Programs
    Replies: 14
    Last Post: 04-11-2006, 08:01 PM
  5. Best Botting/Grinding Locations
    By Matt in forum World of Warcraft Exploits
    Replies: 0
    Last Post: 02-27-2006, 12:39 AM
All times are GMT -5. The time now is 03:29 AM. 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