News:

SimuTranslator
Make Simutrans speak your language.

Slopes in tunnels

Started by gerw, February 05, 2009, 07:00:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DirrrtyDirk

#35
Here.

Tools are at the end of the Special Tools menu (2x crane icon).

Remember: regular nightlies without this patch will not run with these entries in menuconf.tab !
  
***** PAK128 Dev Team - semi-retired*****

gauthier

ok ;) thanks a lot.

Yeah it works !

jamespetts

Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

gerw

Quote from: gauthier on February 07, 2009, 02:23:56 PM
not easy because of the horizontal presentation of the text ... I don't know why simuconf and menuconf are presented horizontally
My guess: you are using windows' notepad? Try wordpad instead.

gauthier

I already saw a menuconf.tab verticaly presented in notepad :/

gerw

This is caused by the fact that line breaks are handled differently on different systems (http://en.wikipedia.org/wiki/Newline#Representations).

jamespetts

If in Windows, use WordPad rather than Notepad, which handles line breaks much better.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

The Transporter


DirrrtyDirk

I think the new version is about the "new underground view" patch, not this one here about UG slopes...
  
***** PAK128 Dev Team - semi-retired*****

wernieman

I make a new one if somebody make a new sloop.patch ...  8)
I hope you understand my English

gerw

Quote from: wernieman on February 08, 2009, 05:17:07 PM
I make a new one if somebody make a new sloop.patch ...  8)

I think I will make post a new version of my patch this evening. I will also append a patch which includes the underground view.

gauthier

just :
Thanks, with the opening of the 3rd dimension underground, I will transform this poor ground into ... a big piece of gruyere ! just like Pari with the METRO  :P ;D ;)



gerw

An comprehensive test :) Nice screenshot!

Now you can build crazy junctions in underground. OTTD junction: http://wiki.openttd.org/wiki/index.php/Image:NewQBMJ.png Who is first?

Stubbsy

I feel really stupid now, but HOW THE HELL DO YOU GET THE SLOPES!!?? lol, i just can't seem to find out  :( ???

DirrrtyDirk

Seems like right now, you can't. The previous .exe is no longer available on http://patches.simutrans-germany.com/ but wernieman will surely put another version up there, when available.
  
***** PAK128 Dev Team - semi-retired*****

VS

Gerw, that is monstrous. I hope Simutrans can avoid explicit need for such structures in any situation... Oh, and I can already spot some design mistakes :P

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

DirrrtyDirk

@VS: you (already) spotted mistakes?  :o

Wow! That thing is so huge and complex that I haven't even begun figuring it out. But luckily, on the other hand, I can hardly think of a network that really requires such a construction - or even anything close. Or am I missing anything there?
  
***** PAK128 Dev Team - semi-retired*****

Frank

Quote from: DirrrtyDirk on February 08, 2009, 06:00:26 PM
Seems like right now, you can't. The previous .exe is no longer available on http://patches.simutrans-germany.com/ but wernieman will surely put another version up there, when available.

restore

VS

I did not look too closely, but it is obvious that going up from tunnel on a bridge to cross a track is not too clever ;) And no, there isn't another tunnel under that.

(Oh and because of the required symmetry if forms an almost-swastika.)

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

jamespetts

Hmm, if junctions like that are necessary, there's something horribly wrong in the balancing somewhere requiring far too high a capacity.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

gerw

New patches are out! Now the bugs posted in this thread are fixed - except the 'under water bug'. But I think this one can solved by allow viewing under water (maybe 2 levels) and prohibit too low tunnels.

Additional thanks to dwachs, who figured out whats going on with this orange markers!

wernieman

I must use both Patches?

Then I get a Problem ...

simutrans@birgit ~/comp2 $ cat nohup.out
patching file simwerkz.cc
patching file simwerkz.h
patching file simmenu.h
patching file Makefile
patching file simplan.cc
patching file boden/tunnel_ceiling.cc
patching file boden/tunnel_ceiling.h
patching file boden/tunnelboden.cc
patching file boden/tunnelboden.h
patching file boden/grund.h
patching file bauer/wegbauer.cc
patching file bauer/tunnelbauer.cc
patching file bauer/tunnelbauer.h
patching file simmenu.cc
patching file simwerkz.cc
Hunk #2 FAILED at 357.
Hunk #21 succeeded at 1714 with fuzz 2 (offset 14 lines).
Hunk #22 succeeded at 1771 (offset 14 lines).
Hunk #23 succeeded at 1975 (offset 14 lines).
Hunk #24 succeeded at 2338 (offset 14 lines).
Hunk #25 succeeded at 2350 (offset 14 lines).
Hunk #26 succeeded at 2571 (offset 14 lines).
Hunk #27 succeeded at 2640 (offset 14 lines).
Hunk #28 succeeded at 2735 (offset 14 lines).
Hunk #29 succeeded at 2787 (offset 14 lines).
Hunk #30 succeeded at 2834 (offset 14 lines).
Hunk #31 succeeded at 2850 (offset 14 lines).
Hunk #32 succeeded at 2892 (offset 14 lines).
Hunk #33 succeeded at 2974 (offset 14 lines).
Hunk #34 succeeded at 3071 (offset 14 lines).
Hunk #35 succeeded at 3144 (offset 14 lines).
Hunk #36 succeeded at 3303 (offset 14 lines).
Hunk #37 succeeded at 3356 (offset 14 lines).
Hunk #38 succeeded at 3390 (offset 14 lines).
Hunk #39 succeeded at 3423 (offset 14 lines).
Hunk #40 succeeded at 3472 (offset 14 lines).
Hunk #41 succeeded at 3512 (offset 14 lines).
Hunk #42 succeeded at 3551 (offset 14 lines).
Hunk #43 succeeded at 3687 (offset 14 lines).
Hunk #44 succeeded at 3758 (offset 14 lines).
1 out of 44 hunks FAILED -- saving rejects to file simwerkz.cc.rej
patching file simwerkz.h
Hunk #9 succeeded at 223 with fuzz 2 (offset 11 lines).
Hunk #10 succeeded at 282 (offset 11 lines).
Hunk #11 succeeded at 300 (offset 11 lines).
Hunk #12 succeeded at 316 (offset 11 lines).
Hunk #13 succeeded at 341 (offset 11 lines).
Hunk #14 succeeded at 385 (offset 11 lines).
Hunk #15 succeeded at 454 (offset 11 lines).
Hunk #16 succeeded at 582 (offset 11 lines).
Hunk #17 succeeded at 631 (offset 11 lines).
Hunk #18 succeeded at 689 (offset 11 lines).
Hunk #19 succeeded at 853 (offset 11 lines).
Hunk #20 succeeded at 864 (offset 11 lines).
Hunk #21 succeeded at 875 (offset 11 lines).
Hunk #22 succeeded at 886 (offset 11 lines).
Hunk #23 FAILED at 913.
1 out of 23 hunks FAILED -- saving rejects to file simwerkz.h.rej
patching file simmenu.h
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file simmenu.h.rej
patching file Makefile
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Makefile.rej
patching file vehicle/simpeople.cc
patching file vehicle/simverkehr.cc
patching file vehicle/simvehikel.cc
patching file gui/colors.cc
patching file gui/colors.h
patching file gui/fahrplan_gui.cc
patching file simworld.cc
patching file simplan.cc
Reversed (or previously applied) patch detected!  Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file simplan.cc.rej
patching file boden/tunnel_ceiling.cc
patching file boden/tunnel_ceiling.h
patching file boden/wege/weg.cc
patching file boden/brueckenboden.cc
patching file boden/tunnelboden.cc
Hunk #1 FAILED at 31.
1 out of 1 hunk FAILED -- saving rejects to file boden/tunnelboden.cc.rej
patching file boden/tunnelboden.h
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file boden/tunnelboden.h.rej
patching file boden/grund.cc
patching file boden/grund.h
Hunk #3 FAILED at 207.
1 out of 6 hunks FAILED -- saving rejects to file boden/grund.h.rej
patching file boden/fundament.cc
patching file boden/boden.cc
patching file boden/monorailboden.cc
patching file bauer/wegbauer.cc
Reversed (or previously applied) patch detected!  Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file bauer/wegbauer.cc.rej
patching file bauer/tunnelbauer.cc
Reversed (or previously applied) patch detected!  Skipping patch.
8 out of 8 hunks ignored -- saving rejects to file bauer/tunnelbauer.cc.rej
patching file bauer/tunnelbauer.h
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file bauer/tunnelbauer.h.rej
patching file simmenu.cc
Reversed (or previously applied) patch detected!  Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file simmenu.cc.rej
patching file simview.cc
I hope you understand my English

Dwachs

No! the first file contains both patches (underground view + slopes), whereas the second one contains only the slope patch (I think). Both patch files are against a clean simutrans.

Klaro?  :)
Parsley, sage, rosemary, and maggikraut.

wernieman

O.K. ....

My Script use for patching a realy clean simutrans ... every time ;o)
I hope you understand my English

Frank

compile MS VC++ 2005 EE

r2310 + file underground_view_slopes-2310.patch

Quotesimplan.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual void __thiscall tunnel_ceiling_t::rdwr(class loadsave_t *)" (?rdwr@tunnel_ceiling_t@@UAEXPAVloadsave_t@@@Z)".
Quotetunnelbauer.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: __thiscall tunnel_ceiling_t::tunnel_ceiling_t(class karte_t *,class koord3d)" (??0tunnel_ceiling_t@@QAE@PAVkarte_t@@Vkoord3d@@@Z)".

Dwachs

I think you have to add the file boden/tunnel-ceiling.cc manually to the visual studio project.
Parsley, sage, rosemary, and maggikraut.

gerw

I thought, I forget 'svn add' again, but this time all files are included in the patch. And dwachs is right: the first file contains both patches and the second only the slope patch. Both against clear r2310.

Frank

thanks, Dwachs it work

this warning

Quote...\untergrund_2310\besch\way_obj_besch.h(190) : warning C4715: "way_obj_besch_t::has_diagonal_bild": Nicht alle Steuerelementpfade geben einen Wert zurück.

Dwachs

.. has nothing to do with the patches here :)
Parsley, sage, rosemary, and maggikraut.

wernieman

#64
I put new Versions in patches.simutrans-germany.com

Atention: I dont test them!!!
I hope you understand my English

The Transporter

After a short Test: it works fine

SQ285

can anyone post the tutorial of slope in tunnels?

jamespetts

SQ - it's an experimental feature as yet, so I don't think that a full tutorial is available. This thread might contain some information as to how to use them somewhere. Hopefully, if/when the feature is integrated into the main version, information will be added to the help files on how to use it.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

The Transporter

Great Work,
No touble after a lot of Hours testing.
Could you please use "up" and "down" Arrows for changing the Underground view. It would be better than the "left" and "right" Arrows

Dwachs

Quote from: The Transporter on February 16, 2009, 01:15:26 PM
Could you please use "up" and "down" Arrows for changing the Underground view. It would be better than the "left" and "right" Arrows

You mean in the 'Display dialogue' ? I will look, how this could be done.
Parsley, sage, rosemary, and maggikraut.