GreepTheSheep / openplanet-MXRandom

An Openplanet plugin that takes a random map from MX / TMX and play it
https://openplanet.dev/plugin/mxrandom
GNU General Public License v3.0
20 stars 29 forks source link

add current runs to RMT #114

Closed XertroV closed 11 months ago

XertroV commented 1 year ago

this uses MLFeed to provide a current status of each players current run in the RMT session. This can be used to avoid skipping when a player is on a banger run.

(Note: apologies, some of these screenshots are of TMX together not RMT (I had both running) but I copy-pasted the code between them)

Information shown is: player name, current CP count, last CP time, delta to best time of that player this session. When a player finishes, their final time is shown in green or red depending on whether it was better or worse than their best time.

The asterisk indicates >= 1 cp behind.

The sorting method on players is time attack, so it will show players in order of their potential runs. The alternative is the race sorting method, where players with more CPs are near the top (so a slow player with more CPs would be above a fast player with fewer CPs).

Here are some screenshots of what it looks like (with just me testing):

fresh run image

behind by < 1 cp image

when behind by >= 1 cp image

when ahead image

end of run pb image

end of run pb image

end of run not pb image

XertroV commented 1 year ago

Some nice extra things would be showing the medal next to a finish time -- not sure if there are convenient ways to do this already or it would require new code.