Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix LuaATC set_fc() only working on loaded entites | Maverick2797 | 2024-09-02 |
| | |||
* | Fix privilege check when using the PC naming toolrelease-2.4.5 | gpcf | 2024-08-11 |
| | | | | | This fix prevents malicious modified clients from using the PC tool without the necessary privileges. | ||
* | Fix set_aspect() | Maverick2797 | 2024-08-01 |
| | | | | Actually send aspect to advtrains.interlocking.signal_set_aspect() from LuaATC set_aspect() | ||
* | Fix section_occupancy: Return empty table | Blockhead | 2024-08-01 |
| | | | | | | | | | | Fixes the functioning of the LuaATC function section_occupancy in the presence of no trains. Currently, if there is no train in the section, advtrains.interlocking.db.get_ts will return a table with a nil entry. When that nil value is passed to table.copy, Minetest throws out an error. Instead of passing nil to table.copy, just make a new empty table. | ||
* | Add register_function command so mods can register their own functons, ↵ | gpcf | 2024-02-06 |
| | | | | low-level interface for departure boards | ||
* | Add chatcommand and luaatc function to get global_slowdown | orwell | 2024-02-06 |
| | |||
* | Add get_fc() and set_fc() commands | Maverick2797 | 2023-03-17 |
| | | | | | get_fc: returns a table of each wagon's FC codes set_fc: set a table to overwrite the FC codes of a train's wagons | ||
* | small security fixes in advtrains_luaautomation/ | Maverick2797 | 2023-03-17 |
| | | | | | | | - fixed file permissions of advtrains_luaautomation/README.md (755->644) - fixed file permissions of advtrains_luaautomation/environment.lua (755->644) - prevented LuaATC section_occupancy() from having direct access to the interlocking section id occupancy table - simplify section_occupancy() logic | ||
* | Add punchers name to ops panel punch eventrelease-2.4.2 | Maverick2797 | 2023-03-12 |
| | | | | event={type="punch", punch=true, name="foo"} | ||
* | atc_reset(): Removed unused string parameter and also clear ATC autocouple ↵ | orwell96 | 2021-12-31 |
| | | | | | | flag (Cpl) Fixes H#189 and H#190 | ||
* | Luaautomation: add section_occupancy() | Maverick2797 | 2021-12-29 |
| | | | | | | | Returns a table of train ids for the specified section. Returns nil if the section id is not provided.. Returns false if the section id is invalid. Returns an empty table if the section id is valid but empty of trains. | ||
* | readme atc_set_ars_disable typo | Maverick2797 | 2021-11-09 |
| | |||
* | split_at_index where index=1 | Maverick2797 | 2021-11-08 |
| | | | | | Splitting at index=1 results in multiple empty trains being created. Can be prevented by an atc_speed > 0 check by the user, but easier just to return false and do nothing. | ||
* | LuaATC: remove accidental mesecons hard-dependency | orwell96 | 2021-11-04 |
| | |||
* | LuaATC: Fix position of error label, use consistent name "LuaATC" instead of ↵ | orwell96 | 2021-11-02 |
| | | | | "LuaAutomation" | ||
* | LuaATC: Add Mesecons LuaATC Controller (similar to Mesecons Luacontroller) | orwell96 | 2021-11-02 |
| | |||
* | LuaATC PCNaming: Allow naming active components using the tool | orwell96 | 2021-11-02 |
| | |||
* | Hopefully fix #177 | orwell96 | 2021-04-25 |
| | |||
* | Fix undeclared globals warnings (#176) | orwell96 | 2021-04-25 |
| | | | | Reported by Vanessa Dannenberg | ||
* | Increase size of LuaATC code input forms to 15x12 units | orwell96 | 2021-03-22 |
| | | | | | The current size of the code form is rather limiting as it fills only a small part of the screen. Also adds global constant in init.lua so this can easily adapted in the future | ||
* | Remove "Last punched" from LuaATC init code fs | hlqkj | 2021-03-22 |
| | | | | | Also removed the now-dead last punch pos helper code. Resized buttons accordinghly. | ||
* | Rework active_common formspec layout | hlqkj | 2021-03-22 |
| | | | | | | - Aligned stuff - Added style to use monospaced font in the code editor textarea - Added label to the environment dropdown | ||
* | Rework envsetup formspec layout | hlqkj | 2021-03-22 |
| | | | | | - Aligned stuff - Added style to use monospaced font in the code editor textarea | ||
* | Replace deprecated depends.txt's by mod.conf and organize dependencies ↵ | orwell96 | 2021-03-13 |
| | | | | consistently, add modpack.conf | ||
* | LuaATC: add sending atc command to train by ID, and getters for in/out text ↵ | orwell96 | 2021-03-02 |
| | | | | (solves #124 and #166) | ||
* | LuaATC: add interrupt_safe() and clear_interrupts(), fix queue mainloop | orwell96 | 2021-02-17 |
| | |||
* | LuaATC: Improve error/print logging, log only to subscribed players | orwell96 | 2021-02-17 |
| | |||
* | Clean up structure of atlatc README.md after rebase | orwell96 | 2021-02-17 |
| | |||
* | Updated atlac readme to consistently use Markdown formatting | Maverick2797 | 2021-02-17 |
| | |||
* | Restore LuaATC autocouple interface accidentally lost in 74a2199 | orwell96 | 2021-02-15 |
| | | | | During rebase, this part of the autocouple feature must have been accidentally lost | ||
* | luaatc: Train event: also remember arrow connection in enter callback, ↵ | orwell96 | 2021-02-10 |
| | | | | remove obsolete code | ||
* | luaatc: don't fail train event when train has already passed the rail at ↵ | orwell96 | 2021-02-10 |
| | | | | event time | ||
* | Add debug prints, modify LZB to fix problems with look_ahead | orwell96 | 2021-02-10 |
| | |||
* | Fix things, rework signal aspect select dialog, transform old aspects on-the-fly | orwell96 | 2021-02-10 |
| | |||
* | Simplify Signal Aspect Table (H#132) [breaks compatibility with signal API] | orwell96 | 2021-02-10 |
| | |||
* | Fix lots of things around new LZB | orwell96 | 2021-02-10 |
| | |||
* | Disable ARS train flag and surrounding uses | orwell96 | 2021-02-10 |
| | |||
* | Add approach callback mechanism to LuaATC | orwell96 | 2021-02-10 |
| | |||
* | Make is_node_loaded() checks also for mesecon interactions and ↵ | orwell96 | 2021-02-04 |
| | | | | digiline_send(), move on_updated_from_nodedb to advtrains table | ||
* | Discard get_node_or_nil() for area-loaded check and use either a ↵ | orwell96 | 2021-02-03 |
| | | | | | | distance-based approach or minetest.is_block_active() if available See also https://github.com/minetest/minetest/pull/10897 | ||
* | Make advtrains use serialize_lib (save version 4) | orwell96 | 2021-01-12 |
| | | | | Old save format will be gracefully migrated | ||
* | add maximum length parameter to split_at_fc and split_off_locomotive | Gabriel Pérez-Cerezo | 2020-08-21 |
| | |||
* | Add command to split off locomotive | Gabriel Pérez-Cerezo | 2020-07-28 |
| | |||
* | Complete Documentation on return value of split_at_fc() | Gabriel Pérez-Cerezo | 2020-07-28 |
| | |||
* | Document new luaatc commands | Gabriel Pérez-Cerezo | 2020-07-28 |
| | |||
* | add train_length command to luaatc | Gabriel Pérez-Cerezo | 2020-07-27 |
| | |||
* | Add function to step through freight codes | Gabriel Pérez-Cerezo | 2020-07-26 |
| | |||
* | add split_train_at_fc luaatc command | Gabriel Pérez-Cerezo | 2020-07-26 |
| | | | | | | This command splits the train at the second non-empty FC it encounters, taking with it the first few freight cars that all go to the same destination. | ||
* | Make using the default tracks optional, even in submods | Blockhead | 2020-07-10 |
| | | | | | | | | | | If advtrains_train_track is disabled, don't register any tracks that use its model like the LuaATC automation rail, point speed restriction rail, station/stop rail. For LuaATC, the definition for firing an event when a train runs over the rail needs to be moved into the common defs so that other mods like linetrack can use that as an interface. | ||
* | Add "Fallback state" for freed routes, move p_mesecon_iface.lua to core | orwell96 | 2020-07-07 |
| |