Hi, I need hints for reading rift/grift progress. Quest structure for quest (X1_LR_DungeonFinder) does not contain it.
Hi, I need hints for reading rift/grift progress. Quest structure for quest (X1_LR_DungeonFinder) does not contain it.
Can probably find it through TurboHUD since it has that... if you can look through its code that is idk.
Code:public static double CurrentRiftSouls { get { var ptr = Core.Memory.Read<IntPtr>(ObjectManager + 0x790); return Math.Round(Core.Memory.Read<float>(ptr + 0xF4), 3); } } public static int RiftCompletionPercentage { get { var current = CurrentRiftSouls; if (current > 0) { return (int)((current / 400.0) * 100.0); } return 0; } }
@CrEEzz : with UI :
- offset of "Root.NormalLayer.eventtext_bkgrnd.eventtext_region.stackpanel.rift_wrapper.rift _container.rift_progress_bar" + 0xA48
- read as float and * 100
@Sacred what is exactly RiftSouls ?
Actually i called it like that, before 2.1 it was simply how much mobs you need to kill in rift to spawn rift guardian, this number was 450.
Now every mob gives some progress based on how much experience he gives to you, so i called it a soul. You know, every mob have a soul and he sacrifice it for rift guardian upon death, when 400 souls are collected, RG will spawn.
Thanks. I just had to change xF4 field in ObjectsManager.Struct790 from int to float and works great.
BTW. Enigma, could you please update this field in EnigmaD3 and call it RiftSouls or sth like that?
Just in case anyone is interested here is update function:
Code:float rift_souls = (float)Math.Round(Engine.Current.ObjectManager.x790._x0F4_RiftSouls, 3); if (rift_souls > 0) return (int)((rift_souls / 528) * 100); return 0;
First, Enigma... amazing library. Thank you SO MUCH!
I realize this thread is now two years old, and the Enigma library has changed since, obviously. How do you go about grabbing Riftprogress now? Souls is still part of X790, but there no longer appears to be an Engine.Current.ObjectManager.x790 and I am not sure what to do with the Ptr<X790> x790_Ptr_292Bytes (requires an index, and index 0 did not appear to return a valid value for x074_RiftSouls).
Most everything else has been very straightforward, in large part thanks to the excellent work here and elsewhere.
Any assistance would be great!
Edited to note: Specifically looking at -greater- rift progress.
Last edited by Someoneunimportant; 02-20-2016 at 04:55 PM.
Enigma.D3.Engine.Current.ObjectManager.x790.Dereference().x0F4_RiftProgress
Yeah, with this I see "ObjectManager does not contain a definition for x790". The key three libraries (Core, MEmory, D3.Memory) are included in my solution, able to access everything above public class X790 but I see no exposed x790 as an actual instantiated object.
Last edited by Someoneunimportant; 02-21-2016 at 12:04 AM.
Scratch that. Still having issue above.Found solution.
Enigma.D3.Engine.Current.ObjectManager.x790_Ptr_292Bytes[0].x0F4_RiftProgress
Last edited by Someoneunimportant; 02-21-2016 at 12:41 AM.
Thanks Great learning experience