CTM c# dont work menu

Shout-Out

User Tag List

Results 1 to 12 of 12
  1. #1
    xtoxnitro's Avatar Member
    Reputation
    3
    Join Date
    Feb 2011
    Posts
    18
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CTM c# dont work

    Hey guys,i am building a bot from a source i downloaded and got all working with the offsets. But the CTM is the only thing that wont work.

    wow.WriteFloat(0x8D5188 + 0xA0, -8857.971f); // x pos from prompt
    wow.WriteInt(0x8D5188 + 0xC, 4);//makes character walk


    is the code. Are my offsets wrong? the first one for the X pos must be right,but i havent found any "CTM State" offsets. So i think the second writeInt is wrong. Can anybody help me?

    CTM c# dont work
  2. #2
    Mc-fly's Avatar Sergeant
    Reputation
    14
    Join Date
    Dec 2009
    Posts
    64
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Offsets are right...but look (credits to bouh)

    Code:
    BaseAdress = 0x11180A0
    Code:
    
    Unknown1 = 0x0,
                TurnScale = 0x4,
                Unknown2 = 0x8,
                InteractDistance = 0xC,
                ActionType = 0x1C,
                InteractGuid = 0x20,
                MoveX = 0x8C,
                MoveY = 0x90,
                MoveZ = 0x94
    
    
    ActionType value :
    Code:
    
                FaceTarget = 0x1,
                Stop = 0x3,
                WalkTo = 0x4,
                InteractNpc = 0x5,
                Loot = 0x6,
                InteractObject = 0x7,
                Unknown1 = 0x8,
                Unknown2 = 0x9,
                AttackPos = 0xA,
                AttackGuid = 0xB,
                WalkAndRotate = 0xC
    
    MoveTo :
    Code:
    
     public static void MoveTo(Vector3D Pos)
            {
                    Process.WowProcess.WriteFloat(AdressCTM + (uint)OffCTM.MoveX, Pos.X);
                    Process.WowProcess.WriteFloat(AdressCTM + (uint)OffCTM.MoveY, Pos.Y);
                    Process.WowProcess.WriteFloat(AdressCTM + (uint)OffCTM.MoveZ, Pos.Z);
    
                    Process.WowProcess.WriteInt(AdressCTM + (uint)OffCTM.ActionType, (int)ActionType.WalkTo);
            }
    
    Interact Guid :
    Code:
    
            public static void MoveToAndInteract(WowObject Object)
            {
                    Vector3D Pos = Object.GetVector();
    
                    Process.WowProcess.WriteUInt64(AdressCTM + (uint)OffCTM.InteractGuid, Object.Guid);
                    Process.WowProcess.WriteFloat(AdressCTM + (uint)OffCTM.MoveX, Pos.X);
                    Process.WowProcess.WriteFloat(AdressCTM + (uint)OffCTM.MoveY, Pos.Y);
                    Process.WowProcess.WriteFloat(AdressCTM + (uint)OffCTM.MoveZ, Pos.Z);
    
                    Process.WowProcess.WriteInt(AdressCTM + (uint)OffCTM.ActionType,
                        Object.Type == 3 ? ( Object.IsDead ? (int)ActionType.Loot : (int)ActionType.InteractNpc )
                        : (int)ActionType.InteractObject);
            }
    you use
    wow.WriteInt(0x8D5188 + 0xC, 4);//makes character walk
    0xC = InteractDistance

    you have to took 0x1C with 4 to toggle walk.

  3. #3
    xtoxnitro's Avatar Member
    Reputation
    3
    Join Date
    Feb 2011
    Posts
    18
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    stillt wont move

    BlackMagic wow = new BlackMagic();

    wow.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("World of Warcraft"));

    wow.WriteFloat(0x8D5188 + 0x8C, -8857.971f); // x pos from prompt
    wow.WriteInt(0x8D5188 + 0x1C, 4);//makes character walk

    System.Console.WriteLine("X:" + Me.Location.X); // Give me the right Location for the Player (working!)

    but the character wont move,why?

  4. #4
    Mc-fly's Avatar Sergeant
    Reputation
    14
    Join Date
    Dec 2009
    Posts
    64
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can't just "click" the X Location.

  5. #5
    xtoxnitro's Avatar Member
    Reputation
    3
    Join Date
    Feb 2011
    Posts
    18
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    then how do i do it?

  6. #6
    Endecs's Avatar Master Sergeant
    Reputation
    53
    Join Date
    Jan 2011
    Posts
    116
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need X Y Z and Push
    And you musst Wow.exe+BaseOffsetOfCTM

  7. #7
    xtoxnitro's Avatar Member
    Reputation
    3
    Join Date
    Feb 2011
    Posts
    18
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sry i dont get it :/ my code is:

    BlackMagic wow = new BlackMagic();
    wow.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("World of Warcraft"));
    System.Console.WriteLine("X:" + Me.Location.X);
    System.Console.WriteLine("Y:" + Me.Location.Y);
    System.Console.WriteLine("Z:" + Me.Location.Z);

    wow.WriteFloat(0x8D5188 + 0xA0, Me.Location.X + 10f);
    wow.WriteFloat(0x8D5188 + 0xA4, Me.Location.Y + 10f);
    wow.WriteFloat(0x8D5188 + 0xA8, Me.Location.Z + 10f);
    wow.WriteInt(0x8D5188 + 0x1C, 0x4);

    Me.Location.X/Y/Z gives me the right values,but i dont get the other part for the movement. Can not somebody fix the code? xD

  8. #8
    Azzie2k8's Avatar Member
    Reputation
    11
    Join Date
    Apr 2009
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lookup ASLR this has been discussed tons of times

    basicly add the location of wows module to your offsets to get it working...

  9. #9
    Neer's Avatar Trend Rider Authenticator enabled
    Reputation
    1460
    Join Date
    Apr 2007
    Posts
    751
    Thanks G/R
    183/834
    Trade Feedback
    6 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Code:
    BlackMagic wow = new BlackMagic();
    wow.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("World of Warcraft"));
    IntPtr BasePointer = wow.MainModule.BaseAddress; //Gets Base Address Of WoW
    // Try an example with wow.WriteFloat((uint)BasePointer + 0x8D518, Value); (THIS SHOULD WORK :))
    System.Console.WriteLine("X:" + Me.Location.X);
    System.Console.WriteLine("Y:" + Me.Location.Y);
    System.Console.WriteLine("Z:" + Me.Location.Z);
    
    wow.WriteFloat(0x8D5188 + 0xA0, Me.Location.X + 10f); 
    wow.WriteFloat(0x8D5188 + 0xA4, Me.Location.Y + 10f); 
    wow.WriteFloat(0x8D5188 + 0xA8, Me.Location.Z + 10f); 
    wow.WriteInt(0x8D5188 + 0x1C, 0x4);
    Noob Code (A)

  10. #10
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0x8C is not the Location offset, 0xA0 is...


  11. #11
    namreeb's Avatar Legendary

    Reputation
    668
    Join Date
    Sep 2008
    Posts
    1,029
    Thanks G/R
    8/222
    Trade Feedback
    0 (0%)
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Also I believe you need to have CTM enabled in the interface options.

  12. #12
    Syltex's Avatar Sergeant Major
    Reputation
    23
    Join Date
    Jul 2010
    Posts
    174
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    w00t w00t, no tsunami flaming wave?

Similar Threads

  1. Ascent channels dont work plus more
    By gravestalker in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 11-23-2007, 12:26 AM
  2. Trainers dont work
    By thedynasty in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 10-06-2007, 08:39 PM
  3. All edits dont work for me anymore
    By kody_ in forum WoW ME Questions and Requests
    Replies: 5
    Last Post: 07-31-2007, 11:20 PM
  4. Model Edits dont work now because of patch?
    By Sykes14 in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 05-24-2007, 01:49 PM
  5. MC dont work...
    By Skalla in forum World of Warcraft General
    Replies: 9
    Last Post: 09-04-2006, 09:53 AM
All times are GMT -5. The time now is 12:37 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