Has there been CTM struct changes since Legion? menu

User Tag List

Results 1 to 8 of 8
  1. #1
    taladork's Avatar Member
    Reputation
    2
    Join Date
    Sep 2017
    Posts
    17
    Thanks G/R
    4/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Has there been CTM struct changes since Legion?

    I see offsets for CTM name, offset, and trigger, I'm just guessing around looking for some guidance.

    Code:
    import pymem
    
    pm = pymem.Pymem('Wow.exe')
    base = pm.process_base.lpBaseOfDll
    ctm = base + 0x26E1ED0  // 8.1 ctm pointer
    ctm_trigger = base + 0x25E5A2C  // 8.1 ctm trigger
    
    def move(x, y, z):
        pm.write_float(ctm + 0x28, x)
        pm.write_float(ctm + 0x2C, y)
        pm.write_float(ctm + 0x30, z)
        pm.write_int(ctm_trigger, 0x5)
    
    move(8000.0, 8000.0, 0.0)
    edit: I thought I had it working, but it was just the CTM trigger sending the last click
    Last edited by taladork; 12-18-2018 at 11:08 PM.

    Has there been CTM struct changes since Legion?
  2. #2
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1584
    Join Date
    May 2010
    Posts
    1,828
    Thanks G/R
    188/531
    Trade Feedback
    16 (100%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    It has been talked about multiple times, the short answer is that it's encrypted.

  3. #3
    sendeos23's Avatar Active Member

    Reputation
    16
    Join Date
    Oct 2009
    Posts
    65
    Thanks G/R
    22/10
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DarkLinux View Post
    It has been talked about multiple times, the short answer is that it's encrypted.
    Hey, looking back at some of your previous comments (from [8.0.1.27144] thread) you mention the fact you can still call ClickToMove or its wrapper.

    Is this still the case, or is it now required that this encryption be reversed / bypassed in order to use CTM.

  4. #4
    taladork's Avatar Member
    Reputation
    2
    Join Date
    Sep 2017
    Posts
    17
    Thanks G/R
    4/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by sendeos23 View Post
    Hey, looking back at some of your previous comments (from [8.0.1.27144] thread) you mention the fact you can still call ClickToMove or its wrapper.

    Is this still the case, or is it now required that this encryption be reversed / bypassed in order to use CTM.
    you can call the "push" for it, but can no longer just write the x,y,z values. For example, you can click somewhere, and then if you call the CTM trigger it will go to the last clicked position.

  5. #5
    sendeos23's Avatar Active Member

    Reputation
    16
    Join Date
    Oct 2009
    Posts
    65
    Thanks G/R
    22/10
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by taladork View Post
    you can call the "push" for it, but can no longer just write the x,y,z values. For example, you can click somewhere, and then if you call the CTM trigger it will go to the last clicked position.
    yeah I saw this working too
    I have resorted to writing my own movement system...

    So far have MoveToDestination(x,y,z) working but having issues with rotation/pitch updates as changing these on the client don't get automatically sent to the server.
    character ends up moon walking if the destination changes while moving (player faces new destination but is running in original direction).

    trying to find some info on how to use CMovement_C__UpdatePlayerMovement to send these rotation updates + what flags to use.

  6. #6
    lolp1's Avatar Site Donator CoreCoins Purchaser
    Reputation
    190
    Join Date
    Feb 2013
    Posts
    210
    Thanks G/R
    43/77
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by sendeos23 View Post
    yeah I saw this working too
    I have resorted to writing my own movement system...

    So far have MoveToDestination(x,y,z) working but having issues with rotation/pitch updates as changing these on the client don't get automatically sent to the server.
    character ends up moon walking if the destination changes while moving (player faces new destination but is running in original direction).

    trying to find some info on how to use CMovement_C__UpdatePlayerMovement to send these rotation updates + what flags to use.
    Do you have the actual ClickToMove offset? It can be called directly if you spoof the ret / opcode checks still.

  7. Thanks sendeos23 (1 members gave Thanks to lolp1 for this useful post)
  8. #7
    sendeos23's Avatar Active Member

    Reputation
    16
    Join Date
    Oct 2009
    Posts
    65
    Thanks G/R
    22/10
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by lolp1 View Post
    Do you have the actual ClickToMove offset? It can be called directly if you spoof the ret / opcode checks still.
    Yeah i have the offset, I would do that If I knew a) the expected parameters b) how to actually spoof the op codes and return address. I could probably work out the expected parameters but i'm still relatively new to reversing / game hacking and i reckon (b) is still a bit beyond my skill level.

    But thank you, I will keep that in mind if I get stuck with my custom movement implementation.

    Update from my previous post :
    I managed to fix my update rotation issue , my custom movement system is working quite nicely

    Next, a navigation system...

    Update :
    @lolp1 so after some reading I think I have found some code to spoof the return address (first thing I googled - a tut on another forum where you have left a comment )
    Will give this a go using the below typedef:
    typedef bool(FASTCALL *p_CGPlayer_C__ClickToMove) (PVOID _this, __int32 clickType, WoWGUID* interactGuid, xyz* pos)
    Last edited by sendeos23; 01-02-2019 at 02:05 PM.

  9. #8
    sendeos23's Avatar Active Member

    Reputation
    16
    Join Date
    Oct 2009
    Posts
    65
    Thanks G/R
    22/10
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks lolp1 - got my CTM working using method you mentioned.

Similar Threads

  1. Has there ever been a bot ban wave?
    By lyok0929 in forum World of Warcraft General
    Replies: 3
    Last Post: 04-25-2011, 11:00 AM
  2. has there ever?
    By xreiverx in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 12-15-2007, 08:55 PM
  3. PTR port coords (it has not been fixed)
    By impulse71 in forum World of Warcraft Exploration
    Replies: 14
    Last Post: 07-05-2007, 12:14 PM
  4. Has anyone been baned for....
    By NAJUB in forum World of Warcraft General
    Replies: 1
    Last Post: 03-02-2007, 10:54 PM
  5. Has anyone been banned for buying gold?
    By lag in forum World of Warcraft General
    Replies: 0
    Last Post: 02-14-2007, 02:21 PM
All times are GMT -5. The time now is 04:46 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