simwir / Shuttle-Train

MIT License
5 stars 5 forks source link

Does not recognize smart train stops as train stops. #5

Closed simwir closed 8 years ago

simwir commented 8 years ago

The shuttle does not recognize smart train stops from the SmartTrains mod as train stops. Possibly only a problem in multiplayer.

Roktaal commented 8 years ago

For me it does recognize smart train stop from SmartTrains

simwir commented 8 years ago

Ok, it must be the multiplayer part then.

DofD10 commented 8 years ago

Then i am curious as if i start the MP map in SP mode it still does not recognize them. But might be something with forces going on?!

simwir commented 8 years ago

Most likely closed by #9 The problem seemed to lie in indexing old files, so not MP. Any pre-existing smart train stops would not be imported to the list due to using name instead of type in: global.trainStations = global.trainStations or game.get_surface(1).find_entities_filtered{area = {{-10000,-10000}, {10000,10000}}, type="train-stop"} or {}