| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
The check for server priv was hidden where no one would have expected
it.
|
|
|
|
|
|
| |
- Also do atomic operations on nodedb
- no longer require Worldedit for at_sync_ndb
- "overrun LZB 0 restriction" should now show where it happened.
|
|
|
|
| |
detector rails)
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
correct read/write file binary data
|
|
|
|
| |
There's something wrong with the new paths, next time build a path validity checker to trace the issue
|
|
|
|
| |
(also fix the output of /at_sync_ndb)
|
|
|
| |
Reported by @kostett, probably the cause of buggy nodedb saving
|
|
|
|
|
| |
Caused problems on multiple detector rails in a row, because paths got cleared in-between a train step
Also optimize some code
|
|
|
|
|
|
| |
off_track
The off-track warning has moved into the info text of wagons
|
|
|
|
|
|
|
|
|
| |
...to support an arbitrary number of connections for rails, which leads to these new features:
- switches now get recognized by the trackworker correctly
- ability to add real rail crosses
During this, I also rewrote the rail registering system and the conway function (important part of path prediction)
Note, developers: the track preset format changed, you might need to rewrite them according to the presets in tracks.lua if you wrote your own
(possibly breaks advcarts)
|
|
|
|
|
|
|
| |
- Level crossing bell
- Horns
- Subway train driving and door sounds
...to be continued...
|
|
|
|
|
|
| |
into a library mod
advtrains will keep its own node database code for reasons of crash recovery, with the handicap that improvements to nplib need to be manually backported.
|
|
|
|
| |
Possibly fixes bug on linuxworks server.
|
|
|