altf4 / libmelee

Open Python 3 API for making your own Smash Bros: Melee AI that works with Slippi Online
GNU Lesser General Public License v3.0
237 stars 47 forks source link

Access player codes in slp files #78

Closed SeanBenner closed 3 years ago

SeanBenner commented 3 years ago

New feature request

altf4 commented 3 years ago

added in 0.31.0

altf4 commented 3 years ago

You can access player connect codes with player.connectCode.

Because it's read from the SLP file's metadata element, it'll only show up in games read from SLP file. (not live running netplay games)