HP/MP work just fine for me, used for that tool, but they do only for your first character after login, re-log seems to change the offset.
The proper way would be looking up root Game object and navigating to Player from there, in a way like GameHelper and ExileCore (ExileCore2 (ExileApi successor) - beta access) do it (pattern search)