Time doesn't run with Orange Time System

Hello there.

I've got trouble using the Orange Time System.
As I use many plugins and end up helping myself removing errors, I don't like asking questions, but it doesn't seem I find a solution here.

  • Plugin:
    • Orange Time System
    • and addons: Variables / Events / DayAndNight
    • in combination with: OrangeHUD
  • Problem:
    • Time is not running.
    • When using the variables with the HUD, both time and date say 00:00:00, so while playing there's no progress.
    • When using real time, the HUD still reads 00:00:00, so no difference.
    • Changing the variables in-game does alter the time.
    • Actually, the DayAndNight-plugin works, because the screen is dark when turned on.
    • edit: Initial time settings don't work either.
  • Solutions not working:
    • reading the help file of this plugin
    • trying out all features of this plugin
    • creating new project and only using this plugin
    • looking for errors in the console

It seems like I'm missing something because most of the plugin users don't have any issue with it.

I'm using RMMV Ver 1.4.0.

Does someone has an answer please? Thanks in advance.
Hey,

maybe you missed some minor detail? Have you defined the two switches that activate the plugin (main) and the one for indoor maps?

That's the only thing that comes to my mind when you say it doesn't work in a new project.

Otherwise, might there have been occured a problem while updating your copy of MV? I read today that some users reported problems when skipping some of the updates and just installing the newest update.
@Lestroth:
Yes, I checked the switches again and again. The activating switch is for the flow of time, but there isn't even a default start time to begin with. I was trying to activate and deactivate the indoor switch, no result. Regarding the update, I went from the standard version to 1.3.1 and then to 1.4.0, but there wasn't a problem while updating.
can you please post screenshots of the configuration you made, and tell us how you checked that time isn't running?
We need more info to help you pinpoint the problem.
@Andar:
I know time's not running because of two things. First, I tried making a day only a few minutes long, but neither events (Events-addon) nor light (DayAndNight-addon) changed. Second, the HUD doesn't display running time, but it's the right variables, since time changes when I'm using events or the debug menu to alter the variables. If screenshots help finding the problem, I'll upload them soon.
all your descriptions could be because the other plugins are not correctly configured.
Can you check the flow of time with a simple event, using showtext to display the current time?

If it doesn't work at all, then that means you made a mistake configuring it or there is an incompatibility with another plugin - that is why I asked for screenshots of the configuration and perhaps one of your plugin manager
@Andar:
When I create a new game to test it, there are no other plugins but Time System, and it's still not running, so it can't be an incompatibility. At the moment, the game just uses Yanfly plugins.
Regarding the screenshot, I changed the configurations now and then, no difference. I hope there's no mistake on it, but even with the standard configurations it doesn't work. But, like you might see, the screen is darker than usual, so at least the DayAndNight plugin works. It's the time itself, it's neither running nor starting with the initial value.
Spoiler: Screenshot
time.png
Please show us a screenshot of the event where you start the time system - the configuration is correct, so it has to be a problem with starting the time, somehow that event doesn't work.
@Andar:
Sorry, I'm curious why you're asking for a screenshot of the event to start the time system, since the main plugin only has two switches and some event based commands. What exactly is needed to start it? Am I missing something obvious?
You actually don't need to activate the main switch manually to make the plugin work, it is already activated by default. Though, in case you used the main switch in another event/common event - maybe one with parallel processing - it may be that the switch is constantly switched off by that event... for example.

I'm wondering because you experience the problem even in a new project without any other plugins. Hm...
@Nero V That is exactly why I asked - the plugin has a switch to disable the time system, and if the time doesn't run it is almost guaranteed that this switch is set to disable the time system somehow - because the rest of your configuration doesn't show any problems.
So search for all events that use that switch and check them.
The main switch should be enabled (ON) by default? Because it's not.
I have to activate it per event at the beginning of the game, or somewhere else when testing. But time doesn't run, no matter what. There's no other event using this switch, and as far as I can see, no plugin either.
I have no clue what's going on. What a pity.
That is why I asked you to search where it is used and give a screenshot of the event where you turn it on.
We can't help you if you don't give us more info - and I suggest checking if the switch stays on when the time doesn't run, because it sounds more and more as if something with that switch is wrong.
Sorry, I am glad that people want to help me, but I don't know how checking a switch will help, as the problem is the same in a new project. And yes, the switch stays on after I activating.
The screenshot shows my first event in the game. It's much longer actually (with teleports and scrolling text and background music), but I use the short version unless providing a demo version. Most of the time I'm directly starting in the map I'm currently editing, and to test plugins like Time System, I have a NPC that currently has the same function as seen in the screenshot: "Switch #50 = ON"
Spoiler: Screenshot
test.png
It helps more often than you think, and there are several problems in that screenshot.
I can't tell if they interfere with the time, but you should change them anyway because they will cause problems.

1) transfer player should always be the last command in any event - because if that transfer goes to another map, the current event will be deleted on transfer. SOME commands and events are still completed after the transfer command, but a lot of the commands following a transfer to another map will NOT be executed.
Experience shows that this is mostly random because it depends on timing, so it is much better to place the transfer command last, because that will make sure the other commands are executed.

2) autoruns automatically loop, and should always be switched off if they are not intended to loop.
In this case the transfer would remove the autorun anyway, but again it is better if you don't get into a habit of not switching off autoruns - if you ever modify your game in a way that you no longer transfer the player, having something like this remaining will cause you an additional bughunt.


3) ALWAYS name your switches and variables
Never use a switch without naming it (like you did with the 0001 above).That is not only so that you remember in several months what that switch does, it is also to prevent double uses (a named switch is in use, with an unnamed switch you might think it is not in use and use it for something else)

Please change the event according to the points listed above and test again.
However, I consider it unlikely (but not impossible) that this is the cause.

One more question: did you rename the plugin file? Because that is one of the few possibilites left, plugin files must never be renamed because the name of the plugin file will become part of the command structure - renaming the file breaks the plugin in 99% of all cases (there are ways to make a plugin name-independent, but that is more complex and rarely done)
Thanks for the tips. I never had trouble with that, but I'll keep that in mind.
And now this. Yesterday I tried the whole thing with the software version of my friend, and there it worked. I came to the same conclusion, it's the file name. Actually, the name had an underscore sign. I don't know when or where this happened, but that was the problem. It's working fine now. Thank you.

Case closed.

Original thread: https://forums.rpgmakerweb.com/threads/time-doesnt-run-with-orange-time-system.77704/