Map Effects script crashes upon initiation. Can't find the cause!!!

Hello, I'm using this script to create trippy visual effects https://forums.rpgmakerweb.com/index.php?threads/map-effects.13941/

I've installed a new launcher for my game, called MKXP, and now, because of it I get this strange crashing message, which I've never seen before.

It happens whenever "Map Effects" are prompted via a script call, rendering the script completely obsolete.
Spoiler: event prompt
1717454882895.png
Spoiler: mystifying crash report
1717454783990.png
Spoiler: line that causes the error???
1717454971865.png

I would really like to keep the new launcher intact. Where can i start fixing the crash? First time seeing this.
MKXP is not compatible with a lot of scripts, especially if they call on WIN 32 Api stuff or .dll's.
In the script, find
Code:
alias update_animation_Fixnum update_animation_Float
alias update_animation_Bignum update_animation_Float
and try adding to that this
Code:
alias update_animation_Integer update_animation_Float

Bignum and Fixnum were removed in a later version of Ruby, which MKXP uses v3+ IIRC.
Even back in the days of Ruby 1.8 and 1.9 people were not supposed to call Bignum and Fixnum directly. Integer or Float were already there to address those concerns. Then in 2.x and 3.x devs are not allowed to use them any longer.

Last time mkxp was compiled, it was against Ruby 2.1, and I've never seen it using 3.x... I personally hate the 3.x branch because they started using weird stuff like Primitive and moving essential methods like Dir.chdir or Dir["something"] to Ruby files so if you only include the ruby dll with your project like you do with the 2.x branch, it will never find those methods and will crash. Thus, people are now in need of including the whole contents of your ruby 3.x directory in your games.

Original thread: https://forums.rpgmakerweb.com/threads/map-effects-script-crashes-upon-initiation-cant-find-the-cause.169231/