Character Freezing after event

Hi, im having a problem where the dialogue that was supposed to be a "Here, have this quest" kind of dialogue that would be a normal dialogue after the quest was given is making the character freeze, im not able to move neither open the menu, and im pretty sure that the autorun is off, since i don't have any autorun events in the NPC's house (Also, sorry for the portuguese in the menus, its easier for me to use it lol)
1680922878153.png
1680922894634.png
Your pages are in the wrong order. Page 1 should be where the quest is given and where the switch is turned on. Page 2 should be conditioned by the switch and should check if the quest is completed yet.

I see you are using switch 1. This is commonly used as a default by scripts that use switches, so go through all your scripts and see if any of them use switches and if you've left it as the default switch.

Though that wouldn't cause your game to freeze. You do have an autorun event that's conditioned by switch 1 somewhere. The fact that you can't open the menu (and I assume can't turn in different directions) proves this. Look in all your events on that map, on all pages. And look in all your common events.

If that doesn't help, show us what's at the very bottom of that event page.
In fact switch 1 is also the default for common event autoruns.
which means if you just changed an empty common event to autorun experimentally and then forgot about it, it would have the same effect.

so check not only the common events you know you use, but everyone you think is unused.
Your pages are in the wrong order. Page 1 should be where the quest is given and where the switch is turned on. Page 2 should be conditioned by the switch and should check if the quest is completed yet.

I see you are using switch 1. This is commonly used as a default by scripts that use switches, so go through all your scripts and see if any of them use switches and if you've left it as the default switch.

Though that wouldn't cause your game to freeze. You do have an autorun event that's conditioned by switch 1 somewhere. The fact that you can't open the menu (and I assume can't turn in different directions) proves this. Look in all your events on that map, on all pages. And look in all your common events.

If that doesn't help, show us what's at the very bottom of that event page.
The pages being reversed is something i tried for the fix and forgot to change it back. The Switch is turned on at the end of the event, before the "Stop Event" that i removed in the screenshot cause with and without him the character still freezes.

So Switch 1 is always an autorun switch? Cause i didn't use it anywhere else in this map or in any of the maps. This event is the first one it is used, since the switch is supposed to be telling the program "Oh, you are in this quest currently, ok, imma show this different dialogue for u since u didn't finish it yet"

The only event i had that was autorun i removed it, since it was janky, i tried putting it with the dialogue in a different page, but it didn't work, and from what i remember, it stopped working after i finished the shopkeeper, before that it was working fine, the dialogue where you receive the collar would end, and the other dialogue would play if you talked to him again. And im pretty sure i didn't use the common events yet, they're all empty.
Also, here's the Screenshot. The event is basically a dialogue, then you receive an optional item that makes grinding easier, then the story switch is turned on, in which the second dialogue should play if you spoke with him again.

1680959503926.png
The pages being reversed is something i tried for the fix and forgot to change it back. The Switch is turned on at the end of the event, before the "Stop Event" that i removed in the screenshot cause with and without him the character still freezes.

So Switch 1 is always an autorun switch? Cause i didn't use it anywhere else in this map or in any of the maps. This event is the first one it is used, since the switch is supposed to be telling the program "Oh, you are in this quest currently, ok, imma show this different dialogue for u since u didn't finish it yet"

The only event i had that was autorun i removed it, since it was janky, i tried putting it with the dialogue in a different page, but it didn't work, and from what i remember, it stopped working after i finished the shopkeeper, before that it was working fine, the dialogue where you receive the collar would end, and the other dialogue would play if you talked to him again. And im pretty sure i didn't use the common events yet, they're all empty.
Also, here's the Screenshot. The event is basically a dialogue, then you receive an optional item that makes grinding easier, then the story switch is turned on, in which the second dialogue should play if you spoke with him ag
Here's the map, the stairs event would be for u to leave the room, the npc is the one that should give u the quest, and the other one is filler since its the npc's room that's not acessable for now (The starting location is there for test purposes)
You must be using this switch in a common event or something else that is running when you turn it on.
Safe practice is to not use switch 1 or variable 1 ever, since some script use those by default, until you change them.

Easy test would be to change the switch to another number. And in the event page.
If you can move after that then you know the switch is being used somewhere.
You must be using this switch in a common event or something else that is running when you turn it on.
Safe practice is to not use switch 1 or variable 1 ever, since some script use those by default, until you change them.

Easy test would be to change the switch to another number. And in the event page.
If you can move after that then you know the switch is being used somewhere.
It worked, switch 1 is probably somewhere else, but imma stick to using switch 2 and forward for a while, thx for the help! ^^
Switch 1 is NOT always an autorun switch.

But you would do well to find out what IS using it. If you don't know what switches are being used, how are you going to prevent the same issue again?

I wrote a script that will show you all events that are using your switches. This should help you find it. The only things it doesn't check are scripts, script calls and damage formula.

Imma try the script out, thank you mate 😉
Just make sure you remove the script again when you're done with it. It takes a while to build its data and you don't want that every time.

Original thread: https://forums.rpgmakerweb.com/threads/character-freezing-after-event.156499/