[C#] Enigma.D3 menu

Shout-Out

User Tag List

Page 14 of 63 FirstFirst ... 101112131415161718 ... LastLast
Results 196 to 210 of 940
  1. #196
    axlrose's Avatar Member
    Reputation
    1
    Join Date
    May 2014
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by NoCopyPaste View Post
    ok, thanks :)
    then this is my dump:
    What I can see from you 3 scene dump:
    - Your SceneSnoId is at x0DC_SceneSnoId and it should be at x0E8_SceneSnoId (the SceneSnoId of your scene instance one is 311316 which is in "West March", scene 2 is 311295, etc.)
    - Your Collection.Container is sizeing your Legacy.Scene too small (0x014 byte to small to be exact). I can see this by looking at the first row x000_Id = -1 (scene is unloaded and not active), at the second row the -1 of your second scene instance has shifted to column _x014 (which is -1). Scene instance 3 is at column _x028 (which has an offset of 0x28 bytes).

    So the questing is what is your x104_ItemSize in Collection.Container.GetEnumerator() say. This should be larger than or equal to Legacy.Scene.SizeOf (which is 0x2A8).
    Last edited by axlrose; 06-13-2014 at 11:48 AM.

    [C#] Enigma.D3
  2. #197
    Ferroks's Avatar Member
    Reputation
    8
    Join Date
    Dec 2012
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by enigma32 View Post
    Since you people seem really interested in a map hack I'll post/commit this later today or tomorrow. Have to finish some other stuff before I have time to deal with it. If anyone wanna be prepared, go learn WPF
    I look forward to)

  3. #198
    NoCopyPaste's Avatar Member
    Reputation
    1
    Join Date
    Apr 2014
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by axlrose View Post
    So the questing is what is your x104_ItemSize in Collection.Container.GetEnumerator() say. This should be larger than or equal to Legacy.Scene.SizeOf (which is 0x2A.
    I get 700 as x104_ItemSize which is 0x2BC this is exactly the 14 byte difference, I just adjusted the sizeof variable was this the correct fix?
    because my data finally looks promising
    thank you so much for your help and patience

  4. #199
    axlrose's Avatar Member
    Reputation
    1
    Join Date
    May 2014
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by NoCopyPaste View Post
    I just adjusted the sizeof variable was this the correct fix?
    Glad it's better :-). x104_ItemSize of 700 is correct. Which "sizeof" do you mean, when you say you adjusted the size?
    Last edited by axlrose; 06-13-2014 at 12:39 PM.

  5. #200
    NoCopyPaste's Avatar Member
    Reputation
    1
    Join Date
    Apr 2014
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the sizeof member in every memory object, I think its used to make arrays of the specified type, i guess

  6. #201
    ileandros's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Enigma is there a way to get UI from offsets with bucket?
    Something like var.GetOfsUI(string "Root.NormalLayer.deathmenu_dialog", bucket 793)????

    and then something to get the given offsets position?
    So take the returned offset of our above function and then something to return its position?
    Something like:
    Code:
    GetUIPosition(ofs) ;the offset is returned by the above function
    	array point[4]
    	point[0] = MemoryRead($ofs + 0x4D8, d3, "float")
    	point[1] = MemoryRead($ofs + 0x4DC, d3, "float")
    	point[2] = MemoryRead($ofs + 0x4E0,d3, "float")
    	point[3] = MemoryRead($ofs + 0x4E4, d3, "float")
    	return point
    OR a similar way to do what i am trying to do here?

    Edit: How to you performe a simple memory read btw?
    Last edited by ileandros; 06-13-2014 at 07:19 PM.

  7. #202
    enigma32's Avatar Legendary
    Reputation
    912
    Join Date
    Jan 2013
    Posts
    551
    Thanks G/R
    4/738
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ileandros View Post
    Enigma is there a way to get UI from offsets with bucket?
    Something like var.GetOfsUI(string "Root.NormalLayer.deathmenu_dialog", bucket 793)????

    and then something to get the given offsets position?
    So take the returned offset of our above function and then something to return its position?
    Something like:
    Code:
    GetUIPosition(ofs) ;the offset is returned by the above function
        array point[4]
        point[0] = MemoryRead($ofs + 0x4D8, d3, "float")
        point[1] = MemoryRead($ofs + 0x4DC, d3, "float")
        point[2] = MemoryRead($ofs + 0x4E0,d3, "float")
        point[3] = MemoryRead($ofs + 0x4E4, d3, "float")
        return point
    OR a similar way to do what i am trying to do here?

    Edit: How to you performe a simple memory read btw?
    Hm, I have no idea what you're talking about or trying to do... :C

    Simple memory read?
    Engine.Current.Memory.Read<T>(int address); or with another MemoryObject (also has the Memory property).

    Enigma.ProcessMemory = lowest level, dealing with absolute addresses
    Enigma.MemoryObject = memory object with known address, dealing with relative addresses (Engine is special, address is set to 0)

    change access to public if you need to

  8. #203
    tgo's Avatar Member
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    15
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by enigma32 View Post
    Hm, I have no idea what you're talking about or trying to do... :C

    Simple memory read?
    Engine.Current.Memory.Read<T>(int address); or with another MemoryObject (also has the Memory property).

    Enigma.ProcessMemory = lowest level, dealing with absolute addresses
    Enigma.MemoryObject = memory object with known address, dealing with relative addresses (Engine is special, address is set to 0)

    change access to public if you need to
    I think he wants a helper to be able to access a specific control or dialog based on the name provided, this would be helpful. I was just taking a look at this and a lot has changed since the conversations on earlier pages or it has been removed any easy way to enumerate controls currently visible to the user?

    ObjectManager.x984_UI a good place to start?

    Second question: trying to help out on the mesh question above however in the latest version this no longer exists any comments?
    Engine.Current.ObjectManager.x798_Storage.x1BC_Scenes.x11C_Items

    x1BC_Scenes is replaced by x0E8_Ptr_116Bytes_Scenes

    Thanks.

  9. #204
    enigma32's Avatar Legendary
    Reputation
    912
    Join Date
    Jan 2013
    Posts
    551
    Thanks G/R
    4/738
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by tgo View Post
    I think he wants a helper to be able to access a specific control or dialog based on the name provided, this would be helpful. I was just taking a look at this and a lot has changed since the conversations on earlier pages or it has been removed any easy way to enumerate controls currently visible to the user?
    Something like this should work if one knows the name or hash:
    Engine.Current.ObjectManager.x984_UI.x0000_Controls.x10_Map["Root.NormalLayer.inventory_dialog_mainPage"].Dereference<UIControl>()

    The map can be enumerated.

    There are a ton of known UI names in Engine.UIReferences

    Originally Posted by tgo View Post
    Second question: trying to help out on the mesh question above however in the latest version this no longer exists any comments?
    Engine.Current.ObjectManager.x798_Storage.x1BC_Scenes.x11C_Items

    x1BC_Scenes is replaced by x0E8_Ptr_116Bytes_Scenes
    Structure of a Scene was changed in some patch, I didn't bother figuring it out again, barely understood it even before. It's a long way down on my mental TODO list.

  10. #205
    ileandros's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by enigma32 View Post
    Something like this should work if one knows the name or hash:
    Engine.Current.ObjectManager.x984_UI.x0000_Controls.x10_Map["Root.NormalLayer.inventory_dialog_mainPage"].Dereference<UIControl>()

    The map can be enumerated.

    There are a ton of known UI names in Engine.UIReferences

    Structure of a Scene was changed in some patch, I didn't bother figuring it out again, barely understood it even before. It's a long way down on my mental TODO list.
    Engine.Current.ObjectManager.x984_UI.x0000_Controls.x10_Map["Root.NormalLayer.inventory_dialog_mainPage"].Dereference<UIControl>()
    this is what i was talking about but in autoit i also use bucket in the params to find the offset.

    So i am trying to do a memory read of the offset returned above to be able to find its position. There is propably another way to find it but i dont know it.
    Anyway i am trying to a simple memory read with standard address but i cant seem to make it work.
    I have an array and i am reading it like this:
    point[1] = Engine.Current.Memory.Read<ProcessMemory>(ofs + 0x0001);
    but i get an error that it has some invalid arguments... Give me a hand here please.
    And it case i want to do a float search dont i have to specify it it the memory read?

  11. #206
    azgul's Avatar Member
    Reputation
    8
    Join Date
    Jun 2012
    Posts
    107
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm guessing what you want to do is something along the lines of this?

    Code:
    public static bool Click(string name)
    {
    	UIControl control = new UIControl(Engine.Current.Memory, Engine.Current.ObjectManager.x984_UI.x0000_Controls.x10_Map[name].Value.Address);
    	UIRect rect = control.x4D8_UIRect.TranslateToClientRect(1920, 1080);
    
    	if (IsVisible(name))
    	{
    		Console.WriteLine("Clicking " + control.x030_Self);
    		Thread.Sleep(200);
    		Util.Click((int)rect.Left, (int)rect.Top, (int)rect.Right, (int)rect.Bottom);
    		return true;
    	}
    	return false;
    }

  12. #207
    ileandros's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by azgul View Post
    I'm guessing what you want to do is something along the lines of this?

    Code:
    public static bool Click(string name)
    {
    	UIControl control = new UIControl(Engine.Current.Memory, Engine.Current.ObjectManager.x984_UI.x0000_Controls.x10_Map[name].Value.Address);
    	UIRect rect = control.x4D8_UIRect.TranslateToClientRect(1920, 1080);
    
    	if (IsVisible(name))
    	{
    		Console.WriteLine("Clicking " + control.x030_Self);
    		Thread.Sleep(200);
    		Util.Click((int)rect.Left, (int)rect.Top, (int)rect.Right, (int)rect.Bottom);
    		return true;
    	}
    	return false;
    }
    I think so but this part throws me errors
    if (IsVisible(name))
    {
    Console.WriteLine("Clicking " + control.x030_Self);
    Thread.Sleep(200);
    Util.Click((int)rect.Left, (int)rect.Top, (int)rect.Right, (int)rect.Bottom);
    return true;
    }
    return false;
    isvisible and Util.Click errors. If you have the entire code post it please so i can just test it.

    and a consolewrite of the left top right bottom returns me different from what my autoit code returns. However help me performe a click to see if will work correctly.

  13. #208
    azgul's Avatar Member
    Reputation
    8
    Join Date
    Jun 2012
    Posts
    107
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    IsVisible checks UIControl.x024_Visibility, the reason why I left it out is because I was told I'm not doing it correctly. x024 is a field of flags which is supposed to be 3 when invisible and 23 when visible. But I had some cases where the field was some obscure large number but checking against 3/23 or their hex counter parts should do the trick.
    Util.Click just randomizes click location and moves cursor to the position before clicking.

  14. #209
    ileandros's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by azgul View Post
    IsVisible checks UIControl.x024_Visibility, the reason why I left it out is because I was told I'm not doing it correctly. x024 is a field of flags which is supposed to be 3 when invisible and 23 when visible. But I had some cases where the field was some obscure large number but checking against 3/23 or their hex counter parts should do the trick.
    Util.Click just randomizes click location and moves cursor to the position before clicking.
    Still returns are wrong coords for me.

    Anyway can you help me performe a memory read?
    Code:
    ofs = Engine.Current.ObjectManager.x984_UI.x0000_Controls.x10_Map["Root.NormalLayer.inventory_dialog_mainPage"].Dereference<UIControl>();
    i tried this but doesnt work
    Engine.Current.Memory.Read<ProcessMemory>(ofs + 0x0001);

  15. #210
    azgul's Avatar Member
    Reputation
    8
    Join Date
    Jun 2012
    Posts
    107
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wtf? :P when you dereference the UIControl you receive an UIControl object as you saw in my code. I have no idea what you're doing there, but it's certainly not needed..

    You shouldn't need to perform any memory reads like you do there, the framework will do its magic on its own when you interact with the defined structures..
    Last edited by azgul; 06-14-2014 at 08:24 AM.

Page 14 of 63 FirstFirst ... 101112131415161718 ... LastLast

Similar Threads

  1. [Hack] Enigma TriggerBot - AutoIT
    By Zolyrica in forum Overwatch Exploits|Hacks
    Replies: 9
    Last Post: 09-12-2016, 02:37 PM
  2. [Release] [C#] 1.0.8.16603 Enigma.D3
    By enigma32 in forum Diablo 3 Memory Editing
    Replies: 33
    Last Post: 05-16-2015, 01:40 PM
  3. Enigma's Smartcast Manager
    By da_bizkit in forum League of Legends
    Replies: 3
    Last Post: 10-22-2012, 02:11 PM
  4. request Blue suede boots -> enigma boots
    By Geico in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 12-27-2007, 05:40 AM
All times are GMT -5. The time now is 05:59 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