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

fix: remove length parameters #78

Closed EepyElvyra closed 1 year ago

EepyElvyra commented 1 year ago

This allows you to disable the usage of length query parameters in API requests. This offers a partial fix for #68.

Ideally this also completely fixes the timeout issues, but I'm not sure if making query parameters opt-in immediately is the best thing to do.

EepyElvyra commented 1 year ago

Alright, changed

Wain4 commented 1 year ago

"3 min" shouldn't be in the list of allowed lengths, the original map search returned times strictly less than 3 minutes. (length 8 and 9 are "2 min 30 s" and "3 min", lengthop 1 and 3 are < and <=, the two versions of the query were 8/3 and 9/1)