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
19 stars 28 forks source link

RMC can get permanently out of sync with the map #91

Closed XertroV closed 10 months ago

XertroV commented 1 year ago

The plugin can get out of sync with itself so it always loads the wrong map.

To Reproduce Steps to reproduce the behavior:

  1. start RMC
  2. skip map
  3. 'force switch' during loading screen
  4. maybe do that a few times
  5. you then get the 'actual map is not the same that we got'
  6. clicking 'change map' will request a new map from TMX but what should have been the prior map gets loaded instead

e.g., RMC wants map A to be loaded, but it's some other map. clicking change map requests a new map B and loads map A. since B is the expected map, RMC thinks it's not working and asks you to change the map again.

Expected behavior

obvious

Screenshots

image

Openplanet (please complete the following information):

Additional context Using my api; base url is https://map-montior.xk.io -- it's much faster than TMX so maybe that's why

GreepTheSheep commented 1 year ago

Yeah this bug was known since the beginning of this button. I'll maybe try adding a condition to disable this button when the game finds and loads a map.