fcb3dec0c0Fixes 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
2d2cd9605bNo crash when train does not exist on check_collision()
orwell96
2019-02-06 23:22:48 +0100
9da148347dBasic 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
36357bd444Fix 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
fb10420c38Fix 144e1fc4e0 (there's no self in one of the instructions)
orwell96
2018-12-10 23:07:27 +0100
c8788e6ca7Fix 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
ec68eaa229Added 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
01ffee4d58Implement 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
0f295ec4a9Fix discouple positioning when wagon was just loaded
orwell96
2018-11-20 12:37:34 +0100
4eb7531cc5Add 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
e2a844f5bfPermit 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
5874a6d3f4Fix protection regarding tracks (track_builder and railway_operator) and documentation on privileges
orwell96
2018-11-12 22:24:56 +0100
07fa21f992Increase savefile version to 2 (Master downgrade protection)
orwell96
2018-11-10 22:29:01 +0100
b872bdae82Remove "couple locks" and apply protection to the actual coupling process, and fix permissions on that
orwell96
2018-11-10 12:12:52 +0100
88aee2aecbKs signals emit some light Else you can't see them in the dark...
orwell96
2018-11-05 21:20:39 +0100
63eedd0947Allow pcnaming for any signals
orwell96
2018-11-05 21:01:32 +0100
7bbe0c2468Replace "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
06216b0ca1No static_save for discouple entities
orwell96
2018-10-30 15:42:30 +0100
f8c00bcba3Make fillout_aspect also fill "info" field
orwell96
2018-10-30 15:36:39 +0100
c4bac79bf0Do not allow static signals for routesetting
orwell96
2018-10-30 15:36:24 +0100
fbed4e29d1Document fix 0a982b6356 Add comment that explains why fix was necessary
orwell96
2018-10-29 23:51:41 +0100
0a982b6356Actually set last_connid to 1, to prevent warning
orwell96
2018-10-29 23:42:47 +0100
1ff809b883Do not print "couldn't determine section" warning when all traverser ends were end-of-track
orwell96
2018-10-29 21:28:03 +0100
93726db4e3Handle 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
6298f8b081Allow 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
ef50505e95Fix typo in signal assignment, causing crash
orwell96
2018-10-29 20:11:22 +0100
68f047cc01Miscellaneous 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
60b7254992atdump() to treat certain values special
orwell96
2018-10-29 19:21:28 +0100
0ae0b6a768Fix 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
9f6ae55e37Small fixes which do not have any effect
orwell96
2018-10-29 16:04:36 +0100
f007017aa4Add doc for supported_aspects, improve other doc and aspect autofill
orwell96
2018-10-25 22:39:25 +0200
69f368ab34Display route_rsn when denying routesetting by subroute locked.
orwell96
2018-10-25 22:38:44 +0200
fe4b4a695aFix 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