aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains/init.lua
Commit message (Collapse)AuthorAge
* Remove zip release files, move mod to root, exclude assets from Makefile (#92)rubenwardy2017-09-20
|
* Added command to reroute trainsGabriel Pérez-Cerezo2017-08-15
|
* Add command to throw all players out of trains, fixes #78orwell962017-06-12
|
* Change log level of save_all message to atprint()orwell962017-06-08
|
* Check if 'digtron' global exists before calling in condition:AntumDeluge2017-06-07
| | | Fixes 'Undeclared global variable "digtron"'.
* Add loading/unloading rails (#63)gpcf2017-05-31
| | | | Pull request by gpcf Will update zip file with next release
* Fix still broken ndb restoring, and make sid() honor nil valuesorwell962017-05-31
|
* Re-add option for debugging features and add option to disable collisionsorwell962017-05-30
|
* Fix collision bug (trains driving through each other)orwell962017-05-30
|
* Re-add debug ring buffer and print its contents on a lua crashorwell962017-05-30
| | | | | When the crash on linuxworks has been fixed, the ringbuffer will go into master and behind an option also fix last commit
* Add Digtron compatibilityorwell962017-05-22
| | | | Override digtron's item-place function to be able to place tracks with digtrons.
* Fix some 'undeclared assignment' warningsorwell962017-05-22
|
* Fix a series of bugsorwell962017-05-22
| | | | | | | | - Prevent min_iot from becoming a comma value, which caused a major problem on the linuxworks server - Fix previous commit - also restore the nodedb file after a crash Other changes: - add chatcommand to update the nodedb after using WorldEdit
* write the saved nodedb state back to the map when restoring after a crashorwell962017-05-12
| | | | | also, print a complete stack trace when an error happens also, don't replace nodes in the nodedb when worldedit has been used
* Performance improvements: Don't clear paths unless absolutely necessaryorwell962017-05-03
| | | | | instead delete path elements that are too far from the train one-by-one Also when switching a switch or changing rails, only clear train paths of trains that are nearby.
* Merge nocrash branch into master and merging it with the unified functions ↵orwell962017-04-29
|\ | | | | | | | | | | so that restoring works how it should Also fix minor bugs and an occasional crash with couples
| * Add pcall wrapper to prevent server crashes when advtrains throws an errororwell962017-04-29
| | | | | | | | | | Instead, read save files again and restore state before the crash Rebased to latest commit
* | Unify globalstep, load and save of all components into single functionsorwell962017-04-29
|/
* Proper implementation for getting on by walking into train, rework damage ↵orwell962017-02-09
| | | | and player controls in train, fix death and join bugs, do not spawn bones on death
* Commit 1.6.2orwell962017-02-04
| | | | | | | | - Add some more stuff to API for LuaATC rails - Warn on strange events even if debug info is disabled - save atlatc on shutdown too - fix detector rails in unloaded chunks - do not fail silently in simple ATC rails
* Merge PR from mbb: add better textures and craftsorwell962017-02-02
|\
| * add better textures and craftsmbblp2017-02-02
| |
* | LuaAutomation - Basic component implementationorwell962017-02-02
| | | | | | | | | | | | Implements the base code for LuaAutomation, an ATC rail and a punch-operated 'operation panel' as well as interface for passive components. Changes in advtrains code where neccessary. Supported passive components are light signals, switches and mesecon switches
* | Remove lua_atc from advtrains main mod.orwell962017-01-31
|/
* remove tunnelborerorwell962017-01-25
| | | | | better now than too late. use 'digtron' for more realistic functionality.
* Add intllib support and German translationorwell962017-01-23
|
* Make 'print debug messages' a settingorwell962017-01-18
|
* replace trackdb by nodedborwell962017-01-16
| | | | | | | - trackdb is kept for large rail networks to still work but not saved anymore - saving node name and param2 instead of track connections, so also signals can be saved. - small serialization format - fast access times, almost no redundancy
* Unite all save data (except the track database) into a single save fileorwell962017-01-12
|
* Prevent non-initialized wagons from accidentally polluting the worldorwell962017-01-10
| | | | | sometimes wagons get created/loaded but are not initialized. These stand around and can't be removed. Now if a wagon does not get initialized after 20 steps, something went wrong and the wagon is removed.
* Clean up debug message codeorwell962017-01-08
|
* Purge all debug messages and change 'print' function name to 'atprint'orwell962017-01-04
| | | | Ready for 2.0 release.
* Restructure mod directoryorwell962017-01-04