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 31 forks source link

MP4 - Plugin stops after starting an RMC/RMS/RMO session with v. 2.2.2 #62

Closed djGLCKR closed 1 year ago

djGLCKR commented 1 year ago

The plugin crashes right after the map starts loading and can't continue with the challenge. When opening the Randomizer Menu, the log shows parsing errors for all maps in history that were played before the update. 2.2.1 fails to compile, and 2.2.0 is functional but with some bugs, using Stadium.

ManiaScript log shows the following:

MXRandom Script exception: Null pointer access
MXRandom  src/Utils/RMC/RMC.as (line 122, column 25)
MXRandom   #0 void RMC::RenderCurrentMap() (src/Utils/RMC/RMC.as line 122)
MXRandom   #1 void RMC::Render() (src/Utils/RMC/RMC.as line 48)
MXRandom   #2 void RMC::RenderRMCTimer() (src/Interface/Views/RMCMenu.as line 131)
MXRandom   #3 void Window::Render() (src/Interface/Window.as line 97)
MXRandom   #4 void Render() (src/Main.as line 60)
Unrolling dangling script UI stack: src/Interface/Window.as line 37
Unrolling dangling script UI stack: src/Interface/Window.as line 35
Unrolling dangling script UI stack: src/Interface/Window.as line 34
Unrolling dangling script UI stack: src/Interface/Window.as line 33
Unrolling dangling script UI stack: src/Interface/Window.as line 32
GreepTheSheep commented 1 year ago

Seems I don't have any errors on my side while making v2.3.0. Will push 2.3.0 soon, lmk if it still happens after this update