[C#] User Interface explained menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    JuJuBoSc's Avatar Banned for scamming CoreCoins Purchaser
    Reputation
    1019
    Join Date
    May 2007
    Posts
    922
    Thanks G/R
    1/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [C#] User Interface explained

    Hello,

    Yesterday I saw a post about reversing the user interface, so by curiosity I started looking at lua_EnumerateFrames.

    I started looking first for frame name, which was pretty easy, then I wanted to know if the frame was visible or not, also pretty easy, that just a boolean.

    After some hour I got almost everything needed, but the frame coord was still not found, first I thought each frame coord was dependent to his parent as in Aion, but no, after looking a bit in IDA at frame GetLeft function (0x49D0B0 3.5.5a) I found that the position depend from the UI scale, so I had to found another things, that was a mess

    Finally after some hour I got everything working :

    • Enumerates every frames
    • Get frame's parent
    • Get frame name
    • Get is frame is visible or not
    • Get the frame effective scale (not sure about word but it's dependent to UI scale)
    • Get frame rect (Left, Right, Top, Bottom)
    • Get frame size (from the rect)
    • Move mouse over the frame


    So I maked little program that dump the UI, feel free to use it or improve it :

    C# | using System; using System.Co - Anonymous - 79AbzmwF - Pastebin.com

    All offsets provided is for WoW 3.3.5a 12340.

    PS: For offset naming, they are probably wrong

    EDIT : Correct offsets :

    Code:
            public enum UIFrame
            {
    
                CurrentFrame_Ptr = 0x00B499A8,
                CurrentFrame_Offset = 0x78,
    
                UIBase = 0x00B499A8,
                FirstFrame = 0x0CD4,
                NextFrame = 0x0CCC,
                UnkDivWidth = 0x00AC0CB4,
                UnkDivHeight = 0x00AC0CB8,
                ScreenWidth = 0x00C7D2C8,
                ScreenHeight = 0x00C7D2C4,
                FrameLeft = 0x68,
                FrameRight = 0x70,
                FrameTop = 0x6C,
                FrameBottom = 0x64,
                ParentPtr = 0x94,
                EffectiveScale = 0x7C,
                Name = 0x1C,
                Visible = 0xE0,
    
            }
    Last edited by JuJuBoSc; 08-12-2010 at 01:48 PM.

    [C#] User Interface explained
  2. #2
    DrakeFish's Avatar Lazy Leecher

    Reputation
    634
    Join Date
    Nov 2008
    Posts
    569
    Thanks G/R
    0/14
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've wanted to make such scans for a long time but couldn't figure out how to, thanks much. Found a "problem" tho, it can't seem to scan correctly while ingame, maybe that's normal or I copied something wrong () but yeah.. Else it works good and I may find some use to it. +Rep

  3. #3
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1608
    Join Date
    May 2010
    Posts
    1,837
    Thanks G/R
    193/535
    Trade Feedback
    16 (100%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Nice work, would love to hear more about your findings. I will get back to you with my question after I have I tested my idea out. Thanks Again! +Rep Also What are your intentions with this? Or is it just curiosity?
    Last edited by DarkLinux; 08-11-2010 at 04:52 PM.

  4. #4
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    208
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank so much for this Juju!

  5. #5
    Mc-fly's Avatar Sergeant
    Reputation
    14
    Join Date
    Dec 2009
    Posts
    64
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for that awesome stuff.
    very usefull for me =)

  6. #6
    JuJuBoSc's Avatar Banned for scamming CoreCoins Purchaser
    Reputation
    1019
    Join Date
    May 2007
    Posts
    922
    Thanks G/R
    1/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    CurrentFrame_Ptr = 0x00B499A8,
    CurrentFrame_Offset = 0x78,

    The current frame over your mouse.

  7. #7
    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)
    I was finally able to get this going on mac :-) Then I realized that I reversed it, not knowing what I was going to use it for My question: Is it possible to use this information to determine which BG is currently selected in the PvP pane?

    I've been struggling on how to queue for specific BGs out of process and was thinking this may be a bit of a help, but struggling on how I would actually implement it.

    Thanks!
    https://tanaris4.com

  8. #8
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    208
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Tanaris4 View Post
    I was finally able to get this going on mac :-) Then I realized that I reversed it, not knowing what I was going to use it for My question: Is it possible to use this information to determine which BG is currently selected in the PvP pane?

    I've been struggling on how to queue for specific BGs out of process and was thinking this may be a bit of a help, but struggling on how I would actually implement it.

    Thanks!
    Did you try this macro for debugging the names?
    Code:
    /script ChatFrame1:AddMessage(GetMouseFocus():GetName())
    Other than that, I'm not sure what you are tryng to do, but just loop through PVPHonorFrameBGButton#ID label texts and select the item you want. I don't see why you'd wanna check it? For AnkhBG (Glider BG tool) we just used the minimap icon to check BGStatus.

    Might be worth something (warning it's OLD): bgankh - Project Hosting on Google Code

  9. #9
    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)
    @miceiken - I can check BG Status (found the pointer to the 2 BGs in memory), I just can't queue specific BGs (i.e. scroll down the list in the PvP pane + see what is selected, or be able to choose the correct one). I'll take a look @ that link - ty!
    https://tanaris4.com

  10. #10
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Tanaris4 View Post
    @miceiken - I can check BG Status (found the pointer to the 2 BGs in memory), I just can't queue specific BGs (i.e. scroll down the list in the PvP pane + see what is selected, or be able to choose the correct one). I'll take a look @ that link - ty!

    Call RequestBattlegroundInstanceInfo with the one-based index of the battleground you wish to queue for, then call JoinBattlefield.
    To get a mapping of each id to it's battleground, iterate over GetNumBattlegroundTypes en call GetBattlegroundInfo to get specifics such as Name, CanEnter...
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  11. #11
    GameAssist's Avatar Banned CoreCoins Purchaser Authenticator enabled
    Reputation
    98
    Join Date
    Apr 2010
    Posts
    349
    Thanks G/R
    55/83
    Trade Feedback
    0 (0%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Interesting idea, unfortunately not working because of outdated offset. Perhaps the author can update the first post?

  12. #12
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    208
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by wlastas View Post
    Interesting idea, unfortunately not working because of outdated offset. Perhaps the author can update the first post?
    You for real? Read the god damn thread and don't ask for spoonfeeding.

  13. #13
    GameAssist's Avatar Banned CoreCoins Purchaser Authenticator enabled
    Reputation
    98
    Join Date
    Apr 2010
    Posts
    349
    Thanks G/R
    55/83
    Trade Feedback
    0 (0%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by miceiken View Post
    You for real? Read the god damn thread and don't ask for spoonfeeding.
    I have studied this topic and offered these new values - an example not working - what have the fucкing spoon

  14. #14
    sylvisj's Avatar Member
    Reputation
    20
    Join Date
    Apr 2007
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have studied this topic and offered these new values - an example not working - what have the fucкing spoon
    What he's saying is, you've been given plenty of information. Figure it out.

  15. #15
    JuJuBoSc's Avatar Banned for scamming CoreCoins Purchaser
    Reputation
    1019
    Join Date
    May 2007
    Posts
    922
    Thanks G/R
    1/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hire 3.3.5a binary, and check what's changed, only few change happened.

Page 1 of 2 12 LastLast

Similar Threads

  1. TurboUI: A graphical user interface for TurboHUD run files
    By LongDon in forum Diablo 3 Bots and Programs
    Replies: 9
    Last Post: 08-22-2022, 03:50 AM
  2. [Bot] Pokémon GO Bot PokePy with User-friendly interface
    By PokePy in forum Pokemon GO Hacks|Cheats
    Replies: 2
    Last Post: 08-07-2016, 01:21 PM
  3. featured a graphical user interface
    By harolddavs in forum WoW PvP & Battlegrounds
    Replies: 0
    Last Post: 08-26-2015, 11:53 PM
  4. Exclusive User Interface Screenshots
    By DrakeFish in forum Diablo 3 General
    Replies: 1
    Last Post: 09-20-2011, 03:30 AM
  5. Reversing the User Interface
    By miceiken in forum WoW Memory Editing
    Replies: 7
    Last Post: 08-10-2010, 09:41 PM
All times are GMT -5. The time now is 01:09 AM. 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