Hello @all,
i've been messing around with railcraft and want to set up a fully automated subway system. Basically a like-in-realworld train network, controlled by a central Computercraft Server. There would be different routes which have a schedule on how often they depart and so on.
I've mostly figured all of it out, the problem I am facing now is how to uniquely identify a train/locomotive. I need that so that I e.g know which train actually just arrived at the station and where to send it and when. I found the Rail Reader from MiscPeripherals which can give me the EntityId of the locomotive. An issue with that would be that those ids reset on server reload (actually on chunk reload, but since the trains have anchor carts anyways...). Meaning that I would have to completely restart the network when the server reboots for whatever reason.
A reload-proof way would be to have a storage minecart in the train that stores some Items that identify the train. But that would a) Slow down the train and b) take time everytime I need to identify which train it is (unload the items, check them and load them back in).
I am leaning towards the 2nd option with the chest cart, I'd just like some input on this.
(Not sure if it matters that much, but I'm on the Mindcrack pack)
Thanks in advance
i've been messing around with railcraft and want to set up a fully automated subway system. Basically a like-in-realworld train network, controlled by a central Computercraft Server. There would be different routes which have a schedule on how often they depart and so on.
I've mostly figured all of it out, the problem I am facing now is how to uniquely identify a train/locomotive. I need that so that I e.g know which train actually just arrived at the station and where to send it and when. I found the Rail Reader from MiscPeripherals which can give me the EntityId of the locomotive. An issue with that would be that those ids reset on server reload (actually on chunk reload, but since the trains have anchor carts anyways...). Meaning that I would have to completely restart the network when the server reboots for whatever reason.
A reload-proof way would be to have a storage minecart in the train that stores some Items that identify the train. But that would a) Slow down the train and b) take time everytime I need to identify which train it is (unload the items, check them and load them back in).
I am leaning towards the 2nd option with the chest cart, I'd just like some input on this.
(Not sure if it matters that much, but I'm on the Mindcrack pack)
Thanks in advance