3.13 Some Useful Static Offsets menu

User Tag List

Results 1 to 5 of 5
  1. #1
    wlastas's Avatar Member
    Reputation
    2
    Join Date
    Apr 2010
    Posts
    57
    Thanks G/R
    8/4
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    3.13 Static Offsets for: Terrain, Elements=>Login_panel, Hero_pick, Esc_dialog

    Hey.
    I plan to post several offsets that I found in this thread - perhaps, while the PoeHelper is released, they will help someone

    TerrainData [updated for 3.13.0c]
    sorry for the late update - i was sleeping
    Code:
     
     public long address {get{
                   var one = ui.M.Read<long>(ui.M.AddressOfProcess + 0x02516E28); // =>0x02516E18
                var two = ui.M.Read<long>(one + 0x30);
                return two + 0x660 - 0x18;
                }
            }
    public TerrainData data => ui.M.Read<TerrainData>(address);
    the old TerrainData structure works fine with this offset
    Code:
    [StructLayout(LayoutKind.Explicit, Pack = 1)]
        public struct TerrainData {
            [FieldOffset(0x18)] public long NumCols;
            [FieldOffset(0x20)] public long NumRows;
            [FieldOffset(0xd8)] public NativePtrArray LayerMelee;
            [FieldOffset(0xf0)] public NativePtrArray LayerRanged;
            [FieldOffset(0x108)] public int BytesPerRow;
        }
    Attached Thumbnails Attached Thumbnails 3.13 Some Useful Static Offsets-3-13-map-jpg  
    Last edited by wlastas; 01-21-2021 at 01:31 AM.

    These ads disappear when you log in.

  2. Thanks poemain02, Genocyber (2 members gave Thanks to wlastas for this useful post)
  3. #2
    wlastas's Avatar Member
    Reputation
    2
    Join Date
    Apr 2010
    Posts
    57
    Thanks G/R
    8/4
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Code:
    [StructLayout(LayoutKind.Explicit, Pack = 1)]
        public struct IngameUElementsOffsets {
     [FieldOffset(0x848)] public long ModalDialog;
    ModalDialog.jpg
    Last edited by wlastas; 01-16-2021 at 11:09 PM.

  4. #3
    wlastas's Avatar Member
    Reputation
    2
    Join Date
    Apr 2010
    Posts
    57
    Thanks G/R
    8/4
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Login/ the Hero selection Windows/frames
    in my opinion, very useful for automatically relogging bots after being kicked out of the server


    3.13-hero.jpg
    3.13-login.jpg

    Code:
     public long login_root_addres {
                get {
                    var one = M.Read<long>(M.AddressOfProcess + 0x02516DD8);
                    var two = M.Read<long>(one + 0x118);
                    return M.Read<long>(two + 0x90);
                }
            }
            public Element LoginRoot => GetObject<Element>(login_root_addres);
            public Element Login_panel {
                get {
                    var one = LoginRoot.Children.FirstOrDefault(c => c.Children.Count == 8);
                    if(one==null) return null;
                    var too = one.Children.FirstOrDefault(c => c.Children.Count == 22);
                    return too;
                }
            }
            public HeroFrame Hero_panel {
                get {
                    if(LoginRoot == null)
                        return null;
                    else return GetObject<HeroFrame>(LoginRoot.GetChildAtIndex(3).Address);
                }
            }
     public class HeroFrame :Element {
            Element _el = null;
            public HeroesList heroes_list { get { if(heroes_frame == null) 
                        return null;
                    return GetObject<HeroesList>(heroes_frame.GetChildFromIndices(1, 1).Address);
                } }
            public Element play_btn => heroes_frame?.GetChildFromIndices(3,1);
            Element heroes_frame {
                get {
                    _el = GetChildFromIndices(0, 1, 0, 0, 1);
                    return (_el != null)? _el: null;
                }
            }
        }
        public class HeroesList :Element {
            public HeroElement GetSelectedHeroElement() {
                foreach(var e in Children) {
                    var ha = e.Address.ToString("X"); // for debug in CE
                    if(e.IsVisibleLocal && M.Read<byte>(e.Address + 0x114) == 0xff) {
                        var he = GetObject<HeroElement>(e.Address);
                        return he;
                    }
                }
                return null;
            }
        }
        public class HeroElement :Element { 
            public string hero_name=> GetChildFromIndices(0, 2)?.Text;
            public string league => GetChildFromIndices(0, 5)?.Text;
            public string lvl => GetChildFromIndices(0, 4)?.Text;
            public override string ToString() {
                return hero_name + "[" + lvl + "] " + league;
            }
        }
    Last edited by wlastas; 01-17-2021 at 10:49 AM.

  5. #4
    weiwenhuaming's Avatar Member
    Reputation
    1
    Join Date
    Mar 2020
    Posts
    8
    Thanks G/R
    2/0
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you make a PreloadAlert for Tencent?

  6. #5
    wlastas's Avatar Member
    Reputation
    2
    Join Date
    Apr 2010
    Posts
    57
    Thanks G/R
    8/4
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by weiwenhuaming View Post
    Can you make a PreloadAlert for Tencent?
    I don't know anything about both

Similar Threads

  1. Some Useful ASM info
    By Hausmaster in forum WoW Memory Editing
    Replies: 1
    Last Post: 03-23-2008, 06:32 PM
  2. Some useful WOW warrior tips
    By warhoo in forum World of Warcraft General
    Replies: 2
    Last Post: 11-26-2007, 03:36 PM
  3. Some useful stuff.. for wow that is!
    By Nolixz in forum World of Warcraft Guides
    Replies: 11
    Last Post: 01-15-2007, 07:05 PM
  4. Some Useful AutoIT Scripts
    By barnyonfire1 in forum World of Warcraft Bots and Programs
    Replies: 21
    Last Post: 11-22-2006, 01:25 AM
All times are GMT -5. The time now is 06:00 PM. 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