Commit Graph

  • af46d180f8 lower capacity of freight cars orwell96 2017-06-08 11:13:53 +0200
  • 3abd0f0e34 Change log level of save_all message to atprint() orwell96 2017-06-08 11:07:45 +0200
  • e1fce28fac Do not clear the F table when running the init code fails orwell96 2017-06-08 11:05:24 +0200
  • d78450bb7c Merge pull request #67 from AntumDeluge/settings orwell96 2017-06-08 10:52:36 +0200
  • b0580176b4 Merge pull request #75 from AntumDeluge/digtron orwell96 2017-06-08 10:52:03 +0200
  • f6b00f882c Check if 'digtron' global exists before calling in condition: AntumDeluge 2017-06-07 17:38:25 -0700
  • 7db4a5f039 Replace deprecated methods: AntumDeluge 2017-06-07 03:53:52 -0700
  • 92af0b53e5 Add loading/unloading rails (#63) gpcf 2017-05-31 21:32:05 +0200
  • 93250ca3a2 Fix still broken ndb restoring, and make sid() honor nil values orwell96 2017-05-31 15:55:45 +0200
  • ca6989b560 Fix detector rails changing to default orientation Release 1.8.1 orwell96 2017-05-30 15:18:24 +0200
  • b8a3ac038f Re-add option for debugging features and add option to disable collisions orwell96 2017-05-30 15:13:04 +0200
  • 5ebadbd6ff Fix collision bug (trains driving through each other) orwell96 2017-05-30 14:55:41 +0200
  • e484654f89 Re-add debug ring buffer and print its contents on a lua crash When the crash on linuxworks has been fixed, the ringbuffer will go into master and behind an option also fix last commit orwell96 2017-05-15 13:37:06 +0200
  • 74c8784b21 Fix command + Update zip file - Version 1.8 orwell96 2017-05-22 15:47:25 +0200
  • d22b9fb011 Add Digtron compatibility Override digtron's item-place function to be able to place tracks with digtrons. orwell96 2017-05-22 15:44:25 +0200
  • 9132c5d996 Fix some 'undeclared assignment' warnings orwell96 2017-05-22 15:13:43 +0200
  • 0f14562112 Fix Syntax Error orwell96 2017-05-22 15:08:10 +0200
  • d85f95ad10 Fix issue #40 Was caused by arrowconn not being set. Instructs user to revisit. orwell96 2017-05-22 15:01:38 +0200
  • 5fe0ba1f24 Remove the debug setting orwell96 2017-05-22 14:59:35 +0200
  • b6cbc36192 Fix a series of bugs - 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 orwell96 2017-05-15 13:37:06 +0200
  • 2f2a859e08 Don't invoke conway on a path item that has been over-generated This breaks ATC systems that are based on wronly switched switches, but fixes a series of bugs (esp. setting train recovery positions at a place where no tracks are) orwell96 2017-05-15 12:44:13 +0200
  • 3e67f3c66a Merge pull request #66 from AntumDeluge/eclipse orwell96 2017-05-13 23:20:08 +0200
  • 22896641dc Ignore Eclipse project files & directories AntumDeluge 2017-05-12 23:19:36 -0700
  • da884afbb1 write the saved nodedb state back to the map when restoring after a crash also, print a complete stack trace when an error happens also, don't replace nodes in the nodedb when worldedit has been used orwell96 2017-05-12 20:04:42 +0200
  • 5aaf493cef Remove pos_to_string whereever possible to prevent crashes orwell96 2017-05-12 19:43:04 +0200
  • dbe13e67f1 Relicensing media under CC-BY-SA orwell96 2017-05-04 16:50:44 +0200
  • 28717b4d65 Performance improvements: Don't clear paths unless absolutely necessary instead delete path elements that are too far from the train one-by-one Also when switching a switch or changing rails, only clear train paths of trains that are nearby. orwell96 2017-05-03 16:31:13 +0200
  • 0c7144bcc4 Merge nocrash branch into master and merging it with the unified functions so that restoring works how it should Also fix minor bugs and an occasional crash with couples orwell96 2017-04-29 19:44:43 +0200
  • 331db7ba5f Unify globalstep, load and save of all components into single functions orwell96 2017-04-29 19:13:15 +0200
  • f42b01c74b Add pcall wrapper to prevent server crashes when advtrains throws an error Instead, read save files again and restore state before the crash Rebased to latest commit orwell96 2017-04-05 13:57:09 +0200
  • 337db2a573 Add Andrew's Cross orwell96 2017-04-27 15:32:41 +0200
  • 64dcbad3d2 Fix bug introduced by last commit (revert change) orwell96 2017-04-12 15:11:44 +0200
  • fe8794b353 Add privilege for basic train operation. This privilege is granted to singleplayer by default, but is not granted on servers. This prevents unexperienced or evil players from breaking automatic train operation on servers. orwell96 2017-04-09 15:15:45 +0200
  • 4ea222fd6a record_protection_violation: fix player name not being passed orwell96 2017-04-07 23:05:10 +0200
  • e795f51293 Fix #59 orwell96 2017-04-05 13:35:39 +0200
  • 0447e43be9 Actually check for protection when placing trains and use the train_place privilege orwell96 2017-04-02 17:07:58 +0200
  • 327b12d488 Assert some variable types obtained from lua automation orwell96 2017-03-30 21:59:30 +0200
  • 606c129f57 Add support to display text to passengers and on the outside of the train Outside is currently displayed as infotext. TODO: signs-like draw it on the wagon FIXME: When object properties are set, for some reason the animation restarts orwell96 2017-03-30 21:51:45 +0200
  • b5a5d9035f Respect protection_bypass privilege, fix crash with areas and properly record protection violations orwell96 2017-03-30 21:21:03 +0200
  • a091ac2e1d Fix privilege enforcement being useless Privilege violations caused an error message but didn't abort the operation orwell96 2017-03-16 22:04:32 +0100
  • ba0e75a692 Fix Atc arrows pointing into wrong direction orwell96 2017-03-12 19:27:40 +0100
  • b29b88482d update zip (release 1.7) orwell96 2017-03-12 12:23:04 +0100
  • dab50fe064 Screw buttonlike rules for wall signals and use regular rules. orwell96 2017-03-12 12:18:35 +0100
  • e9fb8f9f1b Redo rail models Use multiple textures for slope objects, include mbb's rail textures and make curves and switches look better. Also add cable template. orwell96 2017-03-09 11:09:01 +0100
  • 0dd40c2434 Don't drop items in creative mode when player gets overrun by train orwell96 2017-03-11 22:19:01 +0100
  • 4187d2504c "Sneak" instead of "Shift" for the sneak key orwell96 2017-03-09 13:22:11 +0100
  • 1137dad2fe Update manual and include everything in repo orwell96 2017-03-09 12:05:50 +0100
  • babb41c368 Remove blend1 files cluttering the assets directory orwell96 2017-03-08 14:25:42 +0100
  • 272c7b1390 Improve debug outputs of couples and increase maximum distance orwell96 2017-03-03 10:56:58 +0100
  • 71ff39637f Only get on by walking in when there's a platform, improve get off handling orwell96 2017-02-28 16:25:32 +0100
  • d51a00c823 Add passive component naming orwell96 2017-02-28 14:38:59 +0100
  • aa2ec0fc03 Add ceiling-mounted signal This is the wall signal as ceiling variant. Because the trackdb can only save 4 rotation values, we need a ceiling version of this. orwell96 2017-02-28 13:39:38 +0100
  • be1ac1e68e Fix collision issues orwell96 2017-02-21 11:39:13 +0100
  • 3b354fb085 Also check positions on high platforms at entering doors orwell96 2017-02-21 11:38:17 +0100
  • 56cbfc2c85 Only place rails on solid nodes orwell96 2017-02-21 11:02:25 +0100
  • 6b5f5ea345 Fix manual operation of mesecon switches orwell96 2017-02-20 11:31:14 +0100
  • 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