jamesy012 / OpenPlanet-BestCheckpoints

Open Planet plugin for Trackmania 2020 that tells you how quick you were compared to your best time for a checkpoint
https://openplanet.dev/plugin/bestcheckpoints
MIT License
3 stars 2 forks source link

Wrong times being recorded #23

Closed bvergnaud closed 6 months ago

bvergnaud commented 1 year ago

Hello,

For a few weeks now, I've had an issue where the plugin just give me wrong times on the checkpoints and whole race. I recorded a quick video to illustrate the issue. It's a bit too big for GitHub, so here: https://youtu.be/9_tY86R_wKQ

Prior to recording this video, I had uninstalled the plugin, completely deleted its data directory (C:\Users\ben\OpenplanetNext\BestCP) and reinstalled the plugin. This is a new map that I have never played. At the end of the run, you can see that both the in-game timer and MLHook timer show a run time of 37'257". But somehow this plugin tells me my PB is 37'254". This is a very short map, but to be clear the same behaviour applies on every checkpoint, of every map. And the delta between the plugin time and real time is not constant. Sometimes it drifts forward, sometimes backward, never more than a few milliseconds.

I'm not sure what could cause this. The plugin did work normally for a while. I haven't yet tested downgrading openplanet / the plugin to see if I can find a combination of versions that work. Currently, I have these versions:

[        Platform] [18:05:32]  Openplanet: 1.25.21 (next, Public, 2022-12-14)
...
[    ScriptEngine] [18:05:49]  Loaded zipped plugin 'BestCheckpoints' (version 1.6.2)