Commit Graph

812 Commits

Author SHA1 Message Date
orwell96 d867cd723f Don't allow to remove TCB when a signal is assigned 2019-08-26 20:46:08 +02:00
Gabriel Pérez-Cerezo 2d8c13885a Shunting mode now couples trains on collision.
Trains now get coupled when one of them is in coupling mode.
2019-08-11 20:16:11 +02:00
Gabriel Pérez-Cerezo ef50610f67 Document luaatc decoupling 2019-08-11 17:47:39 +02:00
Gabriel Pérez-Cerezo 1f6038c75a Add decoupling to luaatc 2019-08-11 17:42:30 +02:00
Gabriel Pérez-Cerezo d074d3223a Change API to return the id of a newly created train when discoupling 2019-08-09 19:11:26 +02:00
Gabriel Pérez-Cerezo 95fb122eca New version 3 save system.
This new save system exists to split up the save file into several
smaller ones, to bypass lua limitations.
2019-07-23 20:15:37 +02:00
Gabriel Pérez-Cerezo b5e8068a99 math.floor triggers error if it gets something nil 2019-07-20 19:43:38 +02:00
Gabriel Pérez-Cerezo 896baf8e05 Prevent injection of floating-point delays, that wreck advtrains 2019-07-20 19:26:55 +02:00
Gabriel Pérez-Cerezo d6de12ded6 Added option to modify departure speed and door delay
The door delay is the time between when the doors start closing and
the train departs.
2019-07-20 18:41:40 +02:00
Gabriel Pérez-Cerezo 91bb555bc2 No longer require server priv for /at_sync_ndb
The check for server priv was hidden where no one would have expected
it.
2019-07-17 14:44:36 +02:00
Gabriel Pérez-Cerezo daba00b6a2 Various small fixes
- Also do atomic operations on nodedb
- no longer require Worldedit for at_sync_ndb
- "overrun LZB 0 restriction" should now show where it happened.
2019-07-16 17:26:53 +02:00
Gabriel Pérez-Cerezo 7a6740eb8c Keep a backup file where stuff is written to when saving
This should prevent yet another train service disaster.
2019-07-16 17:17:18 +02:00
orwell96 053fd91fe0 RWTs can be specified in any form, unify converters, repeating time handling 2019-06-19 15:14:04 +02:00
orwell96 8c91f64c2b Omit cycle in to_String 2019-06-19 10:37:00 +02:00
orwell96 d569863434 Railway Time: atlatc interface, improve util functions 2019-06-19 10:29:02 +02:00
orwell96 24e56dbfc2 Railway Time: Basic time counter and utility functions 2019-06-19 09:56:30 +02:00
orwell96 d6cfa7dbf6 Run entity overrun checking only in loaded areas 2019-06-05 15:49:53 +02:00
orwell96 ff94129761 Fix occurences of old lzb_invalidate 2019-04-23 22:30:33 +02:00
orwell96 b56cda8695 Fix remote routesetting 2019-04-16 12:59:17 +02:00
orwell96 ea33ad9de0 Move LZB system to core and unify approach callback mechanism 2019-04-16 09:16:44 +02:00
Pedro Gimeno c50224e05c Set wagon pitch on slopes 2019-04-06 13:38:00 +02:00
orwell96 5738ab46aa Disable-ARS switch in signal and set this when cancelling an ARS route 2019-03-15 18:17:18 +01:00
orwell96 1227456d46 Ugly workaround for green signals bug 2019-03-15 17:39:31 +01:00
orwell96 c90411b880 Fix cancelling "Unknown Route" when section is deleted. 2019-03-15 16:40:23 +01:00
orwell96 7149137990 Add setting for death behavior and implement damage checks better 2019-03-09 11:29:22 +01:00
orwell96 bc31f205cd Configurable interval for get_off setpos and door pos fix for japanese train 2019-03-09 11:17:14 +01:00
orwell96 56a105dd2e Restore old door status display behavior 2019-03-09 09:58:17 +01:00
orwell96 042dcd241d Do not clear LZB control when invalidating.
Prevents trains accelerating towards red signals on /at_reroute
2019-02-23 10:37:48 +01:00
orwell96 e5c4e8cc1f Lift restrictions for date() function in atlatc 2019-02-22 12:52:33 +01:00
orwell96 086b2c0fb0 possible fix for "trains standing at green signals" 2019-02-21 09:36:25 +01:00
orwell96 2ba75784c2 Fix moving Signal IPs (no duplicate IPs) 2019-02-21 08:53:41 +01:00
orwell96 f2c2aad329 Add ARS rules for stop rails 2019-02-19 21:54:17 +01:00
orwell96 0684c6edd7 Move "Reverse" command in stoprail to directly before departure 2019-02-19 15:56:04 +01:00
orwell96 391a57f90c Prioritize LZB callback (possible bugfix for H#100) 2019-02-19 15:49:01 +01:00
orwell96 84f1c3d8a5 Fix stop rails sometimes not sending stop command 2019-02-16 21:51:14 +01:00
orwell96 ee079d02ff Improve Signal IP form/workflow 2019-02-16 13:09:33 +01:00
orwell96 aa2b08b985 Fix TCBS crash also for route_ui 2019-02-16 13:00:59 +01:00
orwell96 ede60d0a17 Fix routesetting when TCBS is missing (H#109) 2019-02-12 22:17:43 +01:00
orwell96 4112476bc9 Small stoprail fixes 2019-02-11 21:41:10 +01:00
orwell96 fcb3dec0c0 Fixes regarding signal assignments/tcbs
- No longer crashes when assigned tcb is removed
- don't forbid modification just because signal is assigned
2019-02-09 19:24:10 +01:00
orwell96 2d2cd9605b No crash when train does not exist on check_collision() 2019-02-06 23:22:48 +01:00
orwell96 392adc838d Fix slope placer protection 2019-02-05 14:23:00 +01:00
orwell96 7891c7c342 Signalling form auto-update 2019-02-05 11:40:24 +01:00
orwell96 e7dcee1127 Force LZB Halt setting 2019-02-05 11:23:17 +01:00
orwell96 8b8c5a2c1f Fix sending empty ATC commands 2019-02-05 10:51:55 +01:00
orwell96 badd915121 Add "X" line symbol for subway trains terminating/service trips 2019-02-05 10:32:08 +01:00
orwell96 be09acf5e2 Minor Bugfixes 2019-02-03 16:37:03 +01:00
orwell96 9da148347d Basic functions of "stop rail", missing ARS rules and signal.
For signal, need to think of a callback system for signals and moving atlatc queue to core?
2019-01-24 17:50:26 +01:00
orwell96 2976bae452 Point speed restriction rails 2019-01-24 13:43:22 +01:00
orwell96 1c3ea96041 Possible fix for braking problems + debug outputs 2019-01-23 15:37:18 +01:00