[C#] User Interface explained menu

Shout-Out

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    z0m's Avatar Banned CoreCoins Purchaser
    Reputation
    3
    Join Date
    Jan 2011
    Posts
    56
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've started to track them myself (after the tip that it's really better to just try to get them yourself and learn from it) and I've managed to find most of them, enough for my own relogger at least.

    Here is my list:
    Code:
        enum UIFrame
        {
            CurrentFramePtr = 0x8C5F7C, // 4.03
            CurrentFrameOffset = 0x88, // 4.03
    
            UIBase = 0x8C5f7C, // 4.03
            Name = 0x1C, // 4.03
            ParentPtr = 0x98, // 4.03
            EffectiveScale = 0x80, // 4.03
            LabelText = 0xEC, // 4.03
            Visible = 0x64, // 4.03
            
            FirstFrame = 0xCE4, // 4.03
            NextFrame = 0xCDC, // 4.03
            FrameLeft = 0x6C, // 4.03
            FrameRight = 0x74, // 4.03
            FrameTop = 0x70, // 4.03
            FrameBottom = 0x68, // 4.03
    
            UnkDivWidth = 0x805300, // 4.03
            UnkDivHeight = 0x805304, // 4.03
        }
    Feel free to add anything that I don't have yet and don't slack on looking for them! You should indeed look at 3.3.5a and see if you can find these offsets yourself (you now have the right ones for 4.03 so you can verify them yourselves) so you don't have to lurk and wait for others next time again .

    [C#] User Interface explained
  2. #17
    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)
    What types of things are you guys using this for?
    https://tanaris4.com

  3. #18
    guizmows's Avatar Banned
    Reputation
    57
    Join Date
    Feb 2008
    Posts
    414
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's usefull for out of process bot for :
    - autorelog
    - questing
    - mailbox
    - ....

  4. #19
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd say anything, back in the days of Glider this was the only thing that could interact with the game (with a mouse driver ofc). Queueing for BGs, mail, training, looting & skinning etc.

  5. #20
    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)
    Yea I guess that was the part I was missing. I need to get WorldtoCoord working correctly + a mouse driver for my OOP bot. (which isn't an easy task on mac, unfortunately)
    https://tanaris4.com

  6. #21
    counted's Avatar Contributor Authenticator enabled
    Reputation
    203
    Join Date
    Mar 2008
    Posts
    183
    Thanks G/R
    11/108
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I have been using this for quite some time on my main desktop computer which runs windows 7 and everything works. I also have a laptop that runs windows 8 and the movemouseover subroutine would only work if I used FullScreen at a rez of 1280x800 and directX9. I could change my desktop computer to windowed mode, any resolution and/or directX11 and it would work. Not so on the laptop, but i never really looked into it cause i had a way to make it work. Well I just bought a new laptop and now movemouseover does not work on any settings on the new laptop. The new laptop is running windows 10 (not sure that is important)

    So I now had to look into this.

    I found a routine EventInputGetMousePostion (20726 binary 0x1e49d) and reversed it.

    Code:
            public void MouseOver()
            {  
                // Raw denotes that the value is not compensated for screenwidth / screenheight or s_x / s_y
                float x = (LeftRaw + RightRaw) / 2;
                float y = (TopRaw + BottomRaw) / 2;
    
                x = x / SX;
                y = y / SY;
    
                Rectangle clientRect = new Rectangle();
                GetClientRect(TC.Pmr.WindowHandle, out clientRect);
                
                x = x * clientRect.Width;
                y = (1.0f - y) * clientRect.Height;
    
                Point cur = new Point(); 
                cur.X = (int)x;
                cur.Y = (int)y;
    
                ClientToScreen(TC.Pmr.WindowHandle, ref cur);
    
                MouseControl.MoveMouse(cur.X, cur.Y);
            }
    This method works on all three computers, all resolutions, windowed or full screen and directx 9 or 11.

    Thought I would pass this on in case anyone else was having similar issues.

    -counted

Page 2 of 2 FirstFirst 12

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 04:13 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