Thank God, the basic offsets at first glance have not suffered - which means that much can be easily restored in the near future...
I already confirm (If you use my way to find IngameDataAddress) the correct offsets() for:
Terrain, LocalPlayer, EntityList
Code:
long IngameDataAddress {
get {
var offs_0 = ui.M.Read<long>(ui.M.AddressOfProcess +
ui.M.base_offsets[OffsetsName.GameStateOffset]);
var offs_1 = ui.M.Read<long>(offs_0 + 0x8);
var offs_2 = ui.M.Read<long>(offs_1 + 0x0);
var offs_3 = ui.M.Read<long>(offs_2 + 0x30);
var res = offs_3 + 0x80;
var res_x = res.ToString("X"); //26A4023F330
return res;
}
}
[StructLayout(LayoutKind.Explicit, Pack = 1)]
public struct IngameDataOffsets {
[FieldOffset(0x80)] public long CurrentArea;
[FieldOffset(0xA0)] public byte CurrentAreaLevel;
[FieldOffset(0x104)] public uint CurrentAreaHash;
[FieldOffset(0x118)] public NativePtrArray MapStats;
[FieldOffset(0x124)] public long LabDataPtr;
[FieldOffset(0x478)] public long LocalPlayer;
[FieldOffset(0x520)] public long EntityList;
[FieldOffset(0x528)] public long EntitiesCount;
[FieldOffset(0x6A0)] public TerrainData Terrain;
}
[StructLayout(LayoutKind.Explicit, Pack = 1)]
public struct TerrainData { // 0x6A0
[FieldOffset(0x18)] public long Cols; //6b8
[FieldOffset(0x20)] public long Rows;//6C0
[FieldOffset(0xD8)] public NativePtrArray LayerMelee;//778
[FieldOffset(0xF0)] public NativePtrArray fly;//790
[FieldOffset(0x108)] public int BytesPerRow;//7A8
}
New correct offsets in the ExileAPI paradigm
Recompile your GameOffsets and please write here if everything worked for you
Code:
public struct IngameDataOffsets {
...
[FieldOffset(0x4F8)] public long LocalPlayer; //478
[FieldOffset(0x5A0)] public long EntityList; //520
[FieldOffset(0x5A8)] public long EntitiesCount; //528
[FieldOffset(0x6A0 + 0x80)] public TerrainData Terrain;
I can put a ready-made new DLL here, but it's not very good for your safety.
Last edited by GameAssist; 07-15-2021 at 09:22 PM.
is that the private radar plugin from Qvin? looking nice!!!
no this is entirely my application partially used same code from the ExileAPI
PS Battle royal terrain is simply huge - my navigation map is considered 91 sec on it))
Lol here 30276 sector with 23x23
f* need to optimize now(
Last edited by GameAssist; 07-16-2021 at 12:02 AM.
New correct offsets in the ExileAPI paradigm
Recompile your GameOffsets and please write here if everything worked for you
Code:
public struct IngameDataOffsets {
...
[FieldOffset(0x4F8)] public long LocalPlayer; //478
[FieldOffset(0x5A0)] public long EntityList; //520
[FieldOffset(0x5A8)] public long EntitiesCount; //528
[FieldOffset(0x6A0 + 0x80)] public TerrainData Terrain;
Unfortunately recompiling with those offsets didn't fix anything.
Unfortunately recompiling with those offsets didn't fix anything.
what exactly doesn't work? I loaded it without errors - now I'll try to connect the plugin for the developer - hmm, it's not here, which is now by default
what exactly doesn't work? I loaded it without errors - now I'll try to connect the plugin for the developer - hmm, it's not here, which is now by default
Not sure what these offsets were supposed to fix, but out of all the base plugins, only SimpleStashie is working on a clean build with your changes (even though all plugins are loaded).
Not sure what these offsets were supposed to fix, but out of all the base plugins, only SimpleStashie is working on a clean build with your changes (even though all plugins are loaded).
I only adjusted 4 offsets which I use myself - and they work correctly. I don't know anything about everything else - test and unsubscribe about errors in branches with the corresponding plugins, so that their authors initiate the search for the necessary offsets, etc.
Same here. Only SimpleStashie works as of 3.14.70. Other plugins such as MinimapIcons, SimplePickit, and Terrains stopped working. With the league ending soon, I'll just wait patiently for ExileAPI to update again.
just my two cents: current state for me is "work for 1 minute, then just stop doing anything"
it's ok in the end of the league, patiently will wait for the 3.15 update
thanks a lot for your work!