CTM action problem menu

Shout-Out

User Tag List

Results 1 to 5 of 5
  1. #1
    Mr.Sergey's Avatar Contributor
    Reputation
    117
    Join Date
    Apr 2009
    Posts
    201
    Thanks G/R
    6/23
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CTM action problem

    Greetings!

    Excuse my poor English, I'm Ukrainian

    First of all I’d like to mention my reading thoroughly all the topics which did not result in solving my problem. That’s why I’m asking.

    While studding topics concerning CTM I’ve figured out the following manner of CTM action:

    - coords of destination point should be placed to CTM_Base + X_Offset/Y_Offset or GUID of mob/NPC/object to interact should be placed to CTM_Base + GUID_Offset
    - fill the CTM_Base + Action_Type_Offset with the action type to proceed.

    This works perfectly with running. I put destination coords to appropriate place, put 4 into CTM_Base + Action_Type_Offset and character hops to desired point. But unfortunately this does not work for any other action type.

    For instance if I put mob’s GUID to attack into CTM_Base + GUID_Offset GUID, then I put 0xB to CTM_Base + Action_Type_Offset, but the character do not react in any way. Neither with looting nor skinning.

    Scanning memory starting from CTM_Base I’ve noted the value in CTM_Base + 0x24 to change on manual target clicking. Putting the same value to memory makes the character to behave desired way perfectly.

    As a result the following code do not work:

    WriteUInt(CTM_Base + 0x20, TargetGUID);
    WriteInt(CTM_Base + 0x1C, 0xB);

    But the following code appears to work:

    WriteUInt(CTM_Base + 0x20, TargetGUID);
    WriteUInt(CTM_Base + 0x24, SomeNumber);
    WriteInt(CTM_Base + 0x1C, 0xB);

    This is my personal observation. The problem is that the value of SomeNumber is different for various target types – it may turn to XXX +/- 15 for mobs, for example, YYY +/- 15 for veins and so on. I.e. it varies in some range for every target type.

    After all my question is if my method is correct, how could I get the value of SomeNumber for certain target, or if it seems a nonsense – how should I use CTM to make my character to do something other then running?
    Last edited by Mr.Sergey; 03-10-2010 at 04:48 AM.

    CTM action problem
  2. #2
    Mr.Zunz's Avatar Contributor
    Reputation
    92
    Join Date
    Mar 2007
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To interact with a Mob / Npc you have to write the Mobs/Npcs GUID, Action and Interact Distance, I should suggest you to look over Click To Move - WoW.Dev Wiki


  3. #3
    Mr.Sergey's Avatar Contributor
    Reputation
    117
    Join Date
    Apr 2009
    Posts
    201
    Thanks G/R
    6/23
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot for reply!

    I've read the info you've linked to. But unfortunatelly writing the distance into corresponding memory did not result in desired action.

    In conclusion, the code that works is the following:

    WriteUInt(CTM_Base + 0x20, TargetGUID);
    WriteUInt(CTM_Base + 0x24, SomeNumber);
    WriteInt(CTM_Base + 0x1C, 0xB);

    And the wrong one is:

    WriteUInt(CTM_Base + 0x20, TargetGUID);
    WriteFloat(CTM_Base + 0xC, 3.66666650772095);
    WriteInt(CTM_Base + 0x1C, 0xB);

    Are there any other ideas?

  4. #4
    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)
    Originally Posted by Mr.Sergey View Post
    Thanks a lot for reply!

    I've read the info you've linked to. But unfortunatelly writing the distance into corresponding memory did not result in desired action.

    In conclusion, the code that works is the following:

    WriteUInt(CTM_Base + 0x20, TargetGUID);
    WriteUInt(CTM_Base + 0x24, SomeNumber);
    WriteInt(CTM_Base + 0x1C, 0xB);

    And the wrong one is:

    WriteUInt(CTM_Base + 0x20, TargetGUID);
    WriteFloat(CTM_Base + 0xC, 3.66666650772095);
    WriteInt(CTM_Base + 0x1C, 0xB);

    Are there any other ideas?
    A GUID is 8 bytes. That's really all there is to say.
    [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

  5. #5
    Mr.Sergey's Avatar Contributor
    Reputation
    117
    Join Date
    Apr 2009
    Posts
    201
    Thanks G/R
    6/23
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Many, many thanks! Nice catch, it was the most stupid mistake. Now everything works perfectly.

Similar Threads

  1. [Help] CTM action type not working
    By teufel123 in forum WoW Memory Editing
    Replies: 8
    Last Post: 02-15-2011, 05:57 PM
  2. Problem with CTM
    By Fabio571 in forum WoW Memory Editing
    Replies: 10
    Last Post: 01-13-2011, 01:44 PM
  3. loot with CTM problem
    By phthegreat in forum WoW Memory Editing
    Replies: 12
    Last Post: 06-18-2010, 02:38 AM
  4. problem with loot ctm
    By bolototo in forum WoW Memory Editing
    Replies: 12
    Last Post: 10-06-2009, 02:23 PM
  5. CTM problem
    By karliky in forum WoW Memory Editing
    Replies: 4
    Last Post: 07-12-2009, 02:34 AM
All times are GMT -5. The time now is 04:12 PM. 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