The reason for the inaccuracy appears to be that the server saves the length of the file the last time it was played, even if someone quits out early, it counts this as a finished file.
A possible way to make it more consistent:
Have the server store the longest length of a given song, provided its unique song title, artist, and difficulty rating. Very few files are named identically with the same ratings so this would narrow the inconsistencies massively. Basically if someone plays a file and it ends up being shorter than the already recorded time, count this as a quit out.
On top of this, I would recommend trying to find a way to not store results from files that are quit out early. Here's a quick example of why this is a problem:
Basically you can gimmick the leaderboards. This happens intentionally sometimes, and unintentionally some other times. Maybe implement so that popular files, maybe files with more than 50 plays, can be compared against the average number of total steps, and if the file is far below the average, don't count it?Statistics: Posted by Wafles — Sun Jun 30, 2013 1:42 pm
]]>