How to click repair tab internally? menu

User Tag List

Results 1 to 6 of 6
  1. #1
    aadidassler's Avatar Private
    Reputation
    1
    Join Date
    May 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to click repair tab internally?

    I'm trying to click the shop dialog's repair tab (hash -7642708899027671185) by calling its click handler (0xB30A50). I pass a pointer to element+0x30 as the only argument. So far as I can tell my calls are functionally identical to the ones generated by actual clicks on the tab. I use the same logic for clicking other buttons, and it works in every other case I've tried. Yet when I call the tab's click handler, the repair dialog isn't displayed.

    What's special about this case? Anyone know what I'm doing wrong?

    These ads disappear when you log in.

  2. #2
    iamclint's Avatar Master Sergeant
    Reputation
    14
    Join Date
    Aug 2012
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I haven't looked real closely but based on this the function b30a50 is for ondrag not onclick?
    Code:
    .text:013CB7AF                 push    offset aUi_shop_ondrag ; "UI_Shop_OnDrag"
    .text:013CB7B4                 mov     dword_16A42A8, eax
    .text:013CB7B9                 mov     dword_16A42AC, offset sub_B30A50
    .text:013CB7C3                 mov     dword_16A42B0, offset aUi_shop_ondrag ; "UI_Shop_OnDrag"
    B30A80 looks like the click handler?
    Code:
    .text:013CB7D2                 push    offset aUi_shop_onclic ; "UI_Shop_OnClick"
    .text:013CB7D7                 mov     dword_16A42B4, eax
    .text:013CB7DC                 mov     dword_16A42B8, offset sub_B30A80
    .text:013CB7E6                 mov     dword_16A42BC, offset aUi_shop_onclic ; "UI_Shop_OnClick"

    I could be wrong this is just a simple quick look through ida for you

    I haven't actually tested this
    Last edited by iamclint; 03-25-2013 at 08:23 PM.

  3. #3
    wineggdrop's Avatar Sergeant
    Reputation
    1
    Join Date
    Feb 2013
    Posts
    38
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can try to find out the repair tab screen coordinates and call PostMessage() API for the click.

  4. #4
    thefinalZ's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Special case is with any tab they deal with UI children, calling click doesn't work sometimes because this handler code is maintained by an attribute handler, the attribute handler queries the flags on an element and updates them accordingly, so you have to emulate that. It's quite easy really, you have to update the parents active child. Once you change the tab this way then you can click the repair button.

  5. #5
    aadidassler's Avatar Private
    Reputation
    1
    Join Date
    May 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I haven't had the time to check it out but that looks like exactly the info I need, thanks.

  6. #6
    ValvePro's Avatar Sergeant
    Reputation
    18
    Join Date
    Jun 2012
    Posts
    62
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you don't necessarily need to click repair tab to repair your character.

    Have a look deeper to the repair function you'll see why it crash and fix it. (you needn't to change op-code)

Similar Threads

  1. How to click ready button in join Arena?
    By BloodShowFlower in forum WoW UI, Macros and Talent Specs
    Replies: 3
    Last Post: 03-08-2015, 09:21 PM
  2. how to "click to move" to the location what i want?
    By sandra11 in forum WoW Memory Editing
    Replies: 3
    Last Post: 12-07-2012, 05:39 AM
  3. how to avoid repair costs incase you forgot
    By icrlym in forum World of Warcraft Guides
    Replies: 22
    Last Post: 01-15-2010, 10:16 PM
  4. how to click mailbox?
    By leehun00 in forum WoW Memory Editing
    Replies: 22
    Last Post: 01-12-2010, 06:22 PM
  5. my repair is broken, how do i repair my repair?
    By foxfire60 in forum World of Warcraft General
    Replies: 9
    Last Post: 01-17-2007, 07:59 PM
All times are GMT -5. The time now is 11:54 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search