Weird black screen vehicles bug

So, i ran into a weird glitch(?). Basically, i want to make an item that sets an invisible "beacon", that marks a spot on the map, as well as the map ID, the player currently is on, using variables. I set it up like this:


1.jpg


The boulder on the center is what allows me to transport to the beacon that has been set last, when i interact with it, provided i have set a beacon first, which is confirmed by the switch "used transport?". So, using the beacon item will activate two common events, one of them simply turns on the switch, and the other sets the player's position and map ID, as well as direction (for no actual reason, but i don't really think that's the problem).


2.jpg


3.jpg


4.jpg


And here is the boulder event:


5.jpg


By the way, what happens on the "When No" part was supposed to happen when successfully transporting, but i got it out of the way to make sure that wasn't somehow the problem.


So, everything being apparently fine, and this happens when i test it out, after having first set the beacon, then interacting with the boulder, then saying yes when prompted:


6.jpg7.jpg


9.jpg11.jpg


So basically i get transported into this black screen, on top of a stack with the three vehicles, and i can freely move indefinitely, as far as i know, and drive the vehicles. And no i do not have any map like this made. I've already disabled all my plugins, and the above result is with plugins off. With all of them on, the game crashed after pressing enter or walking around in this same limbo, with a javascript error, i believe, saying: "TypeError - Cannot read property 'tfup' of undefined" (it is 'tf+direction i'm facing'). I have WAY too many plugins to narrow down the one that causes the error though. But the above is with ALL of them OFF. Any idea what the heck is going on?
you can only call one common event from an item . if you place two common event effects, the second will overwrite the first.


Please combine both events into a single one and it should work if the logic is correct (didn't check the logic)


Additionally, please use [alt]-[prtscrn] for screenshots, that will limit the screenshot to the active window and make everything better readable
Thanks a lot! It's working perfectly now.


P.S.:I did not know about the "alt+prtscn" thing, thanks.

Original thread: https://forums.rpgmakerweb.com/threads/weird-black-screen-vehicles-bug.70802/