Jump to content

[EN/PL] Wolne pociągi - Free trains


Zapach Kreozotu

Recommended Posts

PL: Na próbę udostępniłem zestawienie wszystkich "wolnych" pociągów na serwerach PL, co może trochę ułatwi znalezienia sobie czegoś fajnego do poprowadzenia. Jest proste filtrowanie, ale odświeżać na tę chwilę trzeba sobie samemu. Można podejrzeć rozkład i pozostawić sobie wyświetlony na oddzielnym ekranie.

EN: I have made available this summary of trains available for driving across all servers. Perhaps this will help you in finding something interesting to drive. It comes with simple filtering. You can also view the timetable and leave it open on a second screen.

https://simrail.express/

Screenshot from 2023-02-24 16-47-31.png

IMG_20230319_105557129_MF_PORTRAIT.jpg

Screenshot from 2023-03-24 16-58-22.png

Edited by Zapach Kreozotu
Zrzuty ekranu w pierwszym poście/Screenshots in the first message
  • Like 9
  • Thanks 15
  • I agree 4
Link to comment
Share on other sites

1 godzinę temu, 0x8000ffff napisał(a):

Jak dla mnie świetna sprawa - mogę sobie łatwo wyszukać moje ulubione ET25 na interesującej mnie stacji lub jej pobliżu 🙂

P.S. Jakieś API (dokumentacja) jest gdzieś dostępne, aby pisać sobie takie rzeczy, czy trzeba być ustosunkowanym? 😉

Dobre pytanie? Jest jakieś API?

Link to comment
Share on other sites

3 godziny temu, 0x8000ffff napisał(a):

Jak dla mnie świetna sprawa - mogę sobie łatwo wyszukać moje ulubione ET25 na interesującej mnie stacji lub jej pobliżu 🙂

Dzięki za miłe słowa!

3 godziny temu, 0x8000ffff napisał(a):

P.S. Jakieś API (dokumentacja) jest gdzieś dostępne, aby pisać sobie takie rzeczy, czy trzeba być ustosunkowanym? 😉

Nie trzeba 🙂 Koleżeństwo w Zespołu SimRaila jest bardzo pomocne, nawet dla goroli!

Na tę chwilę nie ma dokumentacji i na pewno API nie jest jeszcze w ostatecznej formie.

Ten projekt korzysta z następujących endpointów:

  1. https://panel.simrail.eu:8084/servers-open
  2. https://panel.simrail.eu:8084/trains-open?serverCode=pl1

Trochę danych jest rozproszonych - jest np. plik statyczny z niemal pełną bazą prędkości, który chciałbym wykorzystać w projekcie dot. rozkładów jazdy oraz przygotowane przez kolegę @DeadlyKungFu.Ninja nieoficjalne API z rozkładami, powstałe na bazie web-scrapingu danych z systemu EDR (chyba).

Macie jakieś fajne pomysły na projekty?

  • Thanks 1
Link to comment
Share on other sites

Hello!

Thank you very much for the english version ❤️ 

Sorry, I don't speak polish.

You can find the unofficial API behind the official EDR scrapper that is used by https://edr.simrail.app/ here: http://docs.simrail.deadlykungfu.ninja/

You can access train timetables via this endpoint: https://staging.simrail.deadlykungfu.ninja/train/242237
And stations dispatch timetable via this endpoint: https://staging.simrail.deadlykungfu.ninja/dispatch/SG

It is inded scrapping the data from the official game EDR. The code is accessible here: https://github.com/simrail/EDR (please note the scrapper is on the edr_staging branch)

You are free to use the API as you wish, I hope it may help you in your projects waiting for an official API 🙂 Please not that speed limits may be innacurate, they are still Work In Progress.

See you soon ! 🙂

  • Thanks 1
Link to comment
Share on other sites

Godzinę temu, Zapach Kreozotu napisał(a):

Macie jakieś fajne pomysły na projekty?

Nie wiem, czy to jest fajny projekt, ale na nastawniach z pulpitem kostkowym widziałbym coś w rodzaju dziennika ruchu, którego wypełnianie bazowałoby na informacjach z serwerów, coś jak ten francuski EDR. Po co taki dziennik? Na pulpitach komputerowych, można sobie wstawiać opisy (numer pociągu, godziny prz/odj), na kostkowych już tego nie ma, stąd potrzeba notatek w formie dziennika ruchu na przykład.

  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

 

PL:

Kilka dni później i około 3000 linii kodu dalej, dziś została próbnie uruchiomiona funkcjonalność podglądu rozkładów jazdy. Po kliknięciu niebieskiego przycisku w tabeli pojawi się podgląd rozkładu jazdy w formacie zbliżonym do generowanego przez system SKRJ. Natomiast po kliknięciu przycisku "Pobierz dokumenty pociągu" rozkład wyświetli się na całej szerokości okna i można go sobie pozostawić włączonym podczas jazdy.

W tej chwili funkcja została włączona dla wszystkich pociągów między Warszawą i Katowicami oraz niektórych pociągów między Warszawą a Krakowem. Kolejne pociągi będą włączane sukcesywnie.

W obecnej wersji rozkład może się wyświetlać z błędami na urządzeniach mobilnych. Nie ma także jeszcze wsparcia dla drukowania rozkładów i należy się spodziewać, że stronicowanie będzie działało źle.

Cały czas trwają prace nad brakującymi i błędnymi elementami rozkładu, więc zainteresowanym polecam śledzić ten wątek.

P.S. Gdyby ktoś znający się na frontendzie/Pythonie chciał dołączyć do projektu, to zapraszam.

EN:

A few days and around 3000 lines of code later I can now present you with a test feature of timetable preview. After clicking the blue button in the table, you will be presented with a timetable in a form resembling the official SKRJ-generated timetable. Once you click the 'Download Train Documents' button, you will be taken to a full-size timetable which you can keep open on your screen as your drive.

At the moment the new feature has been enabled for all trains between Warsaw and Katowice and for some trains between Warsaw and Cracow. More trains will be enabled shortly.

Right now the timetable might present itself poorly on mobile devices. There is also no support for printing (yet) so it is expected to paginate poorly.

I am working on adding new and correcting the wrong elements of the timetable, so if you find this interesting, watch this space.

P.S. If anyone familiar with frontend/Python would like to join me in this work, just drop me a message.

 

Screenshot from 2023-03-08 16-29-56.png

  • Like 8
  • Thanks 6
  • I agree 1
Link to comment
Share on other sites

well, that's my little project of making timetables blown out of the water 😵😄

This is awesome work here,  i wish i could have helped on your project but i don't know any programming stuff, 

For the past few weeks i've been trying to learn excel to make my version of the timetables, and my brain is overloaded with excel formulas for stuff like converting seconds to decimal minutes (with the hope that SimRails timetables will become more realistic and have departure times to the second as it is in real life, rather than whole minutes,
So say a departure at 21:30:42, that would be displayed on a timetable as 21:307 (that 7 should be half way above the 0, but i can't do superscript on here, it's showing 0.7 decimal minutes, which is 6 seconds per decimal minute)

I even struggle with nesting formulas in excel, but none of this comes close to making timetables up on the fly like you have done 👍

 

:

 

I notice the station info in the screenshot above, nothing goes past 'H'? is this how it was in 2018? 
i.e. for Warszawa Wschodnia station, i have 'R2, R1, R6, R307, RT, H, SS'   some stations have 'PP' instead of 'SS' some have 'L1' they all show things like track interlocking, is ETCS is present or not and so on,
and someone told me that's how you tell things like if the signal you pass on a Sz aspect is a 40 or 20km/h limit. 

 

 

Link to comment
Share on other sites

2 godziny temu, Zapach Kreozotu napisał(a):

PL:

Kilka dni później i około 3000 linii kodu dalej, dziś została próbnie uruchiomiona funkcjonalność podglądu rozkładów jazdy. Po kliknięciu niebieskiego przycisku w tabeli pojawi się podgląd rozkładu jazdy w formacie zbliżonym do generowanego przez system SKRJ. Natomiast po kliknięciu przycisku "Pobierz dokumenty pociągu" rozkład wyświetli się na całej szerokości okna i można go sobie pozostawić włączonym podczas jazdy.

W tej chwili funkcja została włączona dla wszystkich pociągów między Warszawą i Katowicami oraz niektórych pociągów między Warszawą a Krakowem. Kolejne pociągi będą włączane sukcesywnie.

W obecnej wersji rozkład może się wyświetlać z błędami na urządzeniach mobilnych. Nie ma także jeszcze wsparcia dla drukowania rozkładów i należy się spodziewać, że stronicowanie będzie działało źle.

Cały czas trwają prace nad brakującymi i błędnymi elementami rozkładu, więc zainteresowanym polecam śledzić ten wątek.

P.S. Gdyby ktoś znający się na frontendzie/Pythonie chciał dołączyć do projektu, to zapraszam.

EN:

A few days and around 3000 lines of code later I can now present you with a test feature of timetable preview. After clicking the blue button in the table, you will be presented with a timetable in a form resembling the official SKRJ-generated timetable. Once you click the 'Download Train Documents' button, you will be taken to a full-size timetable which you can keep open on your screen as your drive.

At the moment the new feature has been enabled for all trains between Warsaw and Katowice and for some trains between Warsaw and Cracow. More trains will be enabled shortly.

Right now the timetable might present itself poorly on mobile devices. There is also no support for printing (yet) so it is expected to paginate poorly.

I am working on adding new and correcting the wrong elements of the timetable, so if you find this interesting, watch this space.

P.S. If anyone familiar with frontend/Python would like to join me in this work, just drop me a message.

 

Amazing job regarding the schedule tables. Keep up!

Edited by Lord Dżosef
  • Thanks 1
Link to comment
Share on other sites

Just a little thing... on the 14100 services (and possibly the 41100 services too?), there's a 'stop' at Olszamowice to let an ED250 past you, 
i think it should also have something after it's station / post name to show this is a timing stop and not a stop for passengers to get on and off.

I 'think' it should be ;pn ?   'Non-trade stop - just for the needs of the railway undertaking'?

From the 'zal_6.3_Reg22_23_v8_EN' on the PKP site it shows:

PH – trade stop (->PH) only for getting on, (PH->) only for getting off;
ZD – change of traction team;
PN – non-trade stop;
PM – manoeuvre works within station;
ZP – stop for railway workers;

 

So this is how i show it in my timetable for this service:

image.png.aef4a8c27cf73f02ab5322adec6832ef.png

Edited by Gazz292
Link to comment
Share on other sites

PL:

Dziś doszła możliwość przełączenia widoku na nocny aby światło ekranu tak nie biło po oczach.

Zostały także włączone pociągi EIP z Krakowa do Warszawy. Kolejne w drodze.

I na koniec - zostały ujawnione postoje techniczne.

EN:

Today I've added the possibility to switch to night mode which should reduce the amount of light emitted by the screen.

In addition, EIP trains from Kraków to Warsaw are now enabled. More soon.

Lastly, technical stops (pt) have been added.

 

Screenshot from 2023-03-10 09-52-25.png

Screenshot from 2023-03-10 09-54-34.png

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

W dniu 8.03.2023 o 19:13, Gazz292 napisał(a):

This is awesome work here,  i wish i could have helped on your project but i don't know any programming stuff,

Thanks for your kind words! I am trying to be as close to the real document as reasonably possible, though, so there will be no permanent/temporary speed restrictions in this timetable.

W dniu 8.03.2023 o 19:13, Gazz292 napisał(a):

I notice the station info in the screenshot above, nothing goes past 'H'? is this how it was in 2018?

Oh no, it just hasn't been implemented yet. To implement this correctly I will need to add a concept of line sections to my project. Of course, the type of interlock might be different depending on the direction in which you leave the station, so this needs to be worked out by the algorithm and compared to the definitions available.

W dniu 8.03.2023 o 19:13, Gazz292 napisał(a):

for Warszawa Wschodnia station, i have 'R2, R1, R6, R307, RT, H, SS'   some stations have 'PP' instead of 'SS' some have 'L1' they all show things like track interlocking, is ETCS is present or not and so on, and someone told me that's how you tell things like if the signal you pass on a Sz aspect is a 40 or 20km/h limit

Yep, that's correct. If there's an 'S' for your line then you need to depart at 20 km/h, otherwise 40. ETCS annotations would be quite irrelevant right now in Simrail, but I'll add them too at some point.

W dniu 8.03.2023 o 20:57, Gazz292 napisał(a):

Just a little thing... on the 14100 services (and possibly the 41100 services too?), there's a 'stop' at Olszamowice to let an ED250 past you, 
i think it should also have something after it's station / post name to show this is a timing stop and not a stop for passengers to get on and off.

I 'think' it should be ;pn ?   'Non-trade stop - just for the needs of the railway undertaking'?

Yeah, it's where the API is a bit misleading. I get back this:

"arrivalTime": "2022-08-12 02:25:00",
"departureTime": "2022-08-12 02:29:00",
"stopType": "NoStopOver",

I have made an exception for this now, but I think I'll report this upstream to the Simrail guys as it shouldn't be a 'NoStopOver'.

I also decided to use 'pt' as I think pt is used when the stop might be required to control the traffic whereas a 'pn' would be used it the stop is required by the carrier to e.g. change crew.

  • Thanks 1
Link to comment
Share on other sites

it's certainly no easy task for sure,  and it's way more work that i thought it would be to produce even the simple static timetables i am doing, 

i am learning new things every day tho, i'm just an english guy who has never actually been to Poland, i really wish i'd carried on back in 2006 when i was in the camper van i'd built and had driven as far as Frankfurt (oder).

Most of what i have learnt about the Polish railway system is from SimRail, plus reading old official documents i find on google then machine translate.

So i'm getting the station info stuff (R1, RT, H, SS, L1) from a 2020 timetable that covers the SimRail route from Warsawa Wschodnia to Katowice... BUT it's service 5406/7, which is an ED250 train doing the run, but it dosent stop at all the stations the EU07 trains do, so now i know that the station info changes depending on the direction, also the track being used? 

 

;pt does seem to be the better one to use for that 'timing stop' at Olszamowice, i only spotted it should have an arrival and departure time when driving the route and being stopped to let the ED250 overtake me,  i wonder if it having 'NoStopOver' is why dispatchers rarely stop me there.

 

Link to comment
Share on other sites

not all timetables have been made yet, as it takes quite a while to scrape all the data needed to make each services base timetable together, 

 

I'm having similar 'issues' with my "timetables for displaying on a kindle" project,  i have to get the data from 3 or 4 different sources, with a lot of manual entries to get enough data to make the timetables look half realistic. 

  • I agree 2
Link to comment
Share on other sites

 

 

PL:

W tym weekendowym update'cie doszła masa kodu odpowiedzialna za obsługę brakujących przypadków, chociaż na pierwszy rzut oka może drastycznych zmian nie widać. Z rzeczy widocznych:

  • zostały włączone wszyskie pociągi pasażerskie (za kilka dni będą również wszystkie towarowe)
  • została dodana informacja o rodzaju blokady liniowej na szlaku, proszę zgłaszać błędy, jeśli źle to ustawiłem
  • odcinki jednotorowe powinny wyświetlać się poprawnie - zostają wówczas złączone kolumny Vp i Vl
  • wreszcie, rozkład powinien się obecnie ładnie wyświetlać na tabletach, nawet tych antycznych (obsługa telefonów będzie dodana za jakiś czas)

EN: 

 

In this weekend's update, a lot of edge cases have been catered for behind the scenes, although the changes might not be that obvious at a first sight. When it comes to visible things:

  • all passenger trains have been enabled (it will take a few more days to have the freight ones available too)
  • information on the line interlock is now shown (please let me know if it's wrong)
  • single-track sections should now render correctly - the Vp and Vl columns will be merged in this case
  • finally, the timetable should render nicely on tablets, even the ancient ones (there will be some improvements for smartphones soon)

 

Screenshot from 2023-03-19 10-54-28.png

Screenshot from 2023-03-19 10-53-46.png

IMG_20230319_105557129_MF_PORTRAIT.jpg

  • Like 6
  • Thanks 1
Link to comment
Share on other sites

 

PL:

Dziś domykamy listę brakujących pociągów - obecnie powinny być dostępne rozkłady dla wszystkich dostępnych w grze. 

Na liście pociągów do wyboru doszło kilka poprawek wydajnościowych. Obecnie także powinna być prawidłowo wyświetlana najbliższa stacja (pomijane są te nie przewidziane w rozkładzie jazdy).

Pamiętajcie - do Stawisk po lewym!

EN: 

Today we're closing the list of missing trains - right now all the trains available in the game should have a working corresponding timetable.

On the list of trains available for driving, there were some performance improvements as well as improvements to the algorithm of finding the nearest station (now any stations not available in the train's timetable will be ignored).

And remember - wrong line working till Stawiska!

 

Screenshot from 2023-03-24 16-58-22.png

Edited by Zapach Kreozotu
  • Like 2
  • Thanks 1
Link to comment
Share on other sites

W dniu 26.03.2023 o 13:42, SugaCane napisał(a):

Where a slow speed point is entered with 60 is actually 30.

That is actually a permanent speed restriction, not a 'line speed', so it won't be shown in those timetables 😞

As crazy as it might sound, the speed limits on Polish railways are defined in three places:

  • line speeds in the working timetable (which this project is trying to replicate)
  • permanent speed restrictions in the WOS (Catalog of Permanent Warnings)
  • temporary speed limits in written order "O" also sometimes referred to as "R307"

This project will only give you line speeds.

Perhaps at some point, I will also be able to generate the two other documents.

  • Like 1
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Our servers

    • Drivers | Maszyniści Drivers | Maszyniści
      • PL2
      • pl2
      • 77 / 80
          • Percentage filling 96%
          • Most players 90
      • PL3
      • pl3
      • 2 / 70
          • Percentage filling 3%
          • Most players 76
      • PL4
      • pl4
      • 7 / 77
          • Percentage filling 9%
          • Most players 84
      • PL8
      • pl8
      • 3 / 78
          • Percentage filling 4%
          • Most players 84
      • EN1
      • en1
      • 14 / 77
          • Percentage filling 18%
          • Most players 80
      • EN2
      • en2
      • 0 / 29
          • Percentage filling 0%
          • Most players 60
      • EN3
      • en3
      • 0 / 79
          • Percentage filling 0%
          • Most players 60
      • DE1
      • de1
      • 29 / 79
          • Percentage filling 37%
          • Most players 87
      • DE3
      • de3
      • 1 / 78
          • Percentage filling 1%
          • Most players 66
      • DE4
      • de4
      • 1 / 48
          • Percentage filling 2%
          • Most players 65
      • FR1
      • fr1
      • 7 / 77
          • Percentage filling 9%
          • Most players 49
      • UA1
      • ua1
      • 1 / 78
          • Percentage filling 1%
          • Most players 27
      • CN1
      • cn1
      • 1 / 79
          • Percentage filling 1%
          • Most players 28
      • CZ1
      • cz1
      • 6 / 78
          • Percentage filling 8%
          • Most players 61
      • ES1
      • es1
      • 2 / 77
          • Percentage filling 3%
          • Most players 23
    • Dispatchers | Dyżurni ruchu Dispatchers | Dyżurni ruchu
      • PL2
      • pl2
      • 27 / 27
          • Percentage filling 100%
          • Most players 27
      • PL3
      • pl3
      • 3 / 27
          • Percentage filling 11%
          • Most players 27
      • PL4
      • pl4
      • 4 / 27
          • Percentage filling 15%
          • Most players 27
      • PL8
      • pl8
      • 3 / 27
          • Percentage filling 11%
          • Most players 27
      • EN1
      • en1
      • 8 / 27
          • Percentage filling 30%
          • Most players 27
      • EN2
      • en2
      • 1 / 27
          • Percentage filling 4%
          • Most players 21
      • EN3
      • en3
      • 0 / 27
          • Percentage filling 0%
          • Most players 13
      • DE1
      • de1
      • 17 / 27
          • Percentage filling 63%
          • Most players 27
      • DE3
      • de3
      • 0 / 27
          • Percentage filling 0%
          • Most players 27
      • DE4
      • de4
      • 1 / 27
          • Percentage filling 4%
          • Most players 24
      • UA1
      • ua1
      • 0 / 27
          • Percentage filling 0%
          • Most players 17
      • FR1
      • fr1
      • 1 / 27
          • Percentage filling 4%
          • Most players 23
      • ES1
      • es1
      • 0 / 27
          • Percentage filling 0%
          • Most players 15
      • CZ1
      • cz1
      • 7 / 27
          • Percentage filling 26%
          • Most players 27
      • CN1
      • cn1
      • 0 / 27
          • Percentage filling 0%
          • Most players 19
    • 30 Total servers
    • 223 / 1489 Total players
    • 15% Filled servers
×
×
  • Create New...

Important Information

Terms of Use Privacy Policy