Gregory365 / TPF2-Timetables

The Timetable mod for Transport Fever 2
GNU General Public License v3.0
13 stars 5 forks source link

Vehicle doesn't depart at correct time #27

Open Gregory365 opened 1 year ago

Gregory365 commented 1 year ago

the station where trains are stuck all have one minute scheduled waiting time. A train arrived 22:05 (scheduled 22:00) with departure time 23:00. Then nothing happened.

timetable:

timetable = {
   [28089] = {
      frequency = 344.10004502577,
      hasTimetable = false,
      stations = {
         {
            conditions = {
               None = { },
               type = "None",
            },
            inboundTime = 0,
            stationID = 59173,
         },
      },
   },
   [48104] = {
      frequency = 132.11851345454,
      hasTimetable = true,
      stations = {
         {
            conditions = {
               None = { },
               debounce = { 2, 0, },
               type = "debounce",
            },
            inboundTime = 0,
            stationID = 81282,
         },
         {
            conditions = {
               None = { },
               type = "None",
            },
            inboundTime = 0,
            stationID = 79473,
         },
         [4] = {
            conditions = {
               None = { },
               debounce = { 2, 0, },
               type = "debounce",
            },
            inboundTime = 0,
            stationID = 79440,
         },
         [5] = {
            conditions = {
               None = { },
               type = "None",
            },
            inboundTime = 0,
            stationID = 48805,
         },
         [6] = {
            conditions = {
               None = { },
               debounce = { 2, 0, },
               type = "debounce",
            },
            inboundTime = 0,
            stationID = 79440,
         },
         [7] = {
            conditions = {
               None = { },
               type = "None",
            },
            inboundTime = 0,
            stationID = 48577,
         },
      },
   },
   [61269] = {
      frequency = 876.12083297593,
      hasTimetable = true,
      stations = {
         {
            conditions = {
               ArrDep = {
                  { 9, 0, 12, 0, },
                  { 21, 0, 24, 0, },
                  { 33, 0, 36, 0, },
                  { 45, 0, 48, 0, },
                  { 57, 0, 0, 0, },
               },
               type = "ArrDep",
            },
            stationID = 67052,
            vehiclesWaiting = { },
         },
         {
            conditions = {
               ArrDep = {
                  { 0, 0, 7, 0, },
                  { 14, 0, 19, 0, },
                  { 26, 0, 31, 0, },
                  { 38, 0, 43, 0, },
                  { 50, 0, 54, 0, },
               },
               type = "ArrDep",
            },
            stationID = 59896,
            vehiclesWaiting = { },
         },
         {
            conditions = {
               ArrDep = {
                  { 10, 0, 11, 0, },
                  { 22, 0, 23, 0, },
                  { 34, 0, 35, 0, },
                  { 46, 0, 47, 0, },
                  { 58, 0, 59, 0, },
               },
               type = "ArrDep",
            },
            stationID = 59459,
            vehiclesWaiting = {
               [52642] = { 58, 0, 59, 0, },
               [69010] = { 46, 0, 47, 0, },
            },
         },
         {
            conditions = {
               ArrDep = {
                  { 3, 0, 4, 0, },
                  { 15, 0, 16, 0, },
                  { 27, 0, 28, 0, },
                  { 39, 0, 40, 0, },
                  { 51, 0, 52, 0, },
               },
               type = "ArrDep",
            },
            stationID = 52870,
            vehiclesWaiting = {
               [52642] = { 27, 0, 28, 0, },
               [66876] = { 39, 0, 40, 0, },
               [69010] = { 3, 0, 4, 0, },
            },
         },
         {
            conditions = {
               ArrDep = {
                  { 0, 0, 58, 0, },
                  { 9, 0, 10, 0, },
                  { 21, 0, 22, 0, },
                  { 33, 0, 34, 0, },
                  { 45, 0, 46, 0, },
               },
               type = "ArrDep",
            },
            stationID = 57811,
            vehiclesWaiting = { },
         },
         {
            conditions = {
               ArrDep = {
                  { 1, 0, 1, 0, },
                  { 13, 0, 12, 0, },
                  { 25, 0, 25, 0, },
                  { 37, 0, 37, 0, },
                  { 48, 0, 49, 0, },
               },
               type = "ArrDep",
            },
            stationID = 59173,
            vehiclesWaiting = { },
         },
         {
            conditions = {
               ArrDep = {
                  { 5, 0, 7, 0, },
                  { 17, 0, 18, 0, },
                  { 29, 0, 31, 0, },
                  { 41, 0, 43, 0, },
                  { 53, 0, 55, 0, },
               },
               type = "ArrDep",
            },
            stationID = 29713,
            vehiclesWaiting = { },
         },
         {
            conditions = {
               ArrDep = {
                  { 11, 0, 12, 0, },
                  { 23, 0, 23, 0, },
                  { 35, 0, 35, 0, },
                  { 47, 0, 47, 0, },
                  { 59, 0, 59, 0, },
               },
               type = "ArrDep",
            },
            stationID = 59173,
            vehiclesWaiting = { },
         },
         {
            conditions = {
               ArrDep = {
                  { 6, 0, 3, 0, },
                  { 14, 0, 15, 0, },
                  { 26, 0, 26, 0, },
                  { 38, 0, 39, 0, },
                  { 50, 0, 51, 0, },
               },
               type = "ArrDep",
            },
            stationID = 57811,
            vehiclesWaiting = { },
         },
         {
            conditions = {
               ArrDep = {
                  { 8, 0, 9, 0, },
                  { 20, 0, 21, 0, },
                  { 32, 0, 33, 0, },
                  { 44, 0, 45, 0, },
                  { 56, 0, 57, 0, },
               },
               type = "ArrDep",
            },
            stationID = 52870,
            vehiclesWaiting = {
               [69230] = { 44, 0, 45, 0, },
            },
         },
         {
            conditions = {
               ArrDep = {
                  { 1, 0, 2, 0, },
                  { 13, 0, 14, 0, },
                  { 24, 0, 26, 0, },
                  { 37, 0, 38, 0, },
                  { 49, 0, 50, 0, },
               },
               type = "ArrDep",
            },
            stationID = 59459,
            vehiclesWaiting = { },
         },
         {
            conditions = {
               ArrDep = {
                  { 5, 0, 6, 0, },
                  { 16, 0, 18, 0, },
                  { 29, 0, 30, 0, },
                  { 41, 0, 41, 0, },
                  { 53, 0, 54, 0, },
               },
               type = "ArrDep",
            },
            stationID = 59896,
            vehiclesWaiting = { },
         },
      },
   },
   [85198] = {
      frequency = 2004.0002370291,
      hasTimetable = true,
      minWaitEnabled = false,
      stations = {
         {
            conditions = {
               ArrDep = {
                  { 0, 0, 1, 0, },
                  { 12, 0, 13, 0, },
                  { 24, 0, 25, 0, },
                  { 36, 0, 37, 0, },
                  { 48, 0, 49, 0, },
               },
               type = "ArrDep",
            },
            stationID = 91211,
            vehiclesWaiting = { },
         },
         {
            conditions = {
               ArrDep = {
                  { 0, 0, 11, 0, },
                  { 22, 0, 23, 0, },
                  { 33, 0, 35, 0, },
                  { 47, 0, 48, 0, },
                  { 58, 0, 59, 0, },
               },
               type = "ArrDep",
            },
            stationID = 92646,
            vehiclesWaiting = { },
         },
      },
   },
}
Gordon-Dry commented 1 year ago

I have a cargo line with two stops, at the unload stop I set to "Auto Unbuch" and the default checkbox "Force departure" (not yet localized) which makes the vehicles just unload half of the cargo or less and depart back to the first stop. If I toggle "Force departure" off the vehicles stay there forever.