RuurdBijlsma / tm-split-speeds

TrackMania Openplanet plugin to show speed difference to your personal best at checkpoints.
https://openplanet.dev/plugin/splitspeeds
GNU General Public License v3.0
2 stars 7 forks source link

Incorrect splits for Rally car #13

Closed Brainy0207 closed 8 months ago

Brainy0207 commented 8 months ago

I noticed something weird.

When driving the Rally car sometimes the splits seem to be completely wrong. Like I get green splits for multiple CPs, but still lose time (and vice versa).

I will try to take a video later.

Brainy0207 commented 8 months ago

I think this is actually related to #10 Because I realized I only see it when the transformation gate is intersecting a checkpoint.

Brainy0207 commented 8 months ago

I might be imagining things at this point, but i could have sworn I saw split discrepancies that were different from the 0 speed glitch. I tried to replicate it but I couldn't.

Here is the video from a test I did, but it only shows that sometimes the speed is reported as 0.

https://streamable.com/9csx5q

RuurdBijlsma commented 8 months ago

Any chance this was fixed with the latest openplanet update? I can't get the same issue to reproduce with a similar map as the on in your streamable

RuurdBijlsma commented 8 months ago

I say this also because i've had an issue like this with snow car before, but that was fixed by an update to VehicleState, which is an openplanet feature that split speeds depends on

Brainy0207 commented 8 months ago

Doesn't seem to be fixed, it's still happening on my test map. Unless there is an openplanet beta I don't have.

Brainy0207 commented 8 months ago

I have attached my test map: RallyTest.Map.Gbx.zip

RuurdBijlsma commented 8 months ago

interestingly i can only reproduce this when allowing trackmania only 1-2 cores from my CPU

or when i render a video in the background causing 100% cpu usage

RuurdBijlsma commented 8 months ago

i'm curious, what fps do you get? and what cpu do you have?

Brainy0207 commented 8 months ago

I am running on a Ryzen 7 5800. Playing at 60 FPS (because of VSync and 60 Hz monitors).

RuurdBijlsma commented 8 months ago

lol same cpu as me, except i have 5800x3d, weird though that i can't reproduce it without limiting cpu. Maybe it's a framerate thing. i'll try messing with that

RuurdBijlsma commented 8 months ago

yea it's fps

RuurdBijlsma commented 8 months ago

i made an issue for this in the vehiclestate repo since that's whats causing it. https://github.com/openplanet-nl/vehiclestate/issues/17

If this gets resolved the issue should be gone

RuurdBijlsma commented 8 months ago

i fixed it with a workaround, when the next update gets released this issue should be gone