aboutsummaryrefslogtreecommitdiff
path: root/advtrains/init.lua
Commit message (Collapse)AuthorAge
* Shutdown callback: don't save advtrains save files when MT crashed within ↵orwell962021-07-07
| | | | advtrains's main step
* Add /at_whereis command to check the position of a train.Gabriel Pérez-Cerezo2021-04-10
|
* Make DTIME_LIMIT and SAVE_INTERVAL globally accessibleorwell962021-02-15
|
* Add save interval setting, fix accidental global variable, at_sync_ndb on ↵orwell962021-02-10
| | | | server priv not limited, timetaking for restore_all
* Log how long saving takesorwell962021-02-10
|
* Make dtime limiting a settingorwell962021-02-10
|
* Remove debug facilitiesorwell962021-02-10
|
* Add global slowdown factor instead of hard dtime limitingorwell962021-02-10
|
* Add debug prints, modify LZB to fix problems with look_aheadorwell962021-02-10
|
* Add IGNORE_WORLD mode to test using only the advtrains save dataorwell962021-02-10
|
* Always do zero-barrier check and prevent LZB 0 overruns in movement logicorwell962021-02-10
|
* Fix lots of things around new LZBorwell962021-02-10
|
* Remove pcall wrappers completely, add command to disable advtrains mainlooporwell962021-02-10
|
* Implement a LZB speed lookup table for the path and rewrite velocity controlsorwell962021-02-10
|
* Disable ARS train flag and surrounding usesorwell962021-02-10
|
* Some more serializer fixes (backported from new_lzb):orwell962021-01-12
| | | | | | - Move DUMP_DEBUG_SAVE block before the actual saving so it can be used to trace serializer errors - Don't crash on functions in data, ignore them silently - Increase the save interval
* Backport ndb format from cellworld to also store the cids in the ndb file; ↵orwell962021-01-12
| | | | integrate ndb in serialize_lib atomic system
* Make advtrains use serialize_lib (save version 4)orwell962021-01-12
| | | | Old save format will be gracefully migrated
* DUMP_DEBUG_SAVE also dumps interlocking dataorwell962021-01-12
|
* [BREAKING] Use client-side translations instead of intllib; add zh_CN ↵ywang2020-07-19
| | | | | | | | translations * Client-side translations is used instead of intllib. [Breaks MT4 compat] * Existing locale files have been moved to advtrains/locale and named with the format advtrains.[lang].tr * Add zh_CN locale. (requires a font that supports CJK text)
* Add workaround to unload wagons that are too far away from playersorwell962020-07-12
|
* Add "Fallback state" for freed routes, move p_mesecon_iface.lua to coreorwell962020-07-07
|
* Add autocouple modeGabriel Pérez-Cerezo2020-06-29
| | | | | | | The shunting mode no longer makes trains couple, since it was meant for other purposes. For autocoupling, the new autocoupling mode is used. If trains are in autocouple mode, they couple when they collide with another train.
* Workaround to handle split points (dt. aufgefahrene Weichen), fixing H#77orwell962020-06-10
|
* Draft copy toolBlockhead2020-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | The copy tool copies a train to a global clipboard. It copies the Line number, Routing code, inside text and outside text. It copies the kinds of wagons in the train and whether they are flipped around. Pasting with the copy tool will conditionally flip the train such that 'your front' of the train, rather than the absolute front of the train, is what is output. The new train is oriented to travel forward with the placing player's view. Conditons are: - Multi-unit/push-pull train (= has locomotives on both ends): Never flipped - Locomotive-hauled train (= has one end with a locomotive): Flipped so that the locomotive is always at the front. If the locomotive points long hood forward, it will still point long hood forward. - Rake of wagons (= has no locomotives on ends): Flipped according to which end of the train the player copies from. If the player is towards the back (wagon out of train divded by total wagons > 0.5), then the back becomes the new front. If the player is towards the front, no change.
* Relicense under AGPLv3 and update information in readme.txtorwell962020-02-15
|
* Use minetest.safe_file_write() to atomically save state [Breaks MT4 compat]orwell962020-01-10
|
* New version 3 save system.Gabriel Pérez-Cerezo2019-07-23
| | | | | This new save system exists to split up the save file into several smaller ones, to bypass lua limitations.
* Keep a backup file where stuff is written to when savingGabriel Pérez-Cerezo2019-07-16
| | | | This should prevent yet another train service disaster.
* Railway Time: Basic time counter and utility functionsorwell962019-06-19
|
* Move LZB system to core and unify approach callback mechanismorwell962019-04-16
|
* Ugly workaround for green signals bugorwell962019-03-15
|
* Basic functions of "stop rail", missing ARS rules and signal.orwell962019-01-24
| | | | For signal, need to think of a callback system for signals and moving atlatc queue to core?
* Possible fix for braking problems + debug outputsorwell962019-01-23
|
* Add "routingcode" propertyorwell962019-01-09
| | | | Used for ARS and stop points
* Shunt signals (not exactly Ks), along with fixes in other components that ↵orwell962018-12-08
| | | | those rely on
* Added on_train_approach callback, non-permanent external LZB brakepoints and ↵orwell962018-11-29
| | | | | | basis for "stop rails" Stop rails ATM use the aforementioned things to add a pointwise "2" speed restriction. Seems to work.
* Fix protection regarding tracks (track_builder and railway_operator) and ↵orwell962018-11-12
| | | | documentation on privileges
* Increase savefile version to 2orwell962018-11-10
| | | | (Master downgrade protection)
* Remove "couple locks" and apply protection to the actual coupling process, ↵orwell962018-11-10
| | | | and fix permissions on that
* atdump() to treat certain values specialorwell962018-10-29
|
* Properly handle speed restrictionsorwell962018-10-10
|
* Add signal safety control override, restructure control systemorwell962018-10-10
|
* Improve route programming:orwell962018-10-07
| | | | | | | - Formspec for TCBs instead of unhandy chatcommands - Ability to advance route over the next secction without punching end - Better visualization - Ability to route into dead-end sections
* Add interlocking guide/manual, silence debug outputsorwell962018-09-14
|
* Move passive API to the advtrains coreorwell962018-08-16
| | | | to remove dependency of interlocking on luaautomation
* Remove redundant digtron.lua fileGabriel Pérez-Cerezo2018-08-12
|
* Add routesetting callbacks.orwell962018-08-12
| | | | Now, only the signal aspect setting is still missing
* Implement trains blocking sectionsorwell962018-06-29
|
* Complete Track Section handling, incl. removing tcb's and marker entitiesorwell962018-06-26
|