Question about CTM or general memory reading menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Haugli92's Avatar Member
    Reputation
    4
    Join Date
    Feb 2008
    Posts
    32
    Thanks G/R
    4/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question about CTM or general memory reading

    Hi!

    First of all, lets point out that im a pretty new to memory edition.

    My task is to find out CTM baseaddress and offsets to X,Y,Z and actiontype in Wow.exe (1.12.1)

    After hours of search with Cheat Engine I found this:

    CTM_Actiontype = Wow.exe + 0x0020FDDC + 0x1C
    CTM_X = 0x00C4D890
    CTM_Y = 0x00C4D894
    CTM_Z = 0x00C4D898

    Old threads says CTM_X usally is CTM_Base + 0x8C and CTM_Y is CTM_X + 4 and so on with CTM_Z.
    And I can see there is some connection between addresses that i found and this calculation.

    But, my question is then. How can I find the correct CTM_Base so I can call:

    CTM_Base = Wow.exe + ???
    CTM_Actiontype = CTM + ? (Might still be 0xC1)
    CTM_X = CTM_Base + ???
    CTM_Y = CTM_X + ? (Might still be 0x4)
    CTM_Z = CTM_X + ? (Might still be 0x

    ..............

    Just to clearify. Addresses above work when I write too them, but I would like to have a base address and add the offsets instead of multiple static addreses.

    I appreciate any answers that will help me further.

    Thanks,
    Haugli92

    Question about CTM or general memory reading
  2. #2
    Corthezz's Avatar Elite User Authenticator enabled
    Reputation
    386
    Join Date
    Nov 2011
    Posts
    325
    Thanks G/R
    183/98
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ctm is used in this bot: / [Bot] 1.12.1 WoW Bot Source Code
    [WoW] 1.12.1.5875 Info Dump Thread has ctm offsets posted.

    but I would like to have a base address and add the offsets instead of multiple static addreses.
    If the address is static the way to retrieve it is obviously also static. Since there is no ASLR in 1.12.1 the baseaddress is always 0x400000.
    0xC4D890 - 0x400000 = 0x84D890

    So WoW.exe + 0x84D890 is CTM_X which is stil static all the way. I dont get your question tbh.
    Check my blog: https://zzuks.blogspot.com

  3. Thanks Haugli92 (1 members gave Thanks to Corthezz for this useful post)
  4. #3
    squiggy's Avatar Active Member
    Reputation
    66
    Join Date
    Aug 2007
    Posts
    45
    Thanks G/R
    40/23
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    im fairly new to this myself and havent worked on vanilla so i might have gotten something wrong here but I took a quick look at the wow.exe binary for you.

    wow.exe
    + 0x0020FDDC looks like its the operand part of an instruction which zeroes data in the struct. you can read directly from 0xC4D86C instead, whether its the base of the struct or not i cant tell, i doubt it though.

    you could calculate offsets from that address though so ctm actiontype would be: 0xC4D86C + 0x1C

    thus:

    CTM_X = 0xC4D86C + 0x24. (0x00C4D890 - 0xC4D86C = 0x24)
    CTM_Y = CTM_X + 4
    CTM_Z = CTM_X + 8

    You can rebase the addresses to zero by subtracting the wow.exe imagebase(?) (its 0x400000) from your address. ex 0xC4D86C - 0x400000 = 0x84D86C (wow.exe + 0x84d86C = 0xC4D86C) . This is not needed on vanilla though.

    Sry if this got messy, its 2am here and im beat, hope it helped though.
    Last edited by squiggy; 02-04-2017 at 08:10 PM.

  5. Thanks Corthezz, Haugli92 (2 members gave Thanks to squiggy for this useful post)
  6. #4
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1511
    Join Date
    May 2008
    Posts
    2,432
    Thanks G/R
    81/333
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Just FYI, there is no such thing as "CTM_Base". See here: what wrong with my ClickToMove code?

  7. Thanks Haugli92 (1 members gave Thanks to Jadd for this useful post)
  8. #5
    Haugli92's Avatar Member
    Reputation
    4
    Join Date
    Feb 2008
    Posts
    32
    Thanks G/R
    4/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Corthezz View Post
    If the address is static the way to retrieve it is obviously also static.
    You're absolutely right. In som messed why i was obsessed that any 0x00000000 + 0x000 was base + offset.

    Originally Posted by squiggy View Post

    CTM_X = 0xC4D86C + 0x24. (0x00C4D890 - 0xC4D86C = 0x24)
    CTM_Y = CTM_X + 4
    CTM_Z = CTM_X + 8
    This is what i was looking for, but when i got it explained as above its not necessary. Thanks anyway

    Originally Posted by Jadd View Post
    Just FYI, there is no such thing as "CTM_Base". See here: what wrong with my ClickToMove code?
    Thanks for point it out. This "base"-thing messing me really up. Like reading static addresses is not enough

    __________________

    + rep to you all

Similar Threads

  1. General memory reading questions
    By r00t in forum WoW Memory Editing
    Replies: 13
    Last Post: 11-15-2012, 08:10 AM
  2. Just some questions about bots in general
    By msco in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 10-06-2012, 01:48 PM
  3. About cheat engine and memory read
    By ziknos in forum Diablo 3 Memory Editing
    Replies: 2
    Last Post: 06-02-2012, 06:38 AM
  4. [Question] Select a Target With Memory Reading
    By fukmeimbroken in forum WoW Memory Editing
    Replies: 15
    Last Post: 03-31-2010, 04:56 AM
  5. [Newbie] Dumb question about Server in General
    By Rubberduck101 in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 08-10-2009, 03:33 AM
All times are GMT -5. The time now is 04:17 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