[Classic] Untested warrior autoshoot concept menu

User Tag List

Results 1 to 4 of 4
  1. #1
    scimmy's Avatar Active Member
    Reputation
    52
    Join Date
    Jul 2020
    Posts
    54
    Thanks G/R
    1/33
    Trade Feedback
    0 (0%)
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

    [Classic] Untested warrior autoshoot concept

    Ran into
    Code:
    Spell_C_CancelAutoRepeat_7FF732813060
    and saw that it references
    Code:
    autoRepeatingSpell_7FF734377814
    Somewhere in the middle of this function it calls
    Code:
    CGUnit_C::SetCastingAutoRepeat_7FF732965160(v8, 0);
    followed by
    Code:
    CGUnit_C::CancelRangedMode(v9);
    And from the macos dump:
    Code:
    int __cdecl CGUnit_C::CancelRangedMode(CGUnit_C *this)
    {
      if ( !s_trackingType )
        CGUnit_C::ClearTrackingTarget(this, 0, 1);
      return CUnitDisplay::CancelBowPull((CGUnit_C *)((char *)this + 2360));
    }
    Which is pretty obvious that this is a hunter autorepeating thing.

    So I'm wondering if I were to write the spell id of "shoot bow" or "shoot gun" to autoRepeatingSpell and then called SetCastingAutoRepeat with "true", would this end up being a warrior autoshoot hack?

    [Classic] Untested warrior autoshoot concept
  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)
    Why would you not just go internal and call CastSpell when you still have to put in 95% of the work to determine what spell to cast anyways.

  3. #3
    scimmy's Avatar Active Member
    Reputation
    52
    Join Date
    Jul 2020
    Posts
    54
    Thanks G/R
    1/33
    Trade Feedback
    0 (0%)
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ChrisIsMe View Post
    Why would you not just go internal and call CastSpell when you still have to put in 95% of the work to determine what spell to cast anyways.
    Uhhhh I am internal? I never said this is anything super useful, just a thought I had when reversing the function at the time so I posted it

  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)
    Originally Posted by scimmy View Post
    Uhhhh I am internal? I never said this is anything super useful, just a thought I had when reversing the function at the time so I posted it
    Fair, a lot of people try to do dumb stuff externally thinking they're being safer.

Similar Threads

  1. [Selling] Classic 60 Warrior PVP/Tank + 5 Epics + Quel Serrar + Druid 110 full T3 = 200€
    By pandori in forum WoW Classic Buy Sell Trade
    Replies: 0
    Last Post: 11-29-2019, 05:41 AM
  2. [Selling] Classic 60 Warrior PVP/Tank + 5 Epics + Quel Serrar + Druid 110 full T3 = 200€
    By pandori in forum WoW Classic Buy Sell Trade
    Replies: 0
    Last Post: 11-25-2019, 05:48 AM
  3. [Selling] Thread: Classic 60 Warrior PVP/Tank + 5 Epics + Quel Serrar + Druid 110 full T3
    By pandori in forum WoW Classic Buy Sell Trade
    Replies: 0
    Last Post: 11-18-2019, 09:07 AM
  4. [Selling] Classic 60 Warrior PVP/Tank + 5 Epics + Quel Serrar + Druid 110 full T3 transmog
    By pandori in forum WoW Classic Buy Sell Trade
    Replies: 0
    Last Post: 11-13-2019, 04:58 AM
  5. [Selling] Classic Undead Warrior 60
    By Zohaib Shoaib in forum WoW Classic Buy Sell Trade
    Replies: 0
    Last Post: 10-29-2019, 06:30 AM
All times are GMT -5. The time now is 05:59 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