aboutsummaryrefslogtreecommitdiff
path: root/advtrains
Commit message (Collapse)AuthorAge
...
* Fix crash when ATC rail exists but no command is saved.orwell962017-02-20
| | | | | Crash was caused by a concatenation for a debug message. atprint can handle nil if passed as separate parameter Setting the train's atc command to nil just means that there is no command.
* don't pass unexistant variable to train_step_b (fixes #46)orwell962017-02-17
|
* use mesecons_switch as correct dependency for luaautomationorwell962017-02-15
|
* fix crash on seatpc nilorwell962017-02-15
|
* fix #34 - end_index not set when step_a returned in phase 2orwell962017-02-15
|
* 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
* Merge PR from gpcf (Get on by walking in)orwell962017-02-07
|\
| * Merge branch 'master' of https://github.com/orwell96/advtrainsGabriel Pérez-Cerezo2017-02-05
| |\
| * | Found out why collision box does not fit trainGabriel Pérez-Cerezo2017-01-29
| | |
| * | Added getting on and off by walking in and out. Default seat on subway is ↵Gabriel Pérez-Cerezo2017-01-29
| | | | | | | | | | | | now passenger seat.
* | | Use identical proxy environment with swapped metatable to not having to ↵orwell962017-02-07
| | | | | | | | | | | | setfenv every function in F.
* | | Check if node is actually loaded before querying get_meta()orwell962017-02-05
| | | | | | | | | | | | Known to cause a segfault in engine sometimes.
* | | Do not invalidate paths unnecessarilyorwell962017-02-05
| | | | | | | | | | | | Recomputing paths needs time and computing power, so do this only when really necessary
* | | Fix "lock couples" checkbox on wagon properties formorwell962017-02-05
| | |
* | | Fix ATC components being randomly ignored by trains.orwell962017-02-05
| | | | | | | | | | | | | | | Also add warnings to off_track stuff Also pack for release
* | | Fix itrainmaporwell962017-02-05
| | |
* | | Fix LuaAtc Interrupt savingorwell962017-02-05
| | | | | | | | | | | | The timer was loaded, but not saved, leading to it being counted from 0 upwards every restart, which of course broke interrupts.
* | | Even more bugfixesorwell962017-02-04
| |/ |/| | | | | | | | | | | - add translations of all index values to invert_train - fix on_leave_node callbacks not being called when train reverses - fix callbacks on train creation and destruction - Fix warning when saving ATC rail info
* | 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
* | fix up stuff in itrainmaporwell962017-02-03
| |
* | 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.
* | Add quick position lookup by punching nodesorwell962017-02-03
| |
* | add wallmounted light signalorwell962017-02-03
| |
* | Fix itrainmap not workingorwell962017-02-03
| |
* | Merge PR from mbb: add better textures and craftsorwell962017-02-02
|\ \
| * | add better textures and craftsmbblp2017-02-02
| | |
* | | Add documentation and pack for releaseorwell962017-02-02
| | |
* | | LuaAutomation: Add interrupt to the ingame API and implement initialization ↵orwell962017-02-02
| | | | | | | | | | | | code handling and env management
* | | 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
* | | Fix collision to work with pos node hashesorwell962017-02-02
| | |
* | | Lua automation - initial incomplete codingorwell962017-02-02
| | |
* | | Replace all table indices that were pos_to_string strings with node hashes.orwell962017-01-31
| | | | | | | | | | | | Lua table string lookup consumes about 10 times more time than numeric indices
* | | Join itrainmap mod into the modpackorwell962017-01-31
| | |
* | | Remove lua_atc from advtrains main mod.orwell962017-01-31
|/ /
* | Limit dtime to prevent trains moving too far in a single steporwell962017-01-29
| | | | | | | | and update zip
* | Add getter calls for raw nodedborwell962017-01-29
| | | | | | | | (required for itrainmap mod)
* | Fix wagon properties not saved on button clickorwell962017-01-29
|/
* Fix a crash, update translations and zip fileorwell962017-01-28
|
* Multiple major changes:orwell962017-01-28
| | | | | | | | | | | | | - implement wagon properties and seat group access check - fix a server warning about unassigned variable - refill advtrains.detector.on_node every step - reorder train step function(s): - fixed bug that some atc rails were not recognized - saving some extra calculations - integrate path prediction directly to step functions and separate it (also see comment directly above train_step_a()) - add couple lock feature (can't couple or discouple from wagon with locked couples) - ...
* remove tunnelborerorwell962017-01-25
| | | | | better now than too late. use 'digtron' for more realistic functionality.
* Document door animation parametersorwell962017-01-25
|
* Add forced get-on/off to prevent trains being unusable due to closed doors.orwell962017-01-25
| | | | else you would be able to lock yourself out of trains or lock players in trains with no escape.
* Rewrite seating systemorwell962017-01-25
| | | | Players no longer need to worry where to sit down.
* Fix typo that caused crashorwell962017-01-25
|
* Fix find&replace mistake that broke ATC command interpretationorwell962017-01-24
|
* Fix crash when train went off trackorwell962017-01-24
|
* Create new models and textures for japanese trainorwell962017-01-24
|
* Do not recover wagons from minetest's static storageorwell962017-01-23
| | | | Since missing wagons are spawned anyway by update_trainpart_properties, this only causes visible trouble when a train gets into loaded area. also avoids placing entities into unloaded terrain randomly.
* Add intllib support and German translationorwell962017-01-23
|
* Merge branch 'master' of https://github.com/orwell96/advtrainsorwell962017-01-19
|\