Common events recognize time system, but events don't trigger on their own/act a little wonky

Hello! I was doing pretty well with getting events going at the proper time, on different maps, and while I kept running into some issues (time stops progressing forward, which pauses events) I was able to figure those out with help and on my own. However, now I have run into another issue.

I tried to just get time-based-events on a single common event page, which would activate different events based on time. I am taking this slow since this is all just experimental so for now there's only one event connected to the common event, he is a merchant I placed outside. The plan was, at different times of day, he would say different things before the player would be able to purchase from his shop. Then, once it reaches a certain time, he would pack up and go home. While the dialogue is working mostly in accordance to what I wanted, the movement route I set for him isn't. In order for him to walk home, the player must talk to him first, which I was hoping he would just do on his own.

He did this both with the movement route in the "Autonomous Movement" when the switch was turned on, as well as on the common event page. Due to this particular common event also being on autorun (so things would just happen, without having to use parallel which it seems causes more lag) once he starts walking the player is unable to move. (And actually, now that I've test it being on parallel too, it still makes the player frozen!)

Here are my screenshots:

Spoiler: screenshots
1690251814925.png

1690251831498.png

The switch from the common event that makes him disappear once he reaches his house^

And the activate time switch event which works perfectly fine as far as I am aware vv

1690251871436.png

The common event for the old man merchant
1690251912431.png

1690251922706.png


And also here are my game screenshots:
1690251984465.png

Time progressing just fine
1690252011390.png

Until it reaches past 17:00 which is when he is supposed to be heading to his home
1690252059553.png

I talk to him, and it pulls one of his dialogues before it opens his shop, and once I close it, he starts walking to his house, making the player now stuck.
1690252107549.png

I hope I was able to provide all the right information, and if I am doing anything wrong or could do anything a bit better, please let me know!
(I did try to figure out if conditional branch+ would work better for my common event, but I had a hard time figuring it out and wasn't sure if it was the right fit for this sort of thing, and figured this might be easiest, who knows 😅

((also i just realized.. Does having a new question in the forum before 72 hours count as double posting? Or does that just mean posting the same time in your original thread? If you'd like me to delete this I definitely can np ^^;;
It seems like the common event "Time Based Events" is only called from a page that is set to "Action Button", ergo it can only execute if the event that contains it is interacted with. I would attempt to integrate routines like this that need to run automatically into your time advancement common event, so they can execute without player interaction.

As for why your character freezes when the event executes... I have no idea. Does the move route maybe not terminate properly and thus keep you trapped in the event execution? Does anything change if you set that route to "skip if can't move"?
@gb3792 thank you for your reply! hmm so I set it to parallel, which fixed the problem of freezing the player into place, as well as he goes home on time. But now, it's kind of shuffling through his dialogue as soon as the game opens until it's time for him to leave.
Spoiler: screenshots
(Ahh,, he should only say this when it's morning, and this is right after I open the game)
1690253362031.png

1690253399965.png

(but at least i can move now hahaha)
Doing skip if cannot move doesn't really change anything unfortunately 🙁 I'm almost wondering if I should try to make each page a different switch again and just switch them on once it reaches a certain time? I don't know if that will help narrow things down more? Thanks again for your help!! ^^

1690253677984.png
I think the problem here is that the common event "Time Based Events" contains both things that should only happen when the player talks to the NPC, as well as things that should happen on their own. Your design is getting its wires crossed there, so to speak.

I think what I would do is move all the scenes that require player interaction into separate pages in the merchant event itself. So you'd have one page with no conditions that contains the morning dialogue, one with a condition of Hours >= 8 that has the midday dialogue, etc.. Then the common event could be used for the stuff that needs to be automated.

Only tangentially related, but looking at your screenshots and the conditionals in the time common event, it seems to me like if you talk to him between 8 and 16 'o clock, he'd play the midday and closing dialogue simultaneously, I don't know if that's the case on your end.
But now, it's kind of shuffling through his dialogue as soon as the game opens until it's time for him to leave.
When you set something to parallel, you're telling it to loop 60 times a second. To get it to stop you need to make the event go to another event page through switches or self switches. So set Self Switch A: ON at the end of the old man's page and make it a blank event page.
I think what I would do is move all the scenes that require player interaction into separate pages in the merchant event itself. So you'd have one page with no conditions that contains the morning dialogue, one with a condition of Hours >= 8 that has the midday dialogue, etc.. Then the common event could be used for the stuff that needs to be automated.
Okey so I went ahead and did that, putting everything on a separate page:
Spoiler: Merchant
1690256656635.png

1690256668497.png

1690256683971.png

1690256698230.png

(i put switch a on like @AquaEcho suggested, tysm btw!!)
1690256741571.png

1690256770965.png

And nowww.. he goes home just fine on his own, without dialogue. The problem now though, is the action buttons for the dialogue will not work at all.
Only tangentially related, but looking at your screenshots and the conditionals in the time common event, it seems to me like if you talk to him between 8 and 16 'o clock, he'd play the midday and closing dialogue simultaneously, I don't know if that's the case on your end.
Oh! Yeah i did notice this actually pfft, I felt a little stuck on that but since it's not the main concern I ignored it for now (forgive me i am tired lmaoo)

I also put everything as a switch to see if that would help (and it did not 😩)
Spoiler: Example
1690257563408.png

((edit: I am almost wondering if I should start over with a different method? But also aaa who knows pffft)
((Hmm or maybe if I need another event to have all the action activated dialogue and then it be replaced by another event that looks the exact same which will automatically go home once it's time ?? maybe that'd be a bit more complicated LMAO)
You have to take the "If Hours > (time)" condition and put it into the "page conditions" on the left instead of having it in the contents window.

The way event pages work is that only one can be active at the same time. If the conditions for multiple pages are met, it will only execute the one with the highest page number. So in your case, it will only ever access pages 4 and 5. Page 4 has no conditions and will always be valid, therefore pages 1-3 will never be referenced.
@gb3792 OMG It worked! Thank you so much!!
There's a slight delay (like just a second)in his appearance but that's not too bad at all honestly, especially since the player will be spawning on a different map anyways. But everything works perfectly now!! Thank you!
didn't read the whole thread, but I spot a problem that could solve half your mess and potentially others down the line: don't count time by hours, days and months.
count ONLY *flat ticks*
show the player a representation of those total ticks as ticks / increment = time, but process everything on the back as a bulk of ticks.
you can count frames, ticks, loops, or whatever... but splitting it into their partial increments could lead to a case where the system would see at the same time "60 seconds" on one end, and "1 minute" in another.
also, trigger switches only work by positive, and turning them off sometimes won't stop what's processing if there's something else affecting them by positive.
so, if you have a day/night binary system, day is both day and not-night, and night is both night and not-day.
when you go from day to night, turning off the day switch is not enough... you have to turn on the night switch as well, as some processes won't interpret "day OFF == night"

don't work with human standards... work with computer standards.
@gstv87 hey thank you for the reply! and im sorry for my late reply i was pretty busy today, but i am back. Anyway-
show the player a representation of those total ticks as ticks / increment = time, but process everything on the back as a bulk of ticks.
you can count frames, ticks, loops, or whatever... but splitting it into their partial increments could lead to a case where the system would see at the same time "60 seconds" on one end, and "1 minute" in another.
Thank you for the info! Apologies but how would i write in ticks exactly? And just to check that I am understanding you correctly, if I were to use everything in frames, would it be something like making it process "3600" frames as 60 seconds and having it labeled that way?

when you go from day to night, turning off the day switch is not enough... you have to turn on the night switch as well, as some processes won't interpret "day OFF == night"
And that makes sense for sure!! I will keep that in mind^^
would it be something like making it process "3600" frames as 60 seconds
precisely.

Original thread: https://forums.rpgmakerweb.com/threads/common-events-recognize-time-system-but-events-dont-trigger-on-their-own-act-a-little-wonky.159683/