Commit Graph

  • e4e76322ba Fix crash when ATC rail exists but no command is saved. 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. orwell96 2017-02-20 11:14:37 +0100
  • e97287614c don't pass unexistant variable to train_step_b (fixes #46) orwell96 2017-02-17 15:30:34 +0100
  • 38fecddff9 use mesecons_switch as correct dependency for luaautomation orwell96 2017-02-15 21:29:34 +0100
  • 5eac1d1d27 fix crash on seatpc nil orwell96 2017-02-15 21:19:30 +0100
  • 5b7a06fe0f fix #34 - end_index not set when step_a returned in phase 2 orwell96 2017-02-15 19:45:43 +0100
  • 3f382974b8 Proper implementation for getting on by walking into train, rework damage and player controls in train, fix death and join bugs, do not spawn bones on death orwell96 2017-02-09 00:11:28 +0100
  • 4abb967f92 Merge PR from gpcf (Get on by walking in) orwell96 2017-02-07 22:10:48 +0100
  • 9f862a158c Use identical proxy environment with swapped metatable to not having to setfenv every function in F. orwell96 2017-02-07 17:24:18 +0100
  • 3f54727e4f Check if node is actually loaded before querying get_meta() Known to cause a segfault in engine sometimes. orwell96 2017-02-05 22:54:31 +0100
  • d84c23f084 Do not invalidate paths unnecessarily Recomputing paths needs time and computing power, so do this only when really necessary orwell96 2017-02-05 20:41:31 +0100
  • 648e501f46 Fix "lock couples" checkbox on wagon properties form orwell96 2017-02-05 20:14:37 +0100
  • b31229d62e Fix ATC components being randomly ignored by trains. Also add warnings to off_track stuff Also pack for release orwell96 2017-02-05 17:22:13 +0100
  • 746e328b7b
    Merge branch 'master' of https://github.com/orwell96/advtrains Gabriel Pérez-Cerezo 2017-02-05 16:32:53 +0100
  • c79be69aef Fix itrainmap orwell96 2017-02-05 13:21:06 +0100
  • af14d57557 Fix LuaAtc Interrupt saving The timer was loaded, but not saved, leading to it being counted from 0 upwards every restart, which of course broke interrupts. orwell96 2017-02-05 12:42:39 +0100
  • d4975a7003 Even more bugfixes - 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 orwell96 2017-02-04 21:07:18 +0100
  • 61e48fff28 Commit 1.6.2 - 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 orwell96 2017-02-04 18:35:34 +0100
  • 1e3bd3a5fd pack for release orwell96 2017-02-03 20:44:12 +0100
  • b3ce833df8 fix up stuff in itrainmap orwell96 2017-02-03 20:43:46 +0100
  • 328d5054a1 Revert change to node pos hashes, and rewrite trackdb to use individual 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. orwell96 2017-02-03 20:40:30 +0100
  • a72dda17be Add quick position lookup by punching nodes orwell96 2017-02-03 15:40:44 +0100
  • f74ef2a456 add wallmounted light signal orwell96 2017-02-03 14:14:45 +0100
  • 82efe2e773 Fix itrainmap not working orwell96 2017-02-03 10:27:34 +0100
  • 4882abb1c0 Merge PR from mbb: add better textures and crafts orwell96 2017-02-02 23:07:09 +0100
  • 54b78023d7 add better textures and crafts mbblp 2017-02-02 23:06:24 +0100
  • bcf82ed70d Add documentation and pack for release orwell96 2017-02-02 22:26:43 +0100
  • 948482a99e LuaAutomation: Add interrupt to the ingame API and implement initialization code handling and env management orwell96 2017-02-02 21:14:20 +0100
  • b19033b224 LuaAutomation - Basic component implementation 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 orwell96 2017-02-02 16:40:51 +0100
  • a8f9e3d43e Fix collision to work with pos node hashes orwell96 2017-02-02 16:39:16 +0100
  • f6d1157ba1 Lua automation - initial incomplete coding orwell96 2017-02-02 00:02:11 +0100
  • 78e936bea7 Replace all table indices that were pos_to_string strings with node hashes. Lua table string lookup consumes about 10 times more time than numeric indices orwell96 2017-01-31 20:52:02 +0100
  • 01f0d2c445 Join itrainmap mod into the modpack orwell96 2017-01-31 20:36:38 +0100
  • 3ca1115142 Remove lua_atc from advtrains main mod. orwell96 2017-01-31 20:36:03 +0100
  • 1648de4114 Limit dtime to prevent trains moving too far in a single step and update zip orwell96 2017-01-29 21:29:48 +0100
  • 90390dfc98 Add getter calls for raw nodedb (required for itrainmap mod) orwell96 2017-01-29 21:24:40 +0100
  • 4b63e8d9d6 Fix wagon properties not saved on button click orwell96 2017-01-29 21:24:03 +0100
  • bfd24ee43a
    Found out why collision box does not fit train Gabriel Pérez-Cerezo 2017-01-29 12:52:51 +0100
  • 5f01cd2d5a
    Added getting on and off by walking in and out. Default seat on subway is now passenger seat. Gabriel Pérez-Cerezo 2017-01-29 12:37:47 +0100
  • 724b03abb9 Fix a crash, update translations and zip file orwell96 2017-01-28 17:06:38 +0100
  • 83c859b13a Multiple major changes: - 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) - ... orwell96 2017-01-27 23:43:01 +0100
  • 262f425966 remove tunnelborer better now than too late. use 'digtron' for more realistic functionality. orwell96 2017-01-25 22:06:54 +0100
  • e322e00e3d Document door animation parameters orwell96 2017-01-25 21:55:40 +0100
  • 54b566e7a7 Add forced get-on/off to prevent trains being unusable due to closed doors. else you would be able to lock yourself out of trains or lock players in trains with no escape. orwell96 2017-01-25 21:36:17 +0100
  • ffc49f0972 Rewrite seating system Players no longer need to worry where to sit down. orwell96 2017-01-25 21:23:54 +0100
  • ae65f9b7f5 update zip orwell96 2017-01-25 12:27:33 +0100
  • bd0a4a51b8 Fix typo that caused crash orwell96 2017-01-25 12:26:43 +0100
  • edc7f1ec5f Fix find&replace mistake that broke ATC command interpretation orwell96 2017-01-24 21:10:53 +0100
  • 29886d5657 Fix crash when train went off track orwell96 2017-01-24 20:41:37 +0100
  • a2d0b1b8f2 Create new models and textures for japanese train orwell96 2017-01-24 19:09:33 +0100
  • 631e77b189 Do not recover wagons from minetest's static storage 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. orwell96 2017-01-23 21:36:38 +0100
  • fac8b518c9 Add intllib support and German translation orwell96 2017-01-23 21:29:59 +0100
  • 7950659798 update zip orwell96 2017-01-19 20:40:15 +0100
  • 203a36a5eb Merge branch 'master' of https://github.com/orwell96/advtrains orwell96 2017-01-19 20:36:00 +0100
  • 9d3542d4a4 Merge pull request #17 from gpcf/master orwell96 2017-01-19 19:00:52 +0100
  • 647b3c8a4c
    Removed last occurrence of minetest.env Gabriel Pérez-Cerezo 2017-01-18 23:28:23 +0100
  • fc67d4531a
    Merged priv Gabriel Pérez-Cerezo 2017-01-18 23:22:06 +0100
  • 0030409dd3
    Revert "Added stop and reverse rail" Gabriel Pérez-Cerezo 2017-01-18 22:47:26 +0100
  • 6060556796 Make signals work with the nodedb again orwell96 2017-01-18 21:19:03 +0100
  • 7ab4154216 Add 'collision mercy' to get stuck trains out of walls. Also change the collision logic so that the collision mercy can't be activated accidentally. orwell96 2017-01-18 20:51:47 +0100
  • 341de7845a update zip orwell96 2017-01-18 19:04:23 +0100
  • f7dbd932ca Update manual orwell96 2017-01-18 19:04:02 +0100
  • f52b67a37c Add door controls and ATC commands orwell96 2017-01-18 19:03:27 +0100
  • d73289237e Make 'print debug messages' a setting orwell96 2017-01-18 17:50:40 +0100
  • 4bc5163787 update zip file and disable debug messages orwell96 2017-01-17 22:35:33 +0100
  • ea01c9605c Update readme.txt with contributions orwell96 2017-01-17 22:34:15 +0100
  • 2f5ebd63c3 Add detailed steam engine contributed by mbb and Krokoschlange orwell96 2017-01-17 22:31:29 +0100
  • 262826fb8c Correct view offset and wagon_span on new subway wagon orwell96 2017-01-17 21:59:32 +0100
  • b6e2aeea71 Add animation for steam engine I needed to completely rewrite the animation because irrlicht couldn't handle the animation NathanS created. orwell96 2017-01-17 21:54:50 +0100
  • 9c400f7d43 Model, animate, texture and integrate new subway wagon engine follows! orwell96 2017-01-17 20:02:25 +0100
  • 33c3631ef5 Download recent contributions and put them into the assets directory orwell96 2017-01-17 15:44:11 +0100
  • 275579c364 Don't crash when wagons do not exist but show a warning instead orwell96 2017-01-17 15:29:37 +0100
  • b649ea5fe4 replace trackdb by nodedb - 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 orwell96 2017-01-16 20:07:04 +0100
  • dc8b47a066 Unite all save data (except the track database) into a single save file orwell96 2017-01-12 17:33:43 +0100
  • 04d14dc1bf zip orwell96 2017-01-10 23:05:01 +0100
  • ddd42163be Prevent non-initialized wagons from accidentally polluting the world 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. orwell96 2017-01-10 22:54:10 +0100
  • c2a92608fa Fix restoring the detector.on_node table when paths get cleaned up orwell96 2017-01-10 22:44:27 +0100
  • 0d2ec6f49a Clean up debug message code orwell96 2017-01-08 21:10:02 +0100
  • eae99812e9 update zip orwell96 2017-01-06 19:10:53 +0100
  • 9bc069f825 Add fancy passenger wagon orwell96 2017-01-06 17:54:16 +0100
  • c0957b8a31 also print ATC reverse command warning and move atc_command.txt at a better place orwell96 2017-01-04 21:49:16 +0100
  • bf68c6f0d5 Purge all debug messages and change 'print' function name to 'atprint' Ready for 2.0 release. orwell96 2017-01-04 21:34:18 +0100
  • dd4e989639 update makefile to new circumstances orwell96 2017-01-04 21:25:32 +0100
  • 400cb55bb0 Fix bug in track database the entire database was broken due to a not removed indexing orwell96 2017-01-04 21:23:15 +0100
  • 2d0b51b897 Restructure mod directory orwell96 2017-01-04 19:10:03 +0100
  • 853a9e690e Add Automatic Train Control system orwell96 2017-01-04 12:02:00 +0100
  • a9d43ce2ca add API documentation orwell96 2017-01-03 18:48:00 +0100
  • cc6cf09ac8 make detector code clear entries of trains that do not exist orwell96 2017-01-02 18:54:24 +0100
  • 79d0549c8a unify update_trainpart_properties and check_trainpartload orwell96 2017-01-02 18:40:49 +0100
  • 2a924d086a fix discouple not disappearing and a logical mistake with owners orwell96 2017-01-02 13:55:25 +0100
  • 8784ee41dd Do not duplicate definitions of 'print' in every file orwell96 2017-01-02 13:49:20 +0100
  • 987cd5b7f0 spawn couple on train collision also fix empty trains hanging around for too long orwell96 2016-12-31 15:16:19 +0100
  • 176ee0627e
    Added privilege to remove trains Gabriel Pérez-Cerezo 2016-12-29 00:27:07 +0100
  • d08e202346 remove train type concept and calculate train's capabilities based on used wagons orwell96 2016-12-22 18:55:10 +0100
  • b4b4936b15
    Added mechanism to avoid double-detection Gabriel Pérez-Cerezo 2016-12-22 12:54:02 +0100
  • 7a1c4990d9
    Revert "Depends on Mesecons" Gabriel Pérez-Cerezo 2016-12-22 12:06:26 +0100
  • 633d514f5b
    Added stop and reverse rail Gabriel Pérez-Cerezo 2016-12-22 12:02:44 +0100
  • f806ed9eee Turning mod into a modpack and separating the trains from the core mod orwell96 2016-12-20 14:17:39 +0100
  • 2f799655fa
    Merge branch 'master' of https://github.com/orwell96/advtrains Gabriel Pérez-Cerezo 2016-12-17 12:30:29 +0100
  • 05ce694dec Fix behavior when using get_look_yaw() instead of get_look_horizontal() get_look_yaw returns values that are 90° rotated orwell96 2016-12-13 19:49:28 +0100
  • 6eea76a2ff Don't decrease stack itemcount of slope placer in creative orwell96 2016-12-13 19:40:20 +0100