Can't get the Timer to work

Hey! Both me and a friend of mine are working on a experimental project and at the moment, we can't get this Timer to work. It doesn't appear on the screen when the timer starts (aka when the player enters the room), which I'd also assume means the timer doesnt' work period. This is what I have thus far.

Spoiler
Starts the Timer


048a47381ebfa36fca123649f00ddd02.png



The Conditional Branch for the Timer upon it hitting 0


5475d21c587eb096eb864b3875e077e7.png

Am I doing it wrong, or am I missing something?
What is the second page of your parallel process event?


Usually a parallel process is a bad way to start the timer, because if that parallel process is not stopped, it not only starts the timer, but restarts it sixty times per second - and that restart prevents the timer from becoming visible (or even working). So I'm assuming something prevents the second page from shutting off the timer restart.


And while a parallel process is needed for checking the time in your second event, you'll have a lot less lag if you add a wait(3) or wait(5) to that one. Because without wait, the time is also checked sixty times per second.
I believe it might be set to the default action button. What should I do to start the timer without resetting it constantly?
Do you have the correct conditions on the second page?  If there are no conditions, or the conditions are met when you enter the map, that page will be active and the timer will never start.


Pop a Show Text command above the start timer command, just to make sure that event page is actually being executed.  That'll narrow down where the problem could be.


If you can't figure it out, please post a screenshot showing the second tab of that event.


Other things you can try are reducing the amount of time - instead of 60 minutes just change it to 10 seconds.  I don't think it's going to change anything, but in the parallel process where you check for the timer reaching 0, I'd put a Wait 5 Frames at the very top of the event.  Having too many parallel process events without a wait in each loop can cause lag.
Tried adding a text box. The text box works but the timer isn't visible which means I'm assuming it's not working. This is what the second page looks like. I left it blank. 

Spoiler
2c2b1bc50067d13e3a36b0e7190eff0a.png
Can you try exactly the same events in a completely new project?


At the moment I'm guessing that either a plugin or some modification to the core files destroyed the timer functionality. If it works in the new project, then we know we have to look at your plugins.
And you changed the timer to 10 seconds rather than 60 minutes?  Just to determine if there's an issue with the length of time you're setting it for.


I'm also with Andar - I suspect one of your scripts might be set up to hide the timer.
Tested Time Length, it isn't the problem. It looks like it has to do with the scripts I have in it. What could I do then? I can't find anything in the scripts related to the Timer at all.
Disable them all.  Play.  Ensure the timer works properly.


Enable them, one by one, playing after each one is enabled.  As soon as the timer no longer works, the last script you enabled is the one that causes the problem.


You don't have my multi-timer script in there, do you?  I think the Ace version might be called Extended Game Timer or something weird like that.


The other option is that you could have made a change to the timer script yourself and just forgotten about it.  If that's the case, you'll know immediately after you try to play with all your custom scripts disabled.
Figured it out, it looks like the Yanfly Core Engine Script was responsible for it. What can I do then regarding it? I kind of still want to use it for it's changes to the engine overall.
check if you have all updates to the plugin and core correctly - I don't think that such an obvious bug was not fixed by yanfly, so it has to be something in combination...
I wouldn't imagine Yanfly would just disable the timer display - he makes his scripts pretty flexible.  Did you check to see if there is something in the customization section to hide or show the timer window?  Provide a link to the script if you can't find it yourself (don't copy/paste the script here)
This script has been around for nearly 5 years, used by hundreds (thousands?) of people, so I don't think it's likely that a new major bug has been discovered. 


Can you say exactly why you think it is the Ace Core Engine script which is the problem?  What did you do that led you to that conclusion?
What led me to it was taking each script out. Taking out Yanfly's Core Engine plugin restored the visiblity and function of the timer. All of my other scripts (Including Victor Engine Core + Step Sound, a Combine Item script, GameJolt API) had no effect. This is the pastebin for the Core script: http://pastebin.com/JixNBpBy


I'll look at it later and also try recopying it over to see if it may had to do with something I might have accidentally changed, I've been a bit busy with other things and won't be able to take a look or try adding anything til tomorrow.
My guess is that it would be worth investigating the relationship between Yanfly's Core Engine and Victor Sant's Core Engine.  Yanfly's and Victor's scripts are rarely compatible.  And having 2 Core Engines could be setting up all sorts of conflicts if they are covering similar areas.  So your problem would not be having a 'bug' but having clashing scripts.  You might have to choose one or the other.


One way to check would be to leave everything in and then disable Victor's script(s) to see what happens.
I looked through that plugin and it doesn't touch anything to do with the timer or its window, so it's definitely not Yanfly's Core that's doing it.  To verify this, turn off all the other plugins but leave that one on, and see if it works.  I agree with ksjp17 - it's more likely a conflict between scripts and having two core engines is inviting trouble.


The other thing to consider is whether you've resized the game window, and what size you're using?
Removing Victor's did not change a thing so it doesn't appear to be a compatibility issue. However, the timer is functional. It's just automatically hidden for whatever reason.
If the timer is hidden but works, then that most probably is a setting in one of the scripts and done on purpose - please check the configuration for every script until you find the one where you can switch the timer between visible and invisible - something like that is not done by accident, and that means it has to be documented somewhere, and I'm also sure it has been given a control setting in a configuration area because it would make no sense otherwise.
If you want to send me your data/Scripts.rvdata2 file, I can take a look at it for you.  If your project is small enough zipped up, just send me the whole thing.
It has been a long time since you have posted your problem, but I am using the same script and have discovered the problem. Make the screen resolution 544x416 on Yanfly engine ace. That fixes your problem.

Original thread: https://forums.rpgmakerweb.com/threads/cant-get-the-timer-to-work.72587/