New quest offset and structure

Credits to gogigogi1
This commit is contained in:
elb
2024-12-09 21:32:24 -05:00
committed by Héctor Giménez
parent 889fa020f2
commit 77bf135bf8
4 changed files with 59 additions and 53 deletions

View File

@@ -32,11 +32,12 @@ func (gd *GameReader) GetData() data.Data {
hover := gd.hoveredData()
// Quests
q1 := uintptr(gd.Process.ReadUInt(gd.moduleBaseAddressPtr+0x22E2978, Uint64))
q2 := uintptr(gd.Process.ReadUInt(q1, Uint64))
gameQuestsBytes := gd.Process.ReadBytesFromMemory(q2, 85)
// q1 := uintptr(gd.Process.ReadUInt(gd.moduleBaseAddressPtr+0x22E2978, Uint64))
// q2 := uintptr(gd.Process.ReadUInt(q1, Uint64))
// q2 := uintptr(gd.Process.ReadUInt(gd.moduleBaseAddressPtr+0x22F1E79, Uint64))
gameQuestsBytes := gd.Process.ReadBytesFromMemory(gd.moduleBaseAddressPtr+0x22F1E79, 85)
gameQuestsBytes = gameQuestsBytes[3:]
// gameQuestsBytes = gameQuestsBytes[3:]
corpseUnit := rawPlayerUnits.GetCorpse()
d := data.Data{