Skip to content

Replace custom GUID generator with UUID v5 #69

@cetteup

Description

@cetteup

The current GUID generator creates UUID-looking ids that aren't actually UUIDs. It also only works for games using {ip}:{port} to identify servers. To simplify things and gain more flexibility, switching to Python's built-it UUID v5 implementation seems like a good option. Using a game-specific namespace/prefix would even ensure that ids are unique across games.

Note: This will be a breaking change, as old GUIDs will not be matched with the new ones. I might be worth implementing a simple one-time migration.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions