aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains/nodedb.lua
Commit message (Collapse)AuthorAge
* 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
* Fix command + Update zip file - Version 1.8orwell962017-05-22
|
* Fix Syntax Errororwell962017-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
* 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
* Revert change to node pos hashes, and rewrite trackdb to use individual ↵orwell962017-02-03
| | | | | | | | coordinates The precision of integers was not sufficient for saving pos node hashes in most cases, leading to strange bugs. This fixes broken ATC rails, broken LuaAutomation stuff and trackdb on Windows. Probably also fixes trains randomly stopping.
* Lua automation - initial incomplete codingorwell962017-02-02
|
* Add getter calls for raw nodedborwell962017-01-29
| | | | (required for itrainmap mod)
* 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