mattgodbolt / xania

Xania MUD source
Other
58 stars 13 forks source link

pfu player file upgrade utility and prepare-pfiles.sh upgrade script #255

Closed snellers closed 3 years ago

snellers commented 3 years ago

A new tool called pfu plus a pair of wrapper scripts. This enables us to proactively upgrade all player files as part of a release. It works by loading the game world, simulating logging in each char and then executing a list of tasks on the char before saving it.

A grep reveals that on the host, all existing pfiles are either v3 or v4.

Explicit Upgrades

Implicit Upgrades

As well as the explicit tasks, there are several updates that pfu will make to existing pfiles simply by saving them: