CGGameUI__CanPerformAction - Some plua functions not using this check? menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CGGameUI__CanPerformAction - Some plua functions not using this check?

    So I just noticed that some protected lua functions don't use the CGGameUI__CanPerformAction check, therefor rendering the detour/patch of this function useless for those functions, such as TargetUnit.

    Does anyone know how the game client actually determines that you're calling this function from non-blizz UI?

    I've search for pointers/references to lua_TargetUnit in IDA and unfortunately haven't been able to get anywhere so am turning to the crowd

    Thanks in advance!
    https://tanaris4.com

    CGGameUI__CanPerformAction - Some plua functions not using this check?
  2. #2
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1515
    Join Date
    May 2008
    Posts
    2,433
    Thanks G/R
    81/336
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    The check for TargetUnit is actually somewhere in CGGameUI__Target and doesn't use the CGGameUI__CanPerformAction function. Your best bet is probably looking through the both of them (CanPerformAction and Target) and compare the addresses they contain, then go over the addresses that are used in both functions.

  3. #3
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks - taking a look, also just realized I could simply hook the function w/gdb and click some1 then print a stack trace

    Edit: You are correct, call CGGameUI__ShowBlockedActionFeedback_
    https://tanaris4.com

Similar Threads

  1. [Selling] Sell some steam accounts that im not using anymore. 10 years accounts.
    By kokobloko in forum General Trading Buy Sell Trade
    Replies: 1
    Last Post: 07-21-2014, 06:50 PM
  2. Replies: 7
    Last Post: 08-20-2012, 11:16 PM
  3. Do not Use This Hack To suspend others
    By henk in forum World of Warcraft General
    Replies: 10
    Last Post: 09-15-2007, 12:52 PM
  4. Once again: DO NOT USE HACKS AT THIS TIME!
    By idusy-org in forum OC News
    Replies: 27
    Last Post: 09-27-2006, 08:16 PM
All times are GMT -5. The time now is 07:23 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