How to get player instance, if player is not in the game?

Here’s a post I found on how to access offline player’s data with DS2:

Looks like you can.