News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Cannot progress through Tutorial Chapter 4 Section D

Started by A92AA0B03E, April 27, 2025, 09:23:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

A92AA0B03E

I am stuck on the tutorial, Chapter 4, section D.
I have the same issue across platforms, having tried this on
- Steam version (latest)
- Linux direct download 124.3.1
- Android (Play store)

It tells you to set the schedule as follows:
Minimum load: 100%
Depart after: 3:52h

However, the interface doesn't allow this as it gives you think option to a maximum waiting time.
If I set this 3h52m I get a warning that the schedule is incorrect (first screenshot).

If I set the schedule to "Fixed departure times" then I don't have the option to set a load percentage (second screenshot).

I'm not sure how to progress here, I'm assuming the tutorial was created for a previous version and needs to be updated to the current scheduling approach?

Coming from OpenTTD, I'd really like to worth through the tutorial so I fully understand the differences and I feel like other people might be getting stuck here and just giving up as it's a barrier to entry.

thanks in advance for any help

Andarix

You have changed the wait time setting.

The selection must be set to 'Wait for minimum load'.

If you set this selection, you will also have the 3 input fields for day, hours and minutes. You are missing the third input field.

makie

In the first Screenshot the day field is missing.
I can't reproduce this. In my test the day field is present.

ok

May be the text depart after to 3:52h is confusing in the tutorial.
It means set the "Max waiting time" to 5 Day 0:00h

In my screenshot the day field is present.

prissi

The day field will not appear if the date is set to 3 days per month. This is the case int he screenshot but is certainly not the default setting. Maybe the tutorial needs to set this also ...

Yona-TYT

Quote from: prissi on April 28, 2025, 08:36:33 AMThe day field will not appear if the date is set to 3 days per month. This is the case int he screenshot but is certainly not the default setting. Maybe the tutorial needs to set this also ...
Maybe it can be automated, but I guess a new function in the API needs to be implemented for that.

prissi

There are two problems. The time, with a single minute and one day per month (or three days per season), can be set with a precious of 65556/(24*60)=46 ticks while the precision with the full three fields is 1.46, i.e. varying between 1 and 2. Hence, the script should give some leeway when comparing numbers of the criterion is met (or compare the strings instead as the requested time is correctly indicated).

3:42 is 10558 ticks and 5 days is 11570 ticks. SO any result +- 46 ticks should be accepted.

Andarix

The bridge construction in Chapter 3, Step H, also no longer works. Because this bridge is built with one click, which hasn't worked since version 124.

[EDIT]

Also applies to the bridge in Chapter 3 Step B.

Yona-TYT

Quote from: Andarix on May 03, 2025, 07:42:38 AMThe bridge construction in Chapter 3, Step H, also no longer works. Because this bridge is built with one click, which hasn't worked since version 124.

I was reviewing the logic when building the bridge, but I came across this. :o

2025-05-08_13-05-1746726692.jpg

Isaac Eiland-Hall

Looks like it's time for the Dukes of Hazzard to run that train :)

prissi

OK, could reproduce this ...

prissi

Shold not longer be possible in todays nightly

Yona-TYT

Quote from: Isaac Eiland-Hall on May 08, 2025, 10:19:54 PMLooks like it's time for the Dukes of Hazzard to run that train :)
It's a nice ramp for doing stunts. Hehehehe 😅

Yona-TYT

The previous bridge mechanism had given me some problems in the past, but now it seems this can be done more easily.

https://github.com/simutrans/tutorial_multipak/commit/94c2c22d55b4b157e108246f7c36fc761ea59a98

prissi

I have pushed a change to allow for alternative data formats in the schedule of the tutorial. (And I cleaned up ad commented some of the functions.)

However, even before this, when a bus arrived at the first stop, the tutorial did not progress. Somewhere before the logic must be broken before the current version.

Yona-TYT

#14
Quote from: prissi on May 11, 2025, 08:18:16 AMHowever, even before this, when a bus arrived at the first stop, the tutorial did not progress. Somewhere before the logic must be broken before the current version.

Reviewing your changes in the main branch, I've noticed that the texts are not updated (same confusion again), the tutorial does not advance when the bus arrives at the stop, it actually advances when you press the button to follow the vehicle.

2025-05-11_11-05-1746978524.jpg

Edit.

Update:
https://github.com/simutrans/tutorial_multipak/commit/a5b17e9eafb7abc2142f69d183d3e1d5c4112cb4

prissi

Thank you.

But I think advancing when arriving at the next stop would be enough exercise for a single step ... It is the very first vehicle a user will run. I would not overload it with actions.



prissi

You mean step 7? I think this would be better, yes.

Yona-TYT

Ok, I made the necessary changes to the "code_review" branch, and I also had to add another text file to step 7.

https://github.com/simutrans/tutorial_multipak/commit/5f75194943825323b5a53aba19e4cf5c80d5574c
https://github.com/simutrans/tutorial_multipak/commit/0aba71fec34e234ee67d943a0ec8e4d5a386819a



Additional note: The "cov_sw" flag that indicates whether the number of convoys in circulation is correct or not, seems to not be working in "code_review", as a result, when I delete the vehicle, the info in the scene window is no longer coherent.

        if (!cov_sw){
          text = ttextfile("chapter_02/07_3-4.txt")
          text.tx = ttext("<em>[3/4]</em>")

          local tile = my_tile(city2_halt_1[city2_halt_1.len()-1])
          text.stnam = ""+city2_halt_1.len()+") "+tile.get_halt().get_name()+" ("+coord_to_string(tile)+")"

          text.list = create_halt_list(city2_halt_1)
          text.nr = siz
        }



Yona-TYT

Quote from: Andarix on May 12, 2025, 07:58:03 AMDid you change this only in the repo or also here?

https://simutrans-germany.com/translator_page/scenarios/scenario_5/index.php?obj_id=88400&lang=en&ref_lang=none&trans_lang=en,de,es
The texts there certainly need to be updated, but since I've made several significant changes to "Follow the Vehicle," I prefer to wait for the "code review" branch to be merged into the "main" branch and then do a single translation job.  ;)

209CATrus

Quote from: Yona-TYT on May 08, 2025, 06:04:48 PMI was reviewing the logic when building the bridge, but I came across this. :o

2025-05-08_13-05-1746726692.jpg

Sorry for being non-productive to this discussion, but i would like to mention that this bridge is epic and should definitely go to the Simutrans Screenshots