The International Simutrans Forum

 

Author Topic: [S.RC 120.0, r7175] Can't extend tunnel upward  (Read 5733 times)

0 Members and 1 Guest are viewing this topic.

Offline gauthier

  • Devotee
  • *
  • Posts: 3628
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
[S.RC 120.0, r7175] Can't extend tunnel upward
« on: July 21, 2014, 06:08:22 PM »
I have an underground track and I want to extend it upward. I use the appropriate cliff tool on a dead end to turn it into a slope going upward. Then I can't build track from the upper end of the slope, neither in underground view nor in sliced view.

(Using pak128 [r?] - couldn't commit it :/ - but also happens with older versions of it).

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5523
  • Languages: EN, NO
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #1 on: July 21, 2014, 08:54:19 PM »
I wonder if this has ever worked, because I can't remember building upwards, only downwards. It might just be because I can't see the slope when at the upper level.

Offline Aquin

  • *
  • Posts: 91
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #2 on: July 21, 2014, 09:42:11 PM »
In 112.3 you can do the following (just tested it with 112.3 and pak128):
- create some dead end tunnel
- convert the dead end into a upward slope
- click and hold on that slope
- change level 1 up
- drag some tunnel road

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2269
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #3 on: July 21, 2014, 09:47:05 PM »
I also encountered this in pak64 although I never found this problem in pak128.Britain.

--

Edit: Now confirmed in both pak64 and pak128.Britain. This must be a recent change that someone has made as this was working previously.
« Last Edit: July 21, 2014, 10:07:56 PM by kierongreen »

Offline gauthier

  • Devotee
  • *
  • Posts: 3628
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #4 on: July 22, 2014, 08:23:41 AM »
In 112.3 you can do the following (just tested it with 112.3 and pak128):
- create some dead end tunnel
- convert the dead end into a upward slope
- click and hold on that slope
- change level 1 up
- drag some tunnel road
What is the key to change level in sliced view ? I can only do this through the display settings.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5523
  • Languages: EN, NO
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #5 on: July 22, 2014, 08:25:52 AM »
It would make a lot more sense if one could actually see the slope one was supposed to continue building from, but that's a digression I guess, and perhaps a small can of worms.

What is the key to change level in sliced view ? I can only do this through the display settings.

+ and -

Offline gauthier

  • Devotee
  • *
  • Posts: 3628
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #6 on: July 22, 2014, 10:44:37 AM »
+ and -
Doesn't work in pak128, these keys change brightness instead.

Offline captain crunch

  • *
  • Posts: 114
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #7 on: July 22, 2014, 12:22:03 PM »
Doesn't work in pak128, these keys change brightness instead.
Pressing the Function key F1 should open a window that shows which key does what. Maybe the keys PageUp and PageDown let you switch the underground level.


Offline captain crunch

  • *
  • Posts: 114
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #8 on: July 22, 2014, 12:28:10 PM »
It would make a lot more sense if one could actually see the slope one was supposed to continue building from, but that's a digression I guess, and perhaps a small can of worms.
It works with building a down slope, the slope is visible in the level below. When building an up slope, the track is not visible in the level above, though.
Another bug seems to be that when one build a down slope, it is possible to connect a horizontal track on that point, i.e.:
Code: [Select]
Build down slope:
_____
     \

Connect on that point:
__________
     \


Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #9 on: July 22, 2014, 05:00:31 PM »
Do you have enough underground levels above?


Sent from my iPhone using Tapatalk

Offline gauthier

  • Devotee
  • *
  • Posts: 3628
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #10 on: July 22, 2014, 05:22:32 PM »
Pressing the Function key F1 should open a window that shows which key does what. Maybe the keys PageUp and PageDown let you switch the underground level.
I didn't even think to that ... it was "end" and "home" keys.

Quote
In 112.3 you can do the following (just tested it with 112.3 and pak128):
- create some dead end tunnel
- convert the dead end into a upward slope
- click and hold on that slope
- change level 1 up
- drag some tunnel road
-> doesn't work in RC 120 :/

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2269
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #11 on: July 24, 2014, 05:30:10 PM »
This behaviour started in commit 6966:
Code: [Select]
r6966 | dwachs | 2013-12-06 15:23:26 +0000 (Fri, 06 Dec 2013) | 1 line

FIX: tunnel building works correctly with (possibly double) underground slopes

Trying to sort out what went wrong with this...

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2269
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #12 on: July 24, 2014, 07:52:26 PM »
Right - think that's solved now in 7268. I'm not sure why the changes made in 6966 were as extensive as they were - a lot of the extra code added seems unnecessary. I more or less reverted the affected sections of code to r6965, then added new code in to check for steep slopes. This seems to work fine with both pak64 and pak128.Britain.

Apologies to Dwachs if I misunderstood the intention behind his changes in 6966.

Offline gauthier

  • Devotee
  • *
  • Posts: 3628
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #13 on: August 01, 2014, 11:01:35 AM »
r7268 is still not available on nightly site, is that intended ?

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5523
  • Languages: EN, NO
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #14 on: August 01, 2014, 03:54:05 PM »
I'm not sure the one responsible for the nightlies regularly reads this forum. Only he can tell. He might be more active on the German forum.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9512
  • Languages: De,EN,JP
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #15 on: August 01, 2014, 10:56:29 PM »
There are currently no new nightlies for technical reasons for about three weeks. So you have to compile yourself or wait until the nightly generation works again.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2891
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #16 on: August 02, 2014, 02:51:03 PM »
Here's a compiled r7277 Windows GDI.
And here's makeobj.

Offline gauthier

  • Devotee
  • *
  • Posts: 3628
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #17 on: August 05, 2014, 09:29:56 AM »
Thanks for uploading. Building underground slope upwards is still impossible for me :/

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2269
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #18 on: August 05, 2014, 10:05:38 AM »
Anyone else having this problem?

Offline gauthier

  • Devotee
  • *
  • Posts: 3628
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #19 on: August 05, 2014, 11:05:10 AM »
Is it possible to make the game automatically build a piece of track just after the upper end of the slope, in the same manner building a tunnel entry builds a piece of track just after the entry ?

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5523
  • Languages: EN, NO
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #20 on: August 05, 2014, 11:21:03 AM »
Is it possible to make the game automatically build a piece of track just after the upper end of the slope, in the same manner building a tunnel entry builds a piece of track just after the entry ?

It will be a bit bothersome to clean up if one accidentally uses the wrong tool, but I think the benefits outweigh it. This will also give an error if there is no room to continue building on the next level.

Anyone else having this problem?

Full underground works, sliced underground does not work. r7281

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2269
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #21 on: August 05, 2014, 03:23:06 PM »
Quote
Full underground works, sliced underground does not work. r7281
Ah that explains it - I hardly ever used sliced view. That's a separate issue then to do with displaying slopes from tiles below. I'll work on that.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2269
Re: [S.RC 120.0, r7175] Can't extend tunnel upward
« Reply #22 on: August 05, 2014, 05:41:02 PM »
7282 should show slopes from the level below hence allowing you to extend upward slopes in sliced mode as well.