Code:
# Memory addresses and offsets
self.pointer = 0x03891DB0
self.offsets_CurHP = [0x38, 0x18, 0x40, 0x20, 0x208, 0x30]
self.offsets_MaxHP = [0x38, 0x18, 0x40, 0x20, 0x208, 0x2c]
self.offsets_CurMP = [0x38, 0x18, 0x40, 0x20, 0x208, 0x80]
self.offsets_MaxMP = [0x38, 0x18, 0x40, 0x20, 0x208, 0x7c]
# Base pointer for XP, Spirit, and ES
self.ptr_base = 0x3B8DE78
# Pointer chain for XP
self.ptr_chain_xp = [0x38, 0x0, 0x80, 0x20, 0x60, 0x88]
self.offsets_xp = {
"CurrentXP": 0x304,
"NextLevelXP": 0x308,
}
# Pointer chain for Spirit
self.ptr_chain_spirit = [0x60, 0x38, 0x20, 0x50]
self.offsets_spirit = {
"CurrentSpirit": 0x3A0,
"MaxSpirit": 0x3A4,
}
# Pointer chain for Energy Shield (ES)
self.ptr_chain_es = [0x38, 0x0, 0x80, 0x2A8]
self.offsets_es = {
"CurrentES": 0x268,
"MaxES": 0x264,
}
Seems like its not getting the XP, Spirit, and ES values.