Svenska 3D-Tåg - Forum  
 

Om det här är ditt första besök, se till att gå till vår FAQ (finns även länk till FAQ i navigeringsmenyn ovan). Du kan behöva att registrera dig innan du kan posta (finns även en länk till registrering i navigeringsmenyn ovan). För att titta på inlägg, välj det forum som du vill besöka från de som är listade nedan.

Gå tillbaka   Svenska 3D-Tåg - Forum > DTG - Train Simulator > Landskapsdesign - DTG - Train Simulator

Svara
 
Ämnesverktyg Visningsalternativ
Gammal 2024-09-21, 00:51   #1
Hgv
Medlem
 
Reg.datum: Apr 2007
Inlägg: 817
Standard

This is the latest version: http://www.e-buzz.se/forum/showpost....5&postcount=25

The one on Banbyggarna is a very old version. It may be that this version works as it's a lot less complex with less signalling and it doesn't include any of the layout around Stockholm which I have included in the later versions (in hindsight that should probably have been a separate route...).

I would suggest if you want to run the route to make a separate installation of an older TS version as explained previously. Alternatively you can try to disable certain signals, but you may still run into problems e.g. when a train activates a crossing signal. With the old TS version the signals should work predictably with no crashes.

In the DTG forums I have tried to raise the issue of scripts causing crashes in the later TS versions but I haven't received any official response. I'm not sure if there is another way to contact DTG about it.
Hgv besöker inte forumet just nu  
Svara med citat
Gammal 2024-09-23, 22:59   #2
Tarik Pasic
Medlem
 
Reg.datum: Nov 2016
Ort: Canada
Inlägg: 64
Standard

Citat:
Ursprungligen postat av Hgv Visa inlägg
This is the latest version: http://www.e-buzz.se/forum/showpost....5&postcount=25

The one on Banbyggarna is a very old version. It may be that this version works as it's a lot less complex with less signalling and it doesn't include any of the layout around Stockholm which I have included in the later versions (in hindsight that should probably have been a separate route...).

I would suggest if you want to run the route to make a separate installation of an older TS version as explained previously. Alternatively you can try to disable certain signals, but you may still run into problems e.g. when a train activates a crossing signal. With the old TS version the signals should work predictably with no crashes.

In the DTG forums I have tried to raise the issue of scripts causing crashes in the later TS versions but I haven't received any official response. I'm not sure if there is another way to contact DTG about it.
Yes I've been trying to work with that 2020 version, unfortunately your 2019 versions are no longer available (maybe they would work without any signals or scripts issues). Unfortunately, when I delete the signals and scripts, I am able to access the route BUT I only get the Stockholm area portion of the route and not the Jonkopingsbanan part, for some reason. I like the version on Banbyggarna but it's indeed very old and also quite short ("only" 23 kilometers). Is your version of the route longer? Do you happen to have a 3D map somewhere maybe?

When it comes to other forums, I know a guy who is very good at fixing issues on route. Unfortunately, I recently had him fix something for me so I don't necessarily feel comfortable asking him for help again so quickly but let's see, I can talk to him about your route eventually if you want.
Tarik Pasic besöker inte forumet just nu   Svara med citat
Gammal 2024-10-08, 13:55   #3
Hgv
Medlem
 
Reg.datum: Apr 2007
Inlägg: 817
Standard

Sorry for the late reply.

As far as I understand the problem with the route is exclusively related to signal scripts. The good thing about this is that the scripts can be disabled by simply removing or renaming the related LUA file. For example, I found that the SE End Signal script is the culprit for certain crashes, and when this script is disabled the route will load (however, only in 32 bit if I remember correctly - and I don't have access to the computer where I have TS installed at the moment so I can't check). The result is that the related signal will not work as it has no active script. The simulator will still display the signal as a "dead" object in this case, with all signal lamps lit up (in the case of the end signal, it means the single red light is always lit, so it doesn't have a major impact on the operation of the route or other signals).

Another "good thing" about the problem being with signal scripts, is that you can edit and adjust the scripts without having to replace any objects in the route. A simple script edit could potentially get rid of the crashes, but it probably means we need a thorough look at all the scripts as they interact with each other. If you can find someone with the script knowledge who is willing to do that it could be a way forward.

As for the different versions of the route, the one I linked previously is the latest. It includes Jönköpingsbanan between Mullsjö and Äng (with limited scenery between Habo and Mullsjö), Vaggerydsbanan between Jönköping and Vaggeryd (with the stretch between Månsarp and Vaggeryd complete), and finally the Stockholm area complete between Stockholms Södra and Solna/Ulriksdal (scenery only around central Stockholm but trackwork and signals to Ulriksdal). As I don't have the simulator at hand I can't really show you a map (I guess you mean 2D map rather than 3D?), but you should be able to load the route yourself and have a look if you install an older version of TS separately as described previously, or if you disable signal scripts. Bear in mind that the two sections of the route are about 300 km apart, so you won't be able to see the whole route in the 2D map as it can't be zoomed out that far. You can load a scenario or free roam in different parts of the route to check the map, or load the route in the editor and jump to the desired location/coordinates.
Hgv besöker inte forumet just nu   Svara med citat
Gammal 2024-10-10, 14:43   #4
Tarik Pasic
Medlem
 
Reg.datum: Nov 2016
Ort: Canada
Inlägg: 64
Standard

Citat:
Ursprungligen postat av Hgv Visa inlägg
Sorry for the late reply.

As far as I understand the problem with the route is exclusively related to signal scripts. The good thing about this is that the scripts can be disabled by simply removing or renaming the related LUA file. For example, I found that the SE End Signal script is the culprit for certain crashes, and when this script is disabled the route will load (however, only in 32 bit if I remember correctly - and I don't have access to the computer where I have TS installed at the moment so I can't check). The result is that the related signal will not work as it has no active script. The simulator will still display the signal as a "dead" object in this case, with all signal lamps lit up (in the case of the end signal, it means the single red light is always lit, so it doesn't have a major impact on the operation of the route or other signals).

Another "good thing" about the problem being with signal scripts, is that you can edit and adjust the scripts without having to replace any objects in the route. A simple script edit could potentially get rid of the crashes, but it probably means we need a thorough look at all the scripts as they interact with each other. If you can find someone with the script knowledge who is willing to do that it could be a way forward.

As for the different versions of the route, the one I linked previously is the latest. It includes Jönköpingsbanan between Mullsjö and Äng (with limited scenery between Habo and Mullsjö), Vaggerydsbanan between Jönköping and Vaggeryd (with the stretch between Månsarp and Vaggeryd complete), and finally the Stockholm area complete between Stockholms Södra and Solna/Ulriksdal (scenery only around central Stockholm but trackwork and signals to Ulriksdal). As I don't have the simulator at hand I can't really show you a map (I guess you mean 2D map rather than 3D?), but you should be able to load the route yourself and have a look if you install an older version of TS separately as described previously, or if you disable signal scripts. Bear in mind that the two sections of the route are about 300 km apart, so you won't be able to see the whole route in the 2D map as it can't be zoomed out that far. You can load a scenario or free roam in different parts of the route to check the map, or load the route in the editor and jump to the desired location/coordinates.
Yes, the route only works (for the most part) in 32 bit, that's been a recurring issue with some Swedish routes but I have access to the game in 32 bit so that's not an issue for me.

I meant the 2D map rather than the 3D map, yes. When I open the route editor for the 2020 version of the Jönköpingsbanan, I only get the Stockholm section to show up but I guess that section being 300 km apart from Jönköpingsbanan is why I can't see the rest. I will try to see those other sections by using coordinates or desire location and see what happens, I was hoping to create some QD scenarios but just for the Mullsjö to Äng section and vice versa, maybe also the Vaggerydsbanan. I'm hoping TS fixes this issue with scripts so you can finally continue your work.
Tarik Pasic besöker inte forumet just nu   Svara med citat
Gammal 2024-10-14, 14:34   #5
Hgv
Medlem
 
Reg.datum: Apr 2007
Inlägg: 817
Standard

I hope it works out for you; it would be interesting to check out any scenarios you make!

I don't really have any hopes that they will "fix" TS, but if someone with good knowledge of LUA scripting would be able to totally remake the Swedish signal scripts, or at least find out where the problems are with the current scripts, then we might have a way forward. The advantage of this is that by updating the scripts, the signals can be fixed without having to replace hundreds of signal objects and probably thousands of links in the route. The downside is that since different signals interact with each other, it likely means that all the signal scripts have to be altered. On the other hand, if it's possible to find out exactly which behaviour causes the crashes, it could potentially be an easy fix.
Hgv besöker inte forumet just nu   Svara med citat
Gammal 2024-10-30, 10:07   #6
Totte
Hedersmedlem
 
Reg.datum: Mar 2002
Ort: Trollhättan
Inlägg: 9 852
Standard

Hej Hgv!
Du har fått PM av mig.
Totte besöker inte forumet just nu   Svara med citat
Gammal 2024-12-13, 22:13   #7
Hgv
Medlem
 
Reg.datum: Apr 2007
Inlägg: 817
Standard

Tack Totte, du ledde mig på rätt spår (!) så jag har nu listat ut varför Jönköpingsbanan kraschar i senaste TS.

Det verkar som att TS numera har väldigt svårt att hantera "felvända" signallänkar. Detta innebär att plankorsningar, plattformsbommar och andra signaler där man av någon anledning vill ha länkar vända åt olika håll lätt kan krascha simulatorn.

I Jönköpingsbanan var "boven" skyddsstopplyktor (sitter vid stoppbockar, orsakar krasch när rutten laddas) och plattformsbommar (krasch när de aktiveras, finns förutom de synliga bommarna vid plattformsövergångar även gömda för att ge ringsignal på bangårdar).

För att få rutten att fungera har jag:
  • Tagit bort de gamla plattformsbommarna och ersatt med Addes plankorsningar (tack Adde för att du tog dig tid att fixa nya plankorsningar!). Tyvärr innebär detta att man inte får några ringklockor på bangårdar (kanske går att hitta på någon ny lösning på det, får återkomma till det).
  • Vänt på de "felvända" länkarna vid stopplyktor som sitter vid stoppbock. För att lyktorna fortfarande ska ha rätt funktion har jag modifierat scriptet för SE End Signal (man kan nu klicka i "Approach Control" för en lykta som man önskar alltid ska lysa, och detta påverkar inte funktionen på andra utplacerade signaler).
  • Även ersatt de flesta plankorsningar med Addes nya för att minska risken att de orsakar problem när de aktiveras (svårt att förutse alla situationer). Några äldre plankorsningar har fått vara kvar på industrispår där de inte "stör" resten av banan.

Nu återstår att göra en genomgång av banan och testköra några scenarier för att se till att det inte uppstått några oförutsedda problem. Sedan planerar jag att lägga upp en ny version av banan.

Kända problem/begränsningar
  • De nya plattformsbommarna saknar ljud (känt problem enligt Adde).
  • De nya plankorsningarna aktiveras på ett fast avstånd, vilket innebär att de aktiveras lite för sent i högre hastigheter och lite för tidigt vid lägre hastighet. Jag funderar på om man kan göra flera varianter av plankorsningarna, men har inte riktigt koll på scriptningen.
  • Jag har inte lyckats få till någon bra förringningstid på vägskydden. Bommarna börjar fällas samtidigt som klockorna börjar ringa. Återigen säkert något man kan fixa med scriptningen, men jag har prövat mig fram och inte fått till det.
  • Slutpunktsstopplyktorna fungerar som tidigare, inte helt perfekt men dom får duga, om ingen lyckas hitta på en smartare scriptning (de lyser om nästa signal visar stopp; vissa lyktor har jag inaktiverat genom att ha dem länkade till ett inaktivt sidospår).
  • Jag har inte uppdaterat banan i övrigt. Mycket har hänt IRL i infrastrukturen de senaste åren, med bl.a. hastighetshöjningar och slopande av flera plankorsningar på Jönköpingsbanan. Banan i TS är dock samma som förra versionen som jag släppte 2020.
Hgv besöker inte forumet just nu   Svara med citat
Svara

Taggar
rw-rutter


Regler för att posta
Du får inte posta nya ämnen
Du får inte posta svar
Du får inte posta bifogade filer
Du får inte redigera dina inlägg

BB-kod är
Smilies är
[IMG]-kod är
HTML-kod är av
Forumhopp



Alla tider är GMT +2. Klockan är nu 22:31.


Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Svensk översättning av: Anders Pettersson
© Svenska 3D-Tåg 2001-2009