[Classic] [1.13.6.37497] OnSpriteLeftClick - Targeting Units menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    _chase's Avatar Established Member
    Reputation
    96
    Join Date
    Dec 2019
    Posts
    58
    Thanks G/R
    17/50
    Trade Feedback
    0 (0%)
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by oiramario View Post
    Thanks for your sharing, after some hard work, OnSpriteLeftClick and OnSpriteRightClick now worked well both. They never crash even put them in while(True).
    In my knowledge background, modern engine use multithread with renderring. It means dx9's endscene or dx11's present are not in mainthread, so dont hook them anymore. Here is the better solution: ntoskrnl | Hooking Threads Without Detours or Patches

    P.S. My bot could set facing by write mem, however it does not sync to server. Anyone could share the UpdateMovement address or some hints?
    Why not just use the CTM wrapper you posted for changing facing angle, that handles sending the packet update so your facing direction will be in sync with server

    Code:
    void CTM::FaceTo(float_t angle) {
    	reinterpret_cast<int32_t(__fastcall*)(CGUnit*, float_t)>(Module::BaseAddress() + 0xAB6AB0)(Core::LocalPlayer(), angle);
    }

    [Classic] [1.13.6.37497] OnSpriteLeftClick - Targeting Units
  2. #17
    oiramario's Avatar Established Member
    Reputation
    85
    Join Date
    Mar 2021
    Posts
    133
    Thanks G/R
    36/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by _chase View Post
    Why not just use the CTM wrapper you posted for changing facing angle, that handles sending the packet update so your facing direction will be in sync with server

    Code:
    void CTM::FaceTo(float_t angle) {
    	reinterpret_cast<int32_t(__fastcall*)(CGUnit*, float_t)>(Module::BaseAddress() + 0xAB6AB0)(Core::LocalPlayer(), angle);
    }
    You are correct. And I found OnSpriteRightClick could auto set facing right in front of target.
    Would you please share how to avoid AFK?

  3. #18
    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)
    Originally Posted by oiramario View Post
    You are correct. And I found OnSpriteRightClick could auto set facing right in front of target.
    Would you please share how to avoid AFK?
    Send movement updates and update the last hardware action time. I think that warden may check the last hardware action time though, I'm not quite sure about how windows works at the moment.

  4. #19
    oiramario's Avatar Established Member
    Reputation
    85
    Join Date
    Mar 2021
    Posts
    133
    Thanks G/R
    36/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can handle it now.
    Read OsAsyncTimeMs and write to LastHardwareAction.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Classic] 1.13.6.37497
    By charles420 in forum WoW Memory Editing
    Replies: 10
    Last Post: 04-18-2021, 09:57 AM
  2. Replies: 5
    Last Post: 11-01-2019, 01:08 PM
  3. [Classic] 1.13.2.3208 - Model size of unit
    By NoxiaZ in forum WoW Memory Editing
    Replies: 1
    Last Post: 10-20-2019, 03:14 AM
  4. [Selling] Level 60 Hunter. Classic Rank 13 Warlord
    By Tschaenter in forum WoW-EU Account Buy Sell Trade
    Replies: 1
    Last Post: 11-04-2013, 03:21 PM
  5. Question: Target Unit By GUID in Addons, Possible?
    By zys924 in forum WoW Memory Editing
    Replies: 14
    Last Post: 12-30-2009, 12:57 PM
All times are GMT -5. The time now is 02:49 PM. 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