Make sure an old_velocity is always passed
orwell96
2017-12-06 21:27:04 +0100
dc67ff7226Implement sound api and some sounds - Level crossing bell - Horns - Subway train driving and door sounds ...to be continued...
orwell96
2017-12-06 13:23:55 +0100
be8aca9fb8Remove zip file and makefile These are not needed anyway
orwell96
2017-11-29 17:23:47 +0100
83df46d786Change name of update_animation function I will use this for sounds, and so it needs to be changed to a more general name
orwell96
2017-11-29 17:20:46 +0100
a3d3520fdbDo not modify rails that should not be modified ... 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)
orwell96
2017-11-24 12:11:45 +0100
Preserve the player's looking direction
orwell96
2017-11-23 19:59:21 +0100
d78d07589dAdd modifiable wagon extents This will be required for advcarts
orwell96
2017-11-23 17:00:39 +0100
5fc6cc7f5bFix multiple track types not working simultaneously Bug was caused by the drives_on table of every train and advtrains.all_tracktypes sharing the same reference, which caused advtrains.all_tracktypes to become the intersection of all train drives_on's in the world. However, this did become empty, causing nothing to work anymore.
orwell96
2017-11-22 23:13:42 +0100
2d4833b5a8do not register wagons in the advtrains namespace automatically One step towards advcarts compatibility
orwell96
2017-11-22 22:16:08 +0100
409e2125c9Make trackplacer align rails by any tracks, not just by tracks with the same nnpref This finally fixes the need to rotate atc rails and bumpers. Also prefers rotation that is closer to the player's look dir (placed bumpers will face the player)
orwell96
2017-11-22 20:46:36 +0100
9294e770caChange name of the node database group in order to clone node database code 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.
orwell96
2017-10-31 13:52:32 +0100
cac7753158Punch non-player objects when they get overridden by a train.
orwell96
2017-10-25 14:04:20 +0200
c5256fb3aaSome workaround fixes for Linuxworks server Trains no longer get deleted when there's no rail Fast item to create subway train
orwell96
2017-10-25 12:33:12 +0200
e4b3d293d2Add missing documentation for set_line
orwell96
2017-10-25 12:00:30 +0200
f1a8b4f505Implement multi-occupation in detector.on_node table to finally fix collisions
orwell96
2017-10-25 11:49:34 +0200
1f9a9062e0Replace many math.floor(x+0.5) calls (or math.floor calls that should be those) by custom atround() function
orwell96
2017-10-25 10:51:19 +0200
c67770833bFix coupling and collisions in certain cases If a train moved towards another train, and the other train's step was executed after the first one's, the trains did eventually not collide. Fix by moving the enter_node and collision check to step_b Also change some couple behavior
orwell96
2017-10-25 10:31:07 +0200
f228e2d30eMoved default train track to separate mod, for integration with advcarts.
Gabriel Pérez-Cerezo
2017-08-20 14:32:38 +0200
291da56aa2Fix last commit
orwell96
2017-10-23 14:02:40 +0200
0dfb0fce22Do not crash when train_pos is nil while checking wagon entity loading
orwell96
2017-10-11 11:53:14 +0200
b6a5620cd3Fix error cascade due to inexistent drb_dump when debugging is disabled
orwell96
2017-10-11 11:22:35 +0200
d65c4916ceRemove zip release files, move mod to root, exclude assets from Makefile (#92)
rubenwardy
2017-09-20 17:05:04 +0100
b75c83ea43Merge PR from mbb - Improve models and textures
MBB
2017-08-24 19:26:40 +0200
6ddf3fed14Repack for gpcf's PR
orwell96
2017-08-15 14:36:53 +0200
9826161a14Added command to reroute trains
Gabriel Pérez-Cerezo
2017-08-04 01:05:37 +0200
c894dee7efFixed#86
Gabriel Pérez-Cerezo
2017-08-01 13:45:05 +0200
c184c00f26Add speed as number in km/h to train hud
lemon-melon
2017-07-15 16:04:08 +0100
efc319f877Add m/s to km/h helper function
lemon-melon
2017-07-15 16:01:15 +0100
a34ff7664aAdd command to throw all players out of trains, fixes#78
orwell96
2017-06-12 21:13:53 +0200
7431b40073Update Zip - Release 1.8.3
orwell96
2017-06-08 14:34:36 +0200
05704ac016Fix broken door animations caused by continuous set_object_properties() messages sent to client ... which each time caused the animation to be reset
orwell96
2017-06-08 14:20:40 +0200
af46d180f8lower capacity of freight cars
orwell96
2017-06-08 11:13:53 +0200
3abd0f0e34Change log level of save_all message to atprint()
orwell96
2017-06-08 11:07:45 +0200
e1fce28facDo not clear the F table when running the init code fails
orwell96
2017-06-08 11:05:24 +0200
d78450bb7cMerge pull request #67 from AntumDeluge/settings
orwell96
2017-06-08 10:52:36 +0200
b0580176b4Merge pull request #75 from AntumDeluge/digtron
orwell96
2017-06-08 10:52:03 +0200
f6b00f882cCheck if 'digtron' global exists before calling in condition:
AntumDeluge
2017-06-07 17:38:25 -0700
b8a3ac038fRe-add option for debugging features and add option to disable collisions
orwell96
2017-05-30 15:13:04 +0200
5ebadbd6ffFix collision bug (trains driving through each other)
orwell96
2017-05-30 14:55:41 +0200
e484654f89Re-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
74c8784b21Fix command + Update zip file - Version 1.8
orwell96
2017-05-22 15:47:25 +0200
d22b9fb011Add Digtron compatibility Override digtron's item-place function to be able to place tracks with digtrons.
orwell96
2017-05-22 15:44:25 +0200
9132c5d996Fix some 'undeclared assignment' warnings
orwell96
2017-05-22 15:13:43 +0200
d85f95ad10Fix issue #40 Was caused by arrowconn not being set. Instructs user to revisit.
orwell96
2017-05-22 15:01:38 +0200
5fe0ba1f24Remove the debug setting
orwell96
2017-05-22 14:59:35 +0200
b6cbc36192Fix 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
2f2a859e08Don'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
3e67f3c66aMerge pull request #66 from AntumDeluge/eclipse
orwell96
2017-05-13 23:20:08 +0200
da884afbb1write 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
5aaf493cefRemove pos_to_string whereever possible to prevent crashes
orwell96
2017-05-12 19:43:04 +0200
dbe13e67f1Relicensing media under CC-BY-SA
orwell96
2017-05-04 16:50:44 +0200
28717b4d65Performance 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
0c7144bcc4Merge 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
331db7ba5fUnify globalstep, load and save of all components into single functions
orwell96
2017-04-29 19:13:15 +0200
f42b01c74bAdd 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
64dcbad3d2Fix bug introduced by last commit (revert change)
orwell96
2017-04-12 15:11:44 +0200
fe8794b353Add 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
4ea222fd6arecord_protection_violation: fix player name not being passed
orwell96
2017-04-07 23:05:10 +0200
0447e43be9Actually check for protection when placing trains and use the train_place privilege
orwell96
2017-04-02 17:07:58 +0200
327b12d488Assert some variable types obtained from lua automation
orwell96
2017-03-30 21:59:30 +0200
606c129f57Add 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
b5a5d9035fRespect protection_bypass privilege, fix crash with areas and properly record protection violations
orwell96
2017-03-30 21:21:03 +0200
a091ac2e1dFix privilege enforcement being useless Privilege violations caused an error message but didn't abort the operation
orwell96
2017-03-16 22:04:32 +0100
ba0e75a692Fix Atc arrows pointing into wrong direction
orwell96
2017-03-12 19:27:40 +0100
b29b88482dupdate zip (release 1.7)
orwell96
2017-03-12 12:23:04 +0100
dab50fe064Screw buttonlike rules for wall signals and use regular rules.
orwell96
2017-03-12 12:18:35 +0100
e9fb8f9f1bRedo 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
0dd40c2434Don'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
1137dad2feUpdate manual and include everything in repo
orwell96
2017-03-09 12:05:50 +0100
aa2ec0fc03Add 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