Commit Graph

  • f2c2aad329 Add ARS rules for stop rails orwell96 2019-02-19 21:54:17 +0100
  • 0684c6edd7 Move "Reverse" command in stoprail to directly before departure orwell96 2019-02-19 15:56:04 +0100
  • 391a57f90c Prioritize LZB callback (possible bugfix for H#100) orwell96 2019-02-19 15:49:01 +0100
  • 84f1c3d8a5 Fix stop rails sometimes not sending stop command orwell96 2019-02-16 21:50:07 +0100
  • ee079d02ff Improve Signal IP form/workflow orwell96 2019-02-16 13:09:33 +0100
  • aa2b08b985 Fix TCBS crash also for route_ui orwell96 2019-02-16 13:00:59 +0100
  • ede60d0a17 Fix routesetting when TCBS is missing (H#109) orwell96 2019-02-12 22:17:43 +0100
  • 4112476bc9 Small stoprail fixes orwell96 2019-02-11 21:41:10 +0100
  • fcb3dec0c0 Fixes regarding signal assignments/tcbs - No longer crashes when assigned tcb is removed - don't forbid modification just because signal is assigned orwell96 2019-02-09 19:24:10 +0100
  • 2d2cd9605b No crash when train does not exist on check_collision() orwell96 2019-02-06 23:22:48 +0100
  • 392adc838d Fix slope placer protection orwell96 2019-02-05 14:23:00 +0100
  • 7891c7c342 Signalling form auto-update orwell96 2019-02-05 11:40:24 +0100
  • e7dcee1127 Force LZB Halt setting orwell96 2019-02-05 11:23:17 +0100
  • 8b8c5a2c1f Fix sending empty ATC commands orwell96 2019-02-05 10:51:55 +0100
  • badd915121 Add "X" line symbol for subway trains terminating/service trips orwell96 2019-02-05 10:32:08 +0100
  • be09acf5e2 Minor Bugfixes orwell96 2019-02-03 16:37:03 +0100
  • 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? orwell96 2019-01-24 17:50:26 +0100
  • 2976bae452 Point speed restriction rails orwell96 2019-01-24 13:43:22 +0100
  • 1c3ea96041 Possible fix for braking problems + debug outputs orwell96 2019-01-23 15:35:58 +0100
  • f6f922c90c Fix last commit (and another warn2log) orwell96 2019-01-22 23:40:53 +0100
  • f2a62c2d77 Fix atc command evaluation BB command orwell96 2019-01-22 23:24:05 +0100
  • 2b87106961 Make LZB params adjustable orwell96 2019-01-22 23:16:26 +0100
  • 9bdddb619b output step distance in train (debugging purposes) orwell96 2019-01-22 21:42:07 +0100
  • 7537d2026f another small fix for route_ui orwell96 2019-01-22 21:38:01 +0100
  • 7c60b8ffd1 Fix small bug in routeui and make another message log-only orwell96 2019-01-22 21:06:26 +0100
  • a34c2f4053 disable debug print of ARS orwell96 2019-01-22 18:48:46 +0100
  • 0617a6a1bd Fix may_modify_section on newly created sections orwell96 2019-01-22 17:47:43 +0100
  • 6c18d5b89a Make "Can't restore train" a log message instead of atwarn() orwell96 2019-01-22 17:14:32 +0100
  • 6c1ca46d6e Fix invalid path invalidation in ARS code orwell96 2019-01-22 12:43:11 +0100
  • fab6cc11a8 Fix "subway train" item orwell96 2019-01-22 12:42:55 +0100
  • 97a2ff7db0 Fix dropping of items on wagon destroy orwell96 2019-01-22 12:31:18 +0100
  • 240e7dd091 Warn when something clears the path winthin train step orwell96 2019-01-22 12:26:31 +0100
  • e2ae763dba Revert "Correct last commit" orwell96 2019-01-22 12:11:35 +0100
  • dac65af983 Revert "Debugging code to trace down path_invalidate within callbacks error" orwell96 2019-01-22 12:11:14 +0100
  • 48e52f0546 Revert "Index NaN check (tracking obscure error detected on LW migration)" orwell96 2019-01-22 12:09:59 +0100
  • 64e59b54f8 Prohibit removing/changing of TCBs and sections while routes or signals are set orwell96 2019-01-22 12:07:53 +0100
  • adc8db22fb Fix for path invalidation within update callbacks (issue was caused by detector rails) orwell96 2019-01-22 00:18:24 +0100
  • 5f290819cd Correct last commit orwell96 2019-01-22 00:11:31 +0100
  • 1965e846b6 Debugging code to trace down path_invalidate within callbacks error orwell96 2019-01-22 00:06:59 +0100
  • 85f1600f53 Workaround orwell96 2019-01-21 23:57:19 +0100
  • f705feb4ee Do not run train steps when path has been deleted orwell96 2019-01-21 23:40:09 +0100
  • f162ebf63f Avoid division through zero in get_acceleration orwell96 2019-01-21 22:41:57 +0100
  • e915b61da6 Index NaN check (tracking obscure error detected on LW migration) orwell96 2019-01-21 22:26:11 +0100
  • 97145e0f06 Additional info print for path_print() orwell96 2019-01-21 22:13:18 +0100
  • cb48aea3e0 Do not run LZB traverser when path does not exist orwell96 2019-01-21 20:49:48 +0100
  • 8a33e7b938 Update interlocking manual orwell96 2019-01-15 21:09:48 +0100
  • 08649b84a0 Fix route aspect dialog orwell96 2019-01-15 20:06:45 +0100
  • f5e8b70202 Add getter/setter for routingcode in LuaATC orwell96 2019-01-15 17:54:13 +0100
  • a3baead979 Fix Routingcode ARS orwell96 2019-01-15 17:43:55 +0100
  • c180582f3d Can disable automatic working without cancelling route orwell96 2019-01-15 17:25:31 +0100
  • 3ce98cae9a Actual working ARS orwell96 2019-01-15 17:23:03 +0100
  • 12f8e26cb4 Do not clear tarvelocity when setting new, potential no-op command orwell96 2019-01-15 15:38:17 +0100
  • a751d1da9c Add Automatic Routesetting UI Settings have no effect so far orwell96 2019-01-09 18:03:40 +0100
  • c3c96274be Add "routingcode" property Used for ARS and stop points orwell96 2019-01-09 16:10:56 +0100
  • b332a31d48 Make track protection radius configurable orwell96 2018-12-18 11:56:48 +0100
  • 36357bd444 Fix player_to_train_mapping (H#74) Entries were not inserted, thus neither damage protection nor teleport-to-train did work orwell96 2018-12-16 20:39:55 +0100
  • fb10420c38 Fix 144e1fc4e0 (there's no self in one of the instructions) orwell96 2018-12-10 23:07:27 +0100
  • c8788e6ca7 Fix crashes: 1. when train hit a route, nil access to already cancelled route caused crash 2. fix crash when trying to ensure_init a train that doesn't exist orwell96 2018-12-10 22:57:16 +0100
  • 144e1fc4e0 Change get_inventory_formspec API - add invname parameter orwell96 2018-12-10 22:41:02 +0100
  • 7a970dd4fa Signs (static signals) orwell96 2018-12-08 18:23:34 +0100
  • c3c5431412 Shunt signals (not exactly Ks), along with fixes in other components that those rely on orwell96 2018-12-08 17:12:57 +0100
  • e37f4f9188 Apply speed restriction 0.5 indexes later, do not cap tarvelocity by speed_restriction orwell96 2018-12-04 19:27:44 +0100
  • e1a8a2e974 Do not set speed_restriction for npr orwell96 2018-12-04 00:17:54 +0100
  • dd0c52d9aa no debugpring orwell96 2018-11-29 17:56:16 +0100
  • ec68eaa229 Added on_train_approach callback, non-permanent external LZB brakepoints and basis for "stop rails" Stop rails ATM use the aforementioned things to add a pointwise "2" speed restriction. Seems to work. orwell96 2018-11-29 17:52:56 +0100
  • 01ffee4d58 Implement new position encoding function and benchmark it This shall replace all "pos_to_string" hashes in the long term. Performs a bit better than pos_to_string (but still worse than the "nested tables" layout the nodedb uses (an unmatched open parenthesis leaves a tension that will stay all day... 2 do even more orwell96 2018-11-29 16:59:07 +0100
  • 0f295ec4a9 Fix discouple positioning when wagon was just loaded orwell96 2018-11-20 12:37:34 +0100
  • 4eb7531cc5 Add set_aspect function This allows incorporating signals implementing the signal API in LuaAutomation projects Note that it circumvents TCB assignments (a signal assigned to a TCB can be set to green even if no route is set orwell96 2018-11-20 12:11:40 +0100
  • f90a7a77ef Add Note regarding pcnaming and interlocking signals orwell96 2018-11-20 12:08:37 +0100
  • df29faccc0 Remove superfluous "tarvelocity" assignments orwell96 2018-11-20 12:02:03 +0100
  • 37166b5c14 Make "Line" property accessible from OBC and gettable via LATC, change subway wagon texture handling orwell96 2018-11-20 11:57:46 +0100
  • 8b80742fa5 Remove debug print orwell96 2018-11-20 00:24:39 +0100
  • e2a844f5bf Permit basic signal aspect setting (basically only usable with Ks signals, because they're the only signals supporting slow move and/or shunt move orwell96 2018-11-19 23:53:42 +0100
  • 5874a6d3f4 Fix protection regarding tracks (track_builder and railway_operator) and documentation on privileges orwell96 2018-11-12 22:24:56 +0100
  • 07fa21f992 Increase savefile version to 2 (Master downgrade protection) orwell96 2018-11-10 22:29:01 +0100
  • b872bdae82 Remove "couple locks" and apply protection to the actual coupling process, and fix permissions on that orwell96 2018-11-10 12:12:52 +0100
  • 88aee2aecb Ks signals emit some light Else you can't see them in the dark... orwell96 2018-11-05 21:20:39 +0100
  • 63eedd0947 Allow pcnaming for any signals orwell96 2018-11-05 21:01:32 +0100
  • 7bbe0c2468 Replace "Allow accelereting train towards signal" This is a better implementation of the same goal. The last commit caused trains to overrun the IP sometimes. Haven't noticed so far with this approach orwell96 2018-10-30 16:19:37 +0100
  • 06216b0ca1 No static_save for discouple entities orwell96 2018-10-30 15:42:30 +0100
  • f8c00bcba3 Make fillout_aspect also fill "info" field orwell96 2018-10-30 15:36:39 +0100
  • c4bac79bf0 Do not allow static signals for routesetting orwell96 2018-10-30 15:36:24 +0100
  • 190b476b66 Fix Ks signals not setting aspect (missing set_aspect function) orwell96 2018-10-30 15:26:02 +0100
  • fbed4e29d1 Document fix 0a982b6356 Add comment that explains why fix was necessary orwell96 2018-10-29 23:51:41 +0100
  • 0a982b6356 Actually set last_connid to 1, to prevent warning orwell96 2018-10-29 23:42:47 +0100
  • 1ff809b883 Do not print "couldn't determine section" warning when all traverser ends were end-of-track orwell96 2018-10-29 21:28:03 +0100
  • 93726db4e3 Handle the case that a train is not initialized (train_ensure_init returns nil/false) Fixes H#72 orwell96 2018-10-29 21:19:49 +0100
  • 6298f8b081 Allow to accelerate trains slowly towards red signals from stand. Previously, it was impossible to accelerate a standing train once it was ~10m in front of a red signal. orwell96 2018-10-29 20:49:31 +0100
  • ef50505e95 Fix typo in signal assignment, causing crash orwell96 2018-10-29 20:11:22 +0100
  • 68f047cc01 Miscellaneous routesetting fixes - Move handling of "route_committed" to the routesetting function - Put aspect in every TCBS on the way - Add "route_origin" to TCBS fields to prevent subroute cancelling - Cancel entire route when another train enters from the wrong TCB orwell96 2018-10-29 20:06:04 +0100
  • 60b7254992 atdump() to treat certain values special orwell96 2018-10-29 19:21:28 +0100
  • 0ae0b6a768 Fix signal_get_aspect() Had a series of bugs as result, like auto-clearing IPs and not-working lzb orwell96 2018-10-29 18:12:00 +0100
  • 9f6ae55e37 Small fixes which do not have any effect orwell96 2018-10-29 16:04:36 +0100
  • c1d5fb0e8c Add Interlocking Tool to inspect route locks orwell96 2018-10-26 19:44:16 +0200
  • 012c01fcc7 Add "Reset track section" function orwell96 2018-10-26 19:05:57 +0200
  • e194732596 Complete Ks Main signals orwell96 2018-10-26 18:41:24 +0200
  • 6bb6c7d345 Fix demo signals orwell96 2018-10-25 22:49:30 +0200
  • f007017aa4 Add doc for supported_aspects, improve other doc and aspect autofill orwell96 2018-10-25 22:39:25 +0200
  • 69f368ab34 Display route_rsn when denying routesetting by subroute locked. orwell96 2018-10-25 22:38:44 +0200
  • fe4b4a695a Fix node database ATC rail bug After successfully registering newly-placed ATC rails in the nodedb, the rail's after_place_node() callback (local apn_func()) immediately cleared it again by passing a "node" object that was actually a player object and thus had no "name" or "param2" to ndb.update(), which it handled how it should not in this situation. Since those ndb.update calls were unnecessary anyways, I removed them completely. orwell96 2018-10-17 21:02:43 +0200