Upcoming Games

(UTC times)


Full list
Add a game

Upcoming Events

No events to display

Reset clock

You are here: Home > Forum > Wishlist > Features wish list > Reset clock

Page 1 of 1

Reset clock 21/10/2022 at 22:20 #148424
mjelle
Avatar
11 posts
Hi,

After spending quite some hours running one timetable to exit the sim, rerun the timetable, I started looking into, if it was possible to clear the timetable and merge a new one into the sim. But I noticed the clock would still count as 24:00 onwards after passing 23:59 and therefore the trains would just approach the sim immediately. I came to think of the possibility to "reset" the clock as a feature. Without knowing anything about how SimSig is build behind the scenes, I would think it wouldn't require a lot to implement.

The benefit would then be having the possibility to clear the timetable and then merge another one into the sim. Then you can run your sim over to the next day. I am aware that it will need a lot of manual work when merging a timetable into a running simulation and that's fair - it's a feature, to use at your own risk then.

Any thoughts?

Log in to reply
Reset clock 21/10/2022 at 22:40 #148425
JamesN
Avatar
1607 posts
I mean, forgive the possibly obvious question - what exactly is wrong with start new game?

It clears the current timetable
It resets the clock
It launches the selected timetable (properly with all the seeds and other startup actions; which doesn’t happen with a “merge TT”)

Log in to reply
The following user said thank you: TUT
Reset clock 22/10/2022 at 03:00 #148426
flabberdacks
Avatar
636 posts
Just start a new game mate - it would create more problems than it solves, with regards to the way timetable rules and seeding is set up, not to mention some of the functions that operate in the background on certain sims.

It's sometimes irritating to have to set multiple views up again, but only ends up taking a minute or so to get everything back where you want it.

Log in to reply
Reset clock 22/10/2022 at 08:14 #148427
postal
Avatar
5264 posts
Online
flabberdacks in post 148426 said:
Just start a new game mate - it would create more problems than it solves, with regards to the way timetable rules and seeding is set up, not to mention some of the functions that operate in the background on certain sims.

It's sometimes irritating to have to set multiple views up again, but only ends up taking a minute or so to get everything back where you want it.
Although it is not an official SimSig production, forum user JaBaRu developed an app that saves the configuration of the windows for the particular sim you are using and then puts everything back to where you want it when you re-load the sim. The tool went through various iterations which are discussed in this topic. The most recent iteration is an attachment to the posting on 01/03/2020 at 11:36. Not sure whether it works on multiple displays but it works effectively on a single display.

There is the caveat that this is not officially endorsed by SimSig and you use the app at your own risk but I have used it since release with no problems or adverse effects.

“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Last edited: 22/10/2022 at 19:01 by postal
Reason: typo

Log in to reply
Reset clock 22/10/2022 at 10:17 #148428
Dionysusnu
Avatar
577 posts
Online
mjelle in post 148424 said:
Hi,

After spending quite some hours running one timetable to exit the sim, rerun the timetable, I started looking into, if it was possible to clear the timetable and merge a new one into the sim. But I noticed the clock would still count as 24:00 onwards after passing 23:59 and therefore the trains would just approach the sim immediately. I came to think of the possibility to "reset" the clock as a feature. Without knowing anything about how SimSig is build behind the scenes, I would think it wouldn't require a lot to implement.

The benefit would then be having the possibility to clear the timetable and then merge another one into the sim. Then you can run your sim over to the next day. I am aware that it will need a lot of manual work when merging a timetable into a running simulation and that's fair - it's a feature, to use at your own risk then.

Any thoughts?

As an alternative to decrementing the clock, you can increment the times in the merger-timetable instead. I have once made a tool to do that programatically, and it worked quite well, especially for simulations that have little to no overnight trains (eg Liverpool Street). Unfortunately, the source code got lost when my hard drive crashed a while back. I'll have a look through my backups and see if anything was kept, but I'm afraid not.

Log in to reply
Reset clock 22/10/2022 at 17:44 #148432
GeoffM
Avatar
6376 posts
Online
flabberdacks in post 148426 said:
timetable rules
Yeah, this is going to be the biggest issue in my opinion. The rules will already have been satisfied - for example, X must enter Y minutes after Z leaves the area.

SimSig Boss
Log in to reply
Reset clock 24/10/2022 at 17:14 #148450
mjelle
Avatar
11 posts
I just thought the possibility to keep a game on a continuous run would add more realism to it. I am aware that it will give some manual work after the new timetable has been loaded.
As for the rules, yes they'd be removed as well. That's fair when you reset it all - it doesn't come without a cost of course.

I understand if it's too much to do - and apparently I'm all alone about it, so I understand the denial of the request.

Log in to reply
Reset clock 24/10/2022 at 17:56 #148452
Dionysusnu
Avatar
577 posts
Online
Dionysusnu in post 148428 said:
As an alternative to decrementing the clock, you can increment the times in the merger-timetable instead. I have once made a tool to do that programatically, and it worked quite well, especially for simulations that have little to no overnight trains (eg Liverpool Street). Unfortunately, the source code got lost when my hard drive crashed a while back. I'll have a look through my backups and see if anything was kept, but I'm afraid not.
Maybe this would be an easier way to still achieve that goal?
If while merging in a timetable, SimSig offered the option to:
- Increment all the times by a set amount (default 24h)
- Add or increment a "-1" in all train IDs and references to them? This could solve things like rules without needing to delete earlier ones
Would anything about that not work?

Log in to reply
Reset clock 24/10/2022 at 18:18 #148453
bill_gensheet
Avatar
1413 posts
Decisions used to set 'day of week' would fail.
You'd need to start running Fridays trains when following on from a Thursday etc
Not all timetables use -1 for next day

It is so timetable specific that a customised XML hack approach would be more suitable to create a new 24-48 timetable.

Log in to reply