Basic Targeting (Left Click) menu

Shout-Out

User Tag List

Results 1 to 10 of 10
  1. #1
    Glitt's Avatar Active Member CoreCoins Purchaser
    Reputation
    38
    Join Date
    Dec 2022
    Posts
    54
    Thanks G/R
    12/15
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Basic Targeting (Left Click)

    I have the VMT position for game objects that works for a lot of things (anything that underlying is a game object). However, I don't have this flexibility when trying to left click most units or mob types. I'm also trying to find CGGameUI::Target, to target specific units, but it seems that has been changed to target last, nearest, etc instead of using a guid or lightuserdata.

    Any help here would be greatly appreciated. My near goal is to just target by GUID or userdata. Thank you.
    Last edited by Glitt; 07-13-2024 at 11:18 PM. Reason: CGGameUI::

    Basic Targeting (Left Click)
  2. #2
    qop1832's Avatar Active Member

    Reputation
    34
    Join Date
    Dec 2021
    Posts
    69
    Thanks G/R
    19/21
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Are you looking for the mouse click call I mentioned here? He can also be used for target selection https://www.ownedcore.com/forums/wor...fset-dump.html ([classic][Cata][4.4.0.54558] offset dump)
    叼毛

  3. #3
    Glitt's Avatar Active Member CoreCoins Purchaser
    Reputation
    38
    Join Date
    Dec 2022
    Posts
    54
    Thanks G/R
    12/15
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by qop1832 View Post
    Are you looking for the mouse click call I mentioned here? He can also be used for target selection https://www.ownedcore.com/forums/wor...fset-dump.html ([classic][Cata][4.4.0.54558] offset dump)
    Does it have an official name in the mac symbols binary (mouse_addr). I can't find the first pattern. As I understand you are writing the guid field to the mouse then confirming it with a click.

  4. #4
    qop1832's Avatar Active Member

    Reputation
    34
    Join Date
    Dec 2021
    Posts
    69
    Thanks G/R
    19/21
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yes, that's it, but I don't know what its official name is. Because I don't have a Mac... I uploaded 3.4.3.55586 in the binary file (this is the special WLK version for China.)... It is located at 0x3D3DFB0.... The binary file is at GitHub - qop1832/wow_dump_file: 脱壳文件
    叼毛

  5. Thanks Glitt (1 members gave Thanks to qop1832 for this useful post)
  6. #5
    thateuler's Avatar Active Member
    Reputation
    30
    Join Date
    May 2019
    Posts
    44
    Thanks G/R
    25/21
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I do it by writing the guid to the lasttarget global and then run the TargetLastTarget() lua function.

  7. #6
    Glitt's Avatar Active Member CoreCoins Purchaser
    Reputation
    38
    Join Date
    Dec 2022
    Posts
    54
    Thanks G/R
    12/15
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by thateuler View Post
    I do it by writing the guid to the lasttarget global and then run the TargetLastTarget() lua function.
    This sounds more efficient or simple. I would like to just use the Target function if possible, but I'm not sure if that's how it works. Also having trouble finding mousover or lasttarget smh...

  8. #7
    thateuler's Avatar Active Member
    Reputation
    30
    Join Date
    May 2019
    Posts
    44
    Thanks G/R
    25/21
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm using this pattern. Its been stable for several updates now. Maybe even since TBC? (I forget)

    Code:
    .text:0000000140679270 48 89 7C 24 20                       mov     qword ptr [rsp+38h+var_18], rdi
    .text:0000000140679275 48 89 7C 24 28                       mov     qword ptr [rsp+38h+var_18+8], rdi
    .text:000000014067927A 0F 10 44 24 20                       movups  xmm0, [rsp+38h+var_18]
    .text:000000014067927F 48 89 7C 24 20                       mov     qword ptr [rsp+38h+var_18], rdi
    .text:0000000140679284 48 89 7C 24 28                       mov     qword ptr [rsp+38h+var_18+8], rdi
    .text:0000000140679289 0F 11 05 D8 73 73 02                 movups  cs:CGGameUI__m_lastTarget, xmm0
    
    48 89 7C 24 ? 0F 10 44 24 ? 48 89 7C 24 ? 48 89 7C 24 ? 0F 11 05 ? ? ? ?
    Last edited by thateuler; 07-15-2024 at 05:46 PM.

  9. Thanks Glitt (1 members gave Thanks to thateuler for this useful post)
  10. #8
    Glitt's Avatar Active Member CoreCoins Purchaser
    Reputation
    38
    Join Date
    Dec 2022
    Posts
    54
    Thanks G/R
    12/15
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by thateuler View Post
    I'm using this pattern. Its been stable for several updates now. Maybe even since TBC? (I forget)

    Code:
    .text:0000000140679270 48 89 7C 24 20                       mov     qword ptr [rsp+38h+var_18], rdi
    .text:0000000140679275 48 89 7C 24 28                       mov     qword ptr [rsp+38h+var_18+8], rdi
    .text:000000014067927A 0F 10 44 24 20                       movups  xmm0, [rsp+38h+var_18]
    .text:000000014067927F 48 89 7C 24 20                       mov     qword ptr [rsp+38h+var_18], rdi
    .text:0000000140679284 48 89 7C 24 28                       mov     qword ptr [rsp+38h+var_18+8], rdi
    .text:0000000140679289 0F 11 05 D8 73 73 02                 movups  cs:CGGameUI__m_lastTarget, xmm0
    
    48 89 7C 24 ? 0F 10 44 24 ? 48 89 7C 24 ? 48 89 7C 24 ? 0F 11 05 ? ? ? ?
    Lol timing I just found it on retail. Something like this worked...

    Code:
    	enum_objects(all_callback, ACTIVEPLAYER);
    
    	auto base = (uintptr_t)GetModuleHandle(NULL);
    
    	auto player = object_pool.at(0);
    
    	auto g = reinterpret_cast<guid*>(base + 0x43E4C38);
    
    	*g = player->id();

  11. #9
    Trioxygen's Avatar Member
    Reputation
    9
    Join Date
    Jan 2022
    Posts
    11
    Thanks G/R
    1/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just writing to the target guid offset actually works btw:

    Code:
        pub fn target_by_guid(&self, guid: GUID) {
            self.process
                .write_mem::<i128>(self.module_base_address + OFFSETS.target_guid, guid);
        }
    This is the pattern I use for the offset:
    Code:
    48 39 05 ?? ?? ?? ?? 49 8B F0 48 8B FA 48 8B E9 75 62 48 8B 03

  12. Thanks cloakr (1 members gave Thanks to Trioxygen for this useful post)
  13. #10
    Glitt's Avatar Active Member CoreCoins Purchaser
    Reputation
    38
    Join Date
    Dec 2022
    Posts
    54
    Thanks G/R
    12/15
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I get no response on retail writing to current target.


    edit: nvm it appears I was trying to set the target of a stool XD
    Last edited by Glitt; 07-17-2024 at 04:26 PM. Reason: edit

Similar Threads

  1. [Selling] EUW basic lvl30 unrunked/unverivied accs 16$ each - not many left
    By robertvb92 in forum League of Legends Buy Sell Trade
    Replies: 1
    Last Post: 04-03-2014, 07:42 AM
  2. C++ How to send left click Mouse to a Game
    By caosmen in forum Programming
    Replies: 2
    Last Post: 09-25-2012, 05:32 AM
  3. Click to move on selected target
    By radarlove in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 07-02-2012, 04:26 AM
  4. Replies: 10
    Last Post: 06-03-2012, 09:47 AM
  5. Sending a Left click to an ingame popup box.....
    By Hellson in forum WoW Memory Editing
    Replies: 6
    Last Post: 12-22-2009, 03:37 PM
All times are GMT -5. The time now is 08:20 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