[Help!]  getting SetFocus(frame) && Remove Curse (Unit Aura) menu

User Tag List

Results 1 to 7 of 7
  1. #1
    SwInY's Avatar Member
    Reputation
    29
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help!] getting SetFocus(frame) && Remove Curse (Unit Aura)

    Hey Guys,

    well i have been trying and trying and trying to debug this, reverse this. ive tryed a good 8 diff memory address's just completely stumped me.

    basically im trying to get the GUID of the "Set Focus" frame. u know how you can set focus some one and its a frame on there screen. well trying to get that! ( I.E a tank ).

    Secondly, ( haven't strongly looked into it )

    am trying to determine which spell is "de-cursable" and removable. anything that a druid can remove.

    Code:
    if ((Flags[0x20] != 0) && (Flags[0x80] != 0)) return true;
    just wondering point in right direction for this one.


    Any info or help would be much appreciated
    Thanks
    Last edited by SwInY; 03-23-2011 at 05:57 AM.

    [Help!]  getting SetFocus(frame) && Remove Curse (Unit Aura)
  2. #2
    SwInY's Avatar Member
    Reputation
    29
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bump ^

    thinks to self: wow really??? 100 view's, no 1 ???... other threads get replys. something half hard comes up no 1 2 b seen..

  3. #3
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look at UnitHealth(unitId) and you'll find GetGUIDByKeyword, then find the case that deals with 'focus'.

    Not sure about the second question.

  4. #4
    SwInY's Avatar Member
    Reputation
    29
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmmmm thats true never thought of that.

    ill have a look into it now.


    ----------------------------------------------------------------------------------

    .text:00459A3F loc_459A3F: ; CODE XREF: GetGUIDByKeyword+2FEj
    .text:00459A3F mov eax, [ebp+Str1]
    .text:00459A42 push 5 ; size_t
    .text:00459A44 push offset aFocus ; "focus"
    .text:00459A49 push eax ; char *
    .text:00459A4A call __strnicmp
    .text:00459A4F add esp, 0Ch
    .text:00459A52 test eax, eax
    .text:00459A54 jnz short loc_459A6D
    .text:00459A56 mov ecx, stru_D9B6D8.low
    .text:00459A5C add [ebp+Str1], 5
    .text:00459A60 mov [esi], ecx
    .text:00459A62 mov edx, stru_D9B6D8.high
    .text:00459A68 jmp loc_45984E



    if ( !_strnicmp(Str1, "focus", 5u) )
    {
    Str1 += 5;
    *(_DWORD *)v5 = stru_D9B6D8.low;
    v11 = stru_D9B6D8.high;
    goto LABEL_22;
    }

    is there any way to grab this, by not calling lua. im trying to stay out of process?
    Last edited by SwInY; 03-25-2011 at 07:00 AM.

  5. #5
    reggggg's Avatar Member
    Reputation
    1
    Join Date
    Sep 2009
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    stru_D9B6D8 = structure at offset 0xD9B6D8 = focus WGUID (64 unsigned int).

    Rebase the address as required (subtract 0x400000 if using IDA I think) and you can Read or Write the focus unit at WoW.exe+the_address no problem.

    My IDB says a different offset but who knows, maybe It's an old one heh
    Last edited by reggggg; 03-25-2011 at 08:16 AM.

  6. #6
    SwInY's Avatar Member
    Reputation
    29
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i actually tried using that address as soon as i found it, uint64, returned 0.

    facepalm, i been using my old idb

    Wow_13596.idb,

    will try again now. update and let u guys know.

    ---------- Post added at 12:10 PM ---------- Previous post was at 11:56 AM ----------

    text:004599FF loc_4599FF: ; CODE XREF: GetGUIDByKeyword+2FEj
    .text:004599FF mov eax, [ebp+Str1]
    .text:00459A02 push 5 ; size_t
    .text:00459A04 push offset aFocus ; "focus"
    .text:00459A09 push eax ; char *
    .text:00459A0A call __strnicmp
    .text:00459A0F add esp, 0Ch
    .text:00459A12 test eax, eax
    .text:00459A14 jnz short loc_459A2D
    .text:00459A16 mov ecx, stru_D9C6D8.low
    .text:00459A1C add [ebp+Str1], 5
    .text:00459A20 mov [esi], ecx
    .text:00459A22 mov edx, stru_D9C6D8.high
    .text:00459A28 jmp loc_45980E


    if ( !_strnicmp(Str1, "focus", 5u) )
    {
    Str1 += 5;
    *(_DWORD *)v5 = stru_D9C6D8.low;
    v11 = stru_D9C6D8.high;
    goto LABEL_22;
    }

    ---------- Post added at 12:13 PM ---------- Previous post was at 12:10 PM ----------

    Confirmed,


    D9C6D8 = Focus GUID.

  7. #7
    reggggg's Avatar Member
    Reputation
    1
    Join Date
    Sep 2009
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Silly billy

Similar Threads

  1. Need some help getting our server online.
    By Mooa in forum World of Warcraft Emulator Servers
    Replies: 18
    Last Post: 02-21-2008, 11:24 AM
  2. [Help] getting players
    By House.MD in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 02-16-2008, 09:36 AM
  3. Need some help getting a server online.
    By Mooa in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 02-10-2008, 03:34 PM
  4. Boting: Need help getting started
    By grond in forum World of Warcraft General
    Replies: 3
    Last Post: 10-30-2007, 02:19 PM
  5. Need Help Getting Level 60
    By Kaladze in forum World of Warcraft General
    Replies: 16
    Last Post: 08-19-2006, 12:24 PM
All times are GMT -5. The time now is 01:52 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