Game freeze

The game I’m trying to make suddenly freezes after an event takes place. It was working before now it’s stuck! If anyone is willing to help maybe I should send the game file or something. Maybe is it because of another event taking place simultaneously? I can’t figure out!
It sounds like an autorun event that isn’t getting moved to another page. You need to have a switch/self-switch/variable set on the autorun page with another page with the aforementioned switch/self-switch/variable as the condition. (A Delete Event also works if you want it to be a recurring event every time you enter that particular map.) Screenshots of the event in question would make it easier to diagnose for certain, though.
is it an autorun event? autorun events stop player input and if they dont get turned off (like a switch and page2 page condition with that switch) they will loop forever.
both autorun and parallel events are like this, they dont just play their contents once, they repeat until they get turned off.
only difference between them is 1 stops player input outside of the event's contents while the other still allows you to play like normal while it runs in the background.
Is your event set to autorun? If it is, make sure to turn a self-switch on, then make a new page with what you want the event to do set to parallel. I'm not sure what you mean, though, but here are some tips!
Autorun is for stuff like cutscenes where you don't want the player running around all willy-nilly or trying to throw a bomb in an important NPC's face.
Parallel is best for stuff like a day/night system or things you want running in the background while your players are doing stuff.
I'm not sure if you knew that at first. Or if you tried what I said. 😊
is it an autorun event? autorun events stop player input and if they dont get turned off (like a switch and page2 page condition with that switch) they will loop forever.
Yeah it is an autorun event, wish I could post a video to make it clearer… Anyway what is happening is I made three kids leaving a classroom using events, when the last kid leaves the game just froze, can’t move or anything!

Edit: I finally found a solution… I was using autorun events when I should have used parallel ones! Thank you guys so much! This thread can be closed..
If it's a cutscene that occurs when you enter a map for the first time (like, if you're entering a classroom, and a cutscene plays where three kids leave the classroom), then autorun's fine -- if you make every cutscene a parallel event, then you might run into issues with lagging, depending on how many parallel processes you have occurring at once. At the end of your autorun cutscene, turn on a self-switch, then make a new page in your event. Set the Condition to the self-switch, set the Trigger to action button, and leave the contents of the page empty.
I finally found a solution… I was using autorun events when I should have used parallel ones!
no - parallels are NOT always a solution as each parallel will add to your lag.

what you should have done is post screenshots of your events, then we could have checked your commands and event logic to tell you what the best solution would have been.
I hope it's alright to post since the thread has not been closed yet.. Here are the screenshots of the events!
Oh holy yikes. Just typing things here as I see them.

1) There's zero point to having a blank event page that's set to parallel and only contains Erase Event. If a page isn't supposed to do anything, leave it on its default blank settings.

2) Same thing with screenshot 3 - you have a page with the condition of a self switch, and the only thing it does is turn its self switch back off and then erase event. The erase is meaningless because as soon as that self switch switches off, the page won't be satisfied and will go to a lower number page when the last command is executed. And the entire page is meaningless because it doesn't do anything except go back to page 1. Therefore, event 12 is stuck in an infinitely repeating loop, which is probably the root cause of your problems.

3) Then you do the same thing with 13, it will repeat infinitely the way you have it set up.

4) I presume the same thing is going on with screens 8 and 9, but we can't see what ID they are or if it's the same event with that one letter added. Why on earth did you crop the windows of your screenshots when you're asking for help? Use Alt+Print Screen to just capture the active window if you want, but there's no point in posting the screens if you don't show all the info.

4) Screenshot 6 isn't helpful, we can't see the bottom of it, but I presume it starts everything with turning on After School.

5) Why the heck do you have all these different events controlling other events??

So this is a very clunky setup with all these unnecessary events. And the logic on the pages, self switches and event conditions is all wrong.

You should only have one event, your event 2 with all of the cutscene dialogue, and then all of your move routes are still in that event. There's zero reason to have all of those others. You also don't need the After School switch unless it plays some larger part in your game.
Just cut the move route commands out of every other event and put it in that one, then at the bottom turn a self switch on to go to page 2 with nothing on it. No parallel setting, no erase, no turning the switch back off to run the event again, just blank.

Some tips for better-looking movements:
You can leave it the way you have it, with Eric walks all the way out, then Bull all the way, then Rocky, but people don't really move that way. You can start the first move route with Wait for Completion off, then start the next one, and they'll start moving at the same time - you only need Wait checked on the last one you call.

If you want something even slightly fancier, you could do something like:
- move Eric Left, Down, Wait for Completion

- move Bull Right, Down, don't Wait
- move Eric Down, Down, Wait

- move Eric Down, don't Wait
- move Bull Down, Down, Down, don't Wait
- move Rocky's full route, Wait

that will result in each of them stepping into line and filing out. I don't actually know the layout of your map, so you might need to adjust that, but it's the general idea.

I suggest you do some basic eventing tutorials. If you've already done what's included in RPG Maker, look some up on YouTube and follow along in a dummy game. What you're trying ]to do here is pretty basic cutscene behavior and event logic.
Oh holy yikes. Just typing things here as I see them.

1) There's zero point to having a blank event page that's set to parallel and only contains Erase Event. If a page isn't supposed to do anything, leave it on its default blank settings.

2) Same thing with screenshot 3 - you have a page with the condition of a self switch, and the only thing it does is turn its self switch back off and then erase event. The erase is meaningless because as soon as that self switch switches off, the page won't be satisfied and will go to a lower number page when the last command is executed. And the entire page is meaningless because it doesn't do anything except go back to page 1. Therefore, event 12 is stuck in an infinitely repeating loop, which is probably the root cause of your problems.

3) Then you do the same thing with 13, it will repeat infinitely the way you have it set up.

4) I presume the same thing is going on with screens 8 and 9, but we can't see what ID they are or if it's the same event with that one letter added. Why on earth did you crop the windows of your screenshots when you're asking for help? Use Alt+Print Screen to just capture the active window if you want, but there's no point in posting the screens if you don't show all the info.

4) Screenshot 6 isn't helpful, we can't see the bottom of it, but I presume it starts everything with turning on After School.

5) Why the heck do you have all these different events controlling other events??

So this is a very clunky setup with all these unnecessary events. And the logic on the pages, self switches and event conditions is all wrong.

You should only have one event, your event 2 with all of the cutscene dialogue, and then all of your move routes are still in that event. There's zero reason to have all of those others. You also don't need the After School switch unless it plays some larger part in your game.
Just cut the move route commands out of every other event and put it in that one, then at the bottom turn a self switch on to go to page 2 with nothing on it. No parallel setting, no erase, no turning the switch back off to run the event again, just blank.

Some tips for better-looking movements:
You can leave it the way you have it, with Eric walks all the way out, then Bull all the way, then Rocky, but people don't really move that way. You can start the first move route with Wait for Completion off, then start the next one, and they'll start moving at the same time - you only need Wait checked on the last one you call.

If you want something even slightly fancier, you could do something like:
- move Eric Left, Down, Wait for Completion

- move Bull Right, Down, don't Wait
- move Eric Down, Down, Wait

- move Eric Down, don't Wait
- move Bull Down, Down, Down, don't Wait
- move Rocky's full route, Wait

that will result in each of them stepping into line and filing out. I don't actually know the layout of your map, so you might need to adjust that, but it's the general idea.

I suggest you do some basic eventing tutorials. If you've already done what's included in RPG Maker, look some up on YouTube and follow along in a dummy game. What you're trying ]to do here is pretty basic cutscene behavior and event logic.
Wow such a lengthy help, anyway thanks! I will try all your suggestions when I have time, haha I’d like to rest a bit as I have been working on this game for quite some time… I might never finish it but Oh well I’ve got nothing better to do.

Edit: Sorry for this, I was trying to reply but this happened

Edit2: Here are new screenshots, I combined all movement events into one! I guess I have a lot of hings to learn about Rpgmaker MV...

Original thread: https://forums.rpgmakerweb.com/threads/game-freeze.140875/