2nd param to ClickToMove (TBC 2.5.1.39170) menu

User Tag List

Results 1 to 5 of 5
  1. #1
    0xa4fba0's Avatar Member Authenticator enabled
    Reputation
    2
    Join Date
    May 2020
    Posts
    7
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    2nd param to ClickToMove (TBC 2.5.1.39170)

    Hi

    I am working on ClickToMove. The 2nd param seems a Vector3*

    My Offset: 0x113F5C0
    1st PlayerPtr,
    2nd Vector3*

    The offset seems working bc my char starts moving after I called the func
    However, the char is not moving to where it should be, it keep moving until the edge of the map.
    I also changed the value of x y z, the direction changed but still head to the edge.

    passing the Vector3 value read from memory (output correct value) as well

    any help?

    2nd param to ClickToMove (TBC 2.5.1.39170)
  2. #2
    ChrisIsMe's Avatar Contributor
    Reputation
    164
    Join Date
    Apr 2017
    Posts
    210
    Thanks G/R
    67/100
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    The second parameter to CGUnit_C::InitializeTrackingState to move is enum CTrackingType::Move // 5

    Which you'd see if you looked at CGGameUI::HandleTerrainClick...

  3. #3
    0xa4fba0's Avatar Member Authenticator enabled
    Reputation
    2
    Join Date
    May 2020
    Posts
    7
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i found a tricky way and new offset to move at last,
    yes no z here. it is not a mistake

    Code:
    	struct MoveXY
    	{
    		char padding[16];
    		float x = 0;
    		float y = 0;
    	};
    
    
    		MoveXY xy;
    		xy.x = position.x;
    		xy.y = position.y;
    		reinterpret_cast<void(__fastcall*)(void*)>(ModuleBase + (0x14DB850))(&xy);

  4. #4
    ChrisIsMe's Avatar Contributor
    Reputation
    164
    Join Date
    Apr 2017
    Posts
    210
    Thanks G/R
    67/100
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I guess that works... It's not too hard to reverse the actual function. I posted offsets to older version retail wow here, if you can find the bin.

    You get a lot more functionality than just click to move..

    https://www.ownedcore.com/forums/wor...l-36839-a.html (Retail 36839)

    Methods referenced in

    CGUnit_C::UpdateTrackingDirection
    CGUnit_C::UpdateTrackingLocation and
    CGUnit_C::UpdateTrackingTarget

    I'm not sure if there's any other wrappers to it anymore, I don't have a deobfuscated binary so it's all from memory.
    Last edited by ChrisIsMe; 07-10-2021 at 01:16 PM.

  5. #5
    0xa4fba0's Avatar Member Authenticator enabled
    Reputation
    2
    Join Date
    May 2020
    Posts
    7
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the info

Similar Threads

  1. [EPIC] How To Make TBC 2.4.3 Server with Oregon Core
    By Fantapower in forum WoW EMU Guides & Tutorials
    Replies: 5
    Last Post: 01-26-2019, 01:13 AM
  2. [Question] How to make TBC account
    By Gadella in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 12-14-2007, 12:26 PM
  3. is it possible to play TBC without upgrading Account?
    By da_bizkit in forum World of Warcraft General
    Replies: 2
    Last Post: 01-16-2007, 06:40 PM
  4. does WoW need to be working to play TBC?
    By foxfire60 in forum World of Warcraft General
    Replies: 4
    Last Post: 01-16-2007, 03:37 PM
  5. Can sum u plz post link to DL TBC sandbox
    By Arimous in forum Community Chat
    Replies: 0
    Last Post: 09-02-2006, 02:53 PM
All times are GMT -5. The time now is 09:30 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