Posted September 03, 2024 by WinterDream Games Creator
Here we are with a patch that covers two big problems, one is a known problem, the other was a surprise!
The unknown problem was that the plugin would try to load an existing database as encrypted or clear based on the "Encrypt data?" flag, but that happened even the dev changed idea mid development. Trying to load a clear code with encryption would throw a fatal error, while loading an encrypted database without decryption would load gibberish informations that would fatal crash the plugin once the player tried to open the Achievements! Worse, if the dev would only save new info, the plugin creates an half encrypted half decrypted database that is now rendered useless, wipe is the only solution.
Now the plugin will ignore the Encryption flag on database load and will check if the database is encrypted or not before processing the load.
Another long lasting problem are pictures being shown misaligned under certain circumstances (most notably, when UI resolution and Screen resolution don't match, like in the demo version of VisuStella used by many) that I thought to have solved in 1.3 but that seem to not be the case. Now I changed once again the pictures generation moving the process from the Scene to the Window, this way the pictures SHOULD be following perfectly the windows coordinates. I ran many test with many crazy resolutions and all worked just fine, if those problems persist then I would point to a plugin incompatibility with something modeling the graphics.
Final but important note!
It looks like the writer function is slower than the JS code so please give some times between commands. Writing many achievements at once is fine as they simply queque but if you are about to wipe the database then it needs a little time before writing on it again, doing things too fast may result in an incomplete wipe paired with an incomplete writing
VERSION 1.4: