[Help Request] Interact with Object (CTM) menu

Shout-Out

User Tag List

Results 1 to 8 of 8
  1. #1
    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)

    [Help Request] Interact with Object (CTM)

    Before you want to start flaming...

    It's not that I'm not able to interact with it, atleast.. it's not working properly for me.

    It keeps wanting to run up the node for me with the following code:
    Code:
    private const uint ctmBase = 0x01281838;
    private const uint ctmTarget = ctmBase + 0x20;
    private const uint ctmAction = ctmBase + 0x1c;

    Memory.WriteUInt64(ctmTarget, cGUID);
    Memory.WriteInt(ctmAction, 7);

    When I write the above, He keeps running up to the nodes XYZ somehow. Thus failing cus it falls down again.
    Another one is when it's standing ontop of the node (vein) he doesn't react until I move my char lil forward.

    So do I have to write some kind of Interact Distance aswell? (No idea, just asking, i'm curious)

    Thanks in advance :wave:


    [Help Request] Interact with Object (CTM)
  2. #2
    Sel3n's Avatar Member
    Reputation
    10
    Join Date
    Jul 2009
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You skiped one things, you owe proceed as am.

    Write the GUID in the CTM InteractGUID offset
    Write the X node coordinate in the CTM X position offset
    Write the Y node coordinate in the CTM Y position offset
    Write the Z node coordinate in the CTM Z position offset
    Write the desired action type in the CTM Action Type offset

    Code:
    w.WriteUInt64(AdressCTM + (uint)CTM.InteractGuid, nodeGuid); //CTM.InteractGuid = 0x20
    w.WriteFloat(AdressCTM + (uint)CTM.X, X); //CTM.X = 0x8C
    w.WriteFloat(AdressCTM + (uint)CTM.Y, Y); //CTM.Y = 0x90
    w.WriteFloat(AdressCTM + (uint)CTM.Z, Z); //CTM.Z = 0x94
    
    w.WriteInt(AdressCTM + (uint)CTM.ActionType, 7) //CTM.ActionType = 0x1C
    Last edited by Sel3n; 08-23-2009 at 03:16 PM.

  3. #3
    maclone's Avatar / Authenticator enabled
    Reputation
    2420
    Join Date
    Nov 2007
    Posts
    8,726
    Thanks G/R
    0/1029
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Yes, you need that interaction distance if you want to interact from a distance. (Click To Move - WoW.Dev Wiki)

    private const uint ctmDistance = ctmBase + 0xC;
    Memory.WriteFloat(ctmDistance, 2.75f);

    You should just need GUID, distance and action to interact with an object.
    Last edited by maclone; 08-23-2009 at 04:40 PM.
    Zomfg. And no, don't ask. - Dombo did it.

  4. #4
    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)
    Originally Posted by maclone View Post
    Yes, you need that interaction distance if you want to interact from a distance. (Click To Move - WoW.Dev Wiki)

    private const uint ctmDistance = ctmBase + 0xC;
    Memory.WriteFloat(ctmDistance, 2.75f);

    You should just need GUID, distance and action to interact with an object.
    Thanks for making that clear!
    EDIT: Ok it seems when already in range it wont respond until I move my char a lil forward by hand... :X
    Last edited by WinRawr; 08-23-2009 at 05:30 PM.


  5. #5
    WannaBeProgrammer's Avatar Member
    Reputation
    2
    Join Date
    Feb 2009
    Posts
    156
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im wondring whats the math formula for "Distance between two points"
    I have asked my teachers but they are clueless.

  6. #6
    SKU's Avatar Contributor
    Reputation
    306
    Join Date
    May 2007
    Posts
    565
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by WannaBeProgrammer View Post
    Im wondring whats the math formula for "Distance between two points"
    I have asked my teachers but they are clueless.
    WHAHAHAHAHAAHAHAHAHAHAHAHA


    WHAHYAHAHAHA


    HAHAHAAHAHAHAHAHAHAH


    ha.

    Sorry Apoc .

  7. #7
    Sel3n's Avatar Member
    Reputation
    10
    Join Date
    Jul 2009
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by WannaBeProgrammer View Post
    Im wondring whats the math formula for "Distance between two points"
    I have asked my teachers but they are clueless.
    We learn this at school... Look at your homeworks before trying to hack wauw.

  8. #8
    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)

    Pythagoras - Wikipedia, the free encyclopedia

    He was a really smart man. Look up his "Pythagorean theorem", every kid knows it.

Similar Threads

  1. [Help Request] Someone with knowledge of ADT file specifically MCVT chunk
    By DJRehab in forum WoW ME Questions and Requests
    Replies: 13
    Last Post: 04-17-2010, 10:33 AM
  2. [Help Request] Find Cloud Objects in memory
    By boomingranny in forum WoW Memory Editing
    Replies: 5
    Last Post: 06-14-2009, 10:10 PM
  3. Interacting with object
    By miceiken in forum WoW Memory Editing
    Replies: 29
    Last Post: 06-05-2009, 08:51 AM
  4. Help request with server
    By Minichili in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 03-22-2008, 03:16 PM
  5. [Help Request]Problem with warglaives
    By m2]IceMan in forum WoW ME Questions and Requests
    Replies: 14
    Last Post: 02-21-2008, 03:21 PM
All times are GMT -5. The time now is 09:58 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