A simple script for fingerprinting a user in Game Maker Studio. My use case is to fuzzily identify different devices / users coming from the same IP address when they connect to my server.
Inspired by https://github.com/Valve/fingerprintjs2.
How it works
The fingerprint is calculated by writing the following to a buffer and retrieving an MD5 hash.
On Windows-only, the following environment variables are used:
If you have ideas on how to improve the fingerprinting, either with a better hash function or by utilizing more feature detection functions in Game Maker Studio, please post an issue or submit a pull request on Github: https://github.com/silbinarywolf/fingerprint-gml.
Alternatively, you can post on the forum topic here: https://forum.yoyogames.com/index.php?threads/free-fingerprint.44167/
Ideally this script would have better fingerprinting by being able to utilize RAM information, GPU information and CPU information such as core count / GHZ / cache sizes. Unfortunately, I haven't found any such scripts / functions in the Game Maker Studio 2 documentation.