public GameController(Memory memory) { Memory = memory; Area = new AreaController(this); EntityListWrapper = new EntityListWrapper(this); Window = new GameWindow(memory.Process); Game = new TheGame(memory); Files = new FsController(memory); }
public TheGame(Memory m) { this.m = m; this.address = m.ReadInt(m.BaseAddress + Offsets.Base, new int[] { 4, 124 }); this.game = this; }
public void DoPatternScans(Memory m) { int[] array = m.FindPatterns(new Pattern[] { Offsets.maphackPattern, Offsets.zoomhackPattern, Offsets.fullbrightPattern, Offsets.basePtrPattern, Offsets.fileRootPattern, Offsets.areaChangePattern }); MaphackFunc = array[0]; ZoomHackFunc = array[1] + 247; Fullbright1 = m.ReadInt(m.BaseAddress + array[2] + 1487) - m.BaseAddress; Fullbright2 = m.ReadInt(m.BaseAddress + array[2] + 1573) - m.BaseAddress; Base = m.ReadInt(m.BaseAddress + array[3] + 22) - m.BaseAddress; FileRoot = m.ReadInt(m.BaseAddress + array[4] + 40) - m.BaseAddress; AreaChangeCount = m.ReadInt(m.BaseAddress + array[5] + 13) - m.BaseAddress; }
public void DoPatternScans(Memory m) { int[] array = m.FindPatterns(new[] { basePtrPattern, fileRootPattern, areaChangePattern, }); Base = m.ReadInt(m.AddressOfProcess + array[0] + 22) - m.AddressOfProcess; FileRoot = m.ReadInt(m.AddressOfProcess + array[1] + 40) - m.AddressOfProcess; AreaChangeCount = m.ReadInt(m.AddressOfProcess + array[2] + 13) - m.AddressOfProcess; }
public FileInMemory(Memory m, int address) { M = m; Address = address; }
public FileIndex(Memory mem) { this.files = new Dictionary<string, int>(); this.mem = mem; this.BaseItemTypes = new BaseItemTypes(mem, this.FindFile("Data/BaseItemTypes.dat")); }
public Buff(int address, Memory mem) { this.address = address; this.Memory = mem; }
public TheGame(Memory m) { M = m; Address = m.ReadInt(m.AddressOfProcess + Offsets.Base, new[] {4, 124}); Game = this; }
public TheGame(Memory m) { this.M = m; this.Address = m.ReadInt(m.BaseAddress + Offsets.Base, new[]{ 4, 124 }); this.Game = this; }
public FileInMemory(Memory m, int address) { this.m = m; this.address = address; }
public void DoPatternScans(Memory m) { int[] array = m.FindPatterns(basePtrPattern, fileRootPattern, areaChangePattern, inGameOffsetPattern);//, configPattern); Base = m.ReadInt(m.AddressOfProcess + array[0] + 22) - m.AddressOfProcess; FileRoot = m.ReadInt(m.AddressOfProcess + array[1] + 40) - m.AddressOfProcess; AreaChangeCount = m.ReadInt(m.AddressOfProcess + array[2] + 13) - m.AddressOfProcess; InGameOffset = m.ReadInt(m.AddressOfProcess + array[3] + 0x13); //PoeConfigIni = m.ReadString(m.ReadInt(m.AddressOfProcess + array[3] + 0xF)); }