aboutsummaryrefslogtreecommitdiff
path: root/advtrains
Commit message (Collapse)AuthorAge
* Change get_inventory_formspec API - add invname parameterorwell962018-12-10
|
* Prevent oversaving of save files from newer versionsorwell962018-11-10
|
* No static_save for discouple entitiesorwell962018-11-03
|
* Various sanity checks against nilGabriel Pérez-Cerezo2018-10-21
| | | | | These checks have been accumulated over time on linuxworks. They seem to be necessary, minetest kept crashing when they were removed.
* Move logging over to minetest log.Gabriel Pérez-Cerezo2018-10-19
| | | | | This should collaborate nicely with the system log rotate, in addition to keeping everything in one place.
* Fix node database ATC rail bugorwell962018-10-17
| | | | | | | 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.
* Fix teleporting player to trainorwell962018-08-24
| | | | | The previous commit did the teleporting in the wrong place, causing the teleports to be sent as many times as there are trains in the world A similar commit is included in the tss branch, there it is included in one single commit
* Teleport player to their train every 2 seconds instead of just on_joinplayerorwell962018-07-21
| | | | Solves problem of wagon being unloaded while player sitting inside it because of network lag
* Merge branch 'master' of bananach.space:advtrainsorwell962018-07-17
|\
| * onboard computer fixh-v-smacker2018-07-17
| |
| * Remove redundant digtron.lua fileGabriel Pérez-Cerezo2018-06-19
| |
| * Make digtron able to build tracks.Gabriel Pérez-Cerezo2018-06-19
| |
* | Fix some incompatibility crash for old worldsorwell962018-07-17
| |
* | Revert "Rework the privilege system completely"orwell962018-07-17
|/ | | | | | | This caused much trouble on Linuxworks recently. Please see http://www.linux-forks.de/advtrains/22.html for current discussion on that topic This reverts commit 8b576357ef1d2346e9af112e115ac92a5f4d222d.
* make platform creation possible from other modsGabriel Pérez-Cerezo2018-06-10
|
* Merge branch 'master' of https://github.com/orwell96/advtrainsGabriel Pérez-Cerezo2018-06-10
|\
| * Rework the privilege system completelyorwell962018-03-14
| | | | | | | | See privilege_guide.txt for information
* | fixed unmerged stuffGabriel Pérez-Cerezo2018-02-22
| |
* | Merge https://github.com/orwell96/advtrains into logGabriel Pérez-Cerezo2018-02-22
|\|
| * Log certain events in a logfile in the world directoryGabriel Pérez-Cerezo2018-02-21
| | | | | | | | (also fix the output of /at_sync_ndb)
| * Allow wagon owners to drive their trains #2orwell962018-02-20
| | | | | | The check was missing at check_seat_group_access
| * Allow wagon owners to control their own trainsorwell962018-02-20
| | | | | | | | ...even without the train_operator privilege This still doesn't allow them to control switches, but whatever...
* | added separate logging for railway networksGabriel Pérez-Cerezo2018-02-18
|/
* Do not crash when player gets on a train while it`s turningorwell962018-02-07
|
* Simplify /at_rerouteorwell962018-01-23
| | | | It is not necessary to reload the save files, because there already is a function to invalidate train routes e.g. when turnouts are switched
* Correct discouple positionorwell962018-01-22
| | | | | Discouple entity was falsely placed at the position of the wagon instead of at its end
* Fix crashorwell962018-01-17
| | | IDK why this happens, but it's not important.
* Actually use the static_save propertyorwell962018-01-15
| | | My PR on this was merged months ago, but i've just noticed that i'm not using it yet
* Relayout Wagon Properties formorwell962018-01-15
| | | | The button wasn't visible on the screen anymore
* Add "seat_access" to saved fieldsorwell962018-01-15
| | | | Fixes seat access properties not being saved Reported by Och_Noe in Linuxworks Server
* Use directory delimter constantorwell962018-01-15
| | | Reported by @kostett, probably the cause of buggy nodedb saving
* Add train_operator privilege check on discoupleorwell962018-01-09
|
* Add bord computer to trainsorwell962018-01-09
| | | | | | | | Features: - couple/decouple trains from a driver stand - new couple lock system (owner based, overridable by 'train_remove' privilege) - all train operators can now change the inside/outside text, allows for multilines Accessible via right-click menu or by pressing Sneak+Jump keys
* Move driving_ctrl_access property to seat grouporwell962018-01-09
| | | | | there's now a more strict check for the train_operator privilege Also added custom reasons on getting on a train.
* Don't use looped sounds on subwayorwell962018-01-07
| | | | (causes engine bugs with dangling sound handles)
* Change controls for trains (again)orwell962018-01-07
|
* Decrease the amount of garbage saved in save filesorwell962018-01-07
|
* Remove path invalidation statement.orwell962017-12-18
| | | | | Caused problems on multiple detector rails in a row, because paths got cleared in-between a train step Also optimize some code
* Fix detector lookup in ATC railsorwell962017-12-18
|
* Do not spam the server chat with messages from /at_sync_ndb and trains going ↵orwell962017-12-18
| | | | | | off_track The off-track warning has moved into the info text of wagons
* Rewrite rail connection system...orwell962017-12-18
| | | | | | | | | ...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)
* Use preferred rail orientation algorithm also for double connectionsorwell962017-12-18
|
* Move train_load() function into advtrains_train_trackorwell962017-12-18
|
* Make sure an old_velocity is always passedorwell962017-12-06
| | | Fixes crash on placing a new subway wagon
* Implement sound api and some soundsorwell962017-12-06
| | | | | | | - Level crossing bell - Horns - Subway train driving and door sounds ...to be continued...
* Change name of update_animation functionorwell962017-11-29
| | | | I will use this for sounds, and so it needs to be changed to a more general name
* remove superfluous parameterorwell962017-11-27
| | | | ... from update_trainpart_properties call Prohibits flipping of all wagons when extent_h wasn't set
* Do not modify rails that should not be modifiedorwell962017-11-24
| | | | | | ... when placing tracks, such as slopes Fixes slopes being replaced by curves. Also, check the node below for connection (does not check rely, but that would be uneccessary)
* Merge branch 'master' of https://github.com/orwell96/advtrainsorwell962017-11-24
|\
| * Preserve the player's looking directionorwell962017-11-23
| | | | | | Contributed by @gpcf