upgrade quest ptr
This commit is contained in:
@@ -31,9 +31,11 @@ func (gd *GameReader) GetData() data.Data {
|
|||||||
hover := gd.hoveredData()
|
hover := gd.hoveredData()
|
||||||
|
|
||||||
// Quests
|
// Quests
|
||||||
pUnitData := playerUnitPtr + 0x10
|
q1 := uintptr(gd.Process.ReadUInt(gd.moduleBaseAddressPtr+0x230E9A8, Uint64))
|
||||||
playerNameAddr := uintptr(gd.Process.ReadUInt(pUnitData, Uint64))
|
q2 := uintptr(gd.Process.ReadUInt(q1, Uint64))
|
||||||
gameQuestsBytes := gd.Process.ReadBytesFromMemory(playerNameAddr-0x28D, 82)
|
gameQuestsBytes := gd.Process.ReadBytesFromMemory(q2, 85)
|
||||||
|
|
||||||
|
gameQuestsBytes = gameQuestsBytes[3:]
|
||||||
|
|
||||||
d := data.Data{
|
d := data.Data{
|
||||||
Corpse: corpse,
|
Corpse: corpse,
|
||||||
|
|||||||
Reference in New Issue
Block a user