MRTPath

From Minecart Rapid Transit Wiki
Jump to navigation Jump to search
Ambox important.svg Note: The Launcher is not working for Mac users! Please download the whole .zip and launch the MRTPath.jar.
Also, you have to update manually.
Ambox important.svg

MRTPath is a project leaded by minecrafter0505 and logiblocs for creating an application that can be used to find your way to a station. It is using the Dijkstra-Agorithm for pathfinding. As this program is written in Java, all PCs, Macs, Linux and other machines, that are capable to run Minecraft (except the Raspberry PI, as it is using a Python version of Minecraft), can run this program.

Current version

Program

The most recent stable build is:

MRTPath v1.1 (Timestamp: 2014/03/02)

Note: When you have downloaded the newest version of the program, you won't need to download the mrt.network seperatly, as the newest version will be inside the .zip you have downloaded.

mrt.network file

The mrt.network file is the file that contains all lines and their connections. It will be updated more often than the program itself. Check the timestamp of your version to see, if you need an update (the timestamp is not added yet, it will be in the next update).

Most recent mrt.network file (Timestamp: 2014/02/21)

How to use the program

First, extract the contents of the downloaded .zip file into one folder. Then run the Launcher.jar. Now you can enter a station ID (e.g. Y14) or a station name (e.g. Oaksville-Owasso). Once you press enter, click the calculate-button or switch to another text field, the autocompletion should find your station if it is in the system.

How can I add my transit system?

In order to get your transit system into the mrt.network file, just write a book to minecrafter0505 titled with "MRTPath" in the following style:

Name of your transit line
[ID of station 1]:[Name of station 1]
[Distance station 1 to station 2]
[ID of station 2]:[Name of station 2]
[Distance station 2 to station 3]
[ID of station 3]:[Name of station 3]
[Distance station 3 to station 4]
.
.
.
[ID of TERMINUS station]:[Name of TERMINUS station]

e.g. (this numbers are NOT correct):

MRT Yellow line
Y1:Morningside
100
Y2:Hardesty
65
Y3:MRT Convention Centre
.
.
.
Y25:Chuno

How to measure out your line

To be able to submit this information to me, you have to measure out your rail system. You have to count the rail blocks between two stations. Please remember the following when doing so:

  • Begin counting at the first rail block behind the block the minecarts stand on when they stop at the station.
  • Stop counting at the last railblock before the block the minecarts stand on when they stop at the station.
  • Every railblock has to be counted, even in diagonal segments.
  • High speed segments only count every second railblock.
  • Only one number has to be submitted in the distance between two stations, even if the distance between Station 1 and Station 2 is slightly (max. 50 blocks) different to the distance from Station 2 to Station 1.
  • If they are more than 50 blocks in difference, submit the number this way (so in this case, Y1-Y2 is 100 blocks, but Y2-Y1 is 200 blocks):
MRT Yellow line
Y1:Morningside
100:200
Y2:Hardesty
  • If you stop at a Transit HUB, Please also give the Platform(s) name(s).

To-Do-List

  • Deploy a working version (Working except for Macs)
  • Fix it to make it work with Macs
  • Introduce new storage system and rewrite all code to make it more effective and easier (MRTPath 2.0)
  • Port the program to Android
  • Port the program to a bukkit plugin

Questions

If you have questions, ask them in MC or Mumble to minecrafter0505, or submit them on the discussion page on this wikipage. Make sure your question is not already listed on the discussion page.

Changelog

MRTPath v1.1

(Timestamp: 2014/03/02)

  • added automated Update for program and mrt.network file
  • added Launcher
  • Still known bug: No Stops can be added anymore for some reason

MRTPath v1.0

(Timestamp: 2014/02/21)

  • contains MRT
  • fixed Next button being active, if there is only one direction given (e.g. R1-R5)
  • fixed Green line

MRTPath v1.0 beta

(Timestamp: 2014/02/20)

  • contains MRT except blue line
  • first release


Cangelog for mrt.network file

Timestamp: 2014/02/21

  • contains MRT system.

Geek's info

This program is published with the GPL v2 license. The source code is available here.

Special Thanks

MRT surveyors

  • Red Line: Keks63
  • Green Line: godzilltrain
  • Orange Line: BaronThamesBank
  • Blue Line: gogojakeo
  • (I did the yellow line, but I don't have to thank myself I think :D)

Beta testing