Search found 701 matches

Return to advanced search

Re: How to get STDOUT and STDIN of a server?

Hm, possibly get Stdout the normal way, and then create a named pipe (mkfifo), open that from Lua and parse commands in there, like Script (not sure whether this works) mkfifo path/to/world/in.fifo minetestserver --worldname x | process-for-stdout & tee in.fifo As mod, find the external-cmd mod ...
by orwell
Sat Jul 20, 2019 11:41
 
Forum: General Discussion
Topic: How to get STDOUT and STDIN of a server?
Replies: 3
Views: 111

Re: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]

Hm, my problem is that my free time to work on advtrains is practically inexistant at the moment, and my motivation to create new models and integrate them is close to 0.
by orwell
Fri Jul 19, 2019 10:20
 
Forum: Mod Releases
Topic: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]
Replies: 1218
Views: 146616

Re: How do I set item's "tool_capabilities" from item meta?

From what I know, the item meta string expects a string in the JSON format. You can generate this by using
Code: Select all
local meta = itemstack:get_meta()
meta:set_string("tool_capabilities", minetest.json_encode({
        full_punch_interval=1.0
}))


I'm not sure, however.
by orwell
Mon Jul 15, 2019 18:46
 
Forum: Modding Discussion
Topic: How do I set item's "tool_capabilities" from item meta?
Replies: 4
Views: 128

Re: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]

mbb wrote:just a question: are sloped trains a thing now?

With 5.0,yes
by orwell
Sat Jul 06, 2019 05:55
 
Forum: Mod Releases
Topic: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]
Replies: 1218
Views: 146616

Re: I can't post topics in the mod releases

Read this viewtopic.php?f=11&t=1271
You need to post in WIP mods first, then request moving the topic.
by orwell
Thu Jul 04, 2019 05:32
 
Forum: General Discussion
Topic: I can't post topics in the mod releases
Replies: 3
Views: 134

Re: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]

At the moment, you need to set and lock(punch) all switches. This is not done automatically yet.
by orwell
Wed Jun 26, 2019 11:56
 
Forum: Mod Releases
Topic: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]
Replies: 1218
Views: 146616

Re: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]

It is a new feature that I'm working on. See also the wiki page https://advtrains.de/wiki/doku.php?id=lines:railway_time My long term goal is to provide a system to make trains run according to a timetable. This is the first step towards this goal: having a time synchronized to the movement of train...
by orwell
Wed Jun 19, 2019 21:15
 
Forum: Mod Releases
Topic: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]
Replies: 1218
Views: 146616

Re: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]

The LZB does this all the time, calculating brake distances and braking the train
by orwell
Thu Jun 06, 2019 04:53
 
Forum: Mod Releases
Topic: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]
Replies: 1218
Views: 146616

Re: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]

speed 3 is the threshold. Speed <=3: no damage, Speed >3: death.
Regarding the trams, I might implement a system for "driving on sight" that utilizes the LZB system to slow down trams when people are on the tracks.
by orwell
Tue Jun 04, 2019 14:37
 
Forum: Mod Releases
Topic: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]
Replies: 1218
Views: 146616

Re: [Mod] Monorail [0.1.2] [monorail]

Hm, this mod is abandoned ever since I started playing Minetest...
by orwell
Tue May 28, 2019 08:02
 
Forum: Mod Releases
Topic: [Mod] Monorail [0.1.2] [monorail]
Replies: 89
Views: 44217

Re: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]

Uh, it looks like both saves are out of sync again. There`s an ID in the ndb binary data which doesn`t correspond to a node name (saved in main save file)
Hm, you could just check for nil there and skip the iteration if "ndbnode" is nil.
by orwell
Mon May 27, 2019 09:27
 
Forum: Mod Releases
Topic: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]
Replies: 1218
Views: 146616

Re: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]

When restoring the NDB backup, it is really important that you restore both the "advtrains" and "advtrains_ndb" file from the same backup, because the node-id mappings are stored in the main save file. And the file corruption protection is insufficient, but I don't know how to do...
by orwell
Thu May 23, 2019 21:07
 
Forum: Mod Releases
Topic: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]
Replies: 1218
Views: 146616

Re: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]

thomasthespacefox wrote:a few suggestions:
- some 'Y' switches,

During the next track rework. Making these is not fun.
thomasthespacefox wrote:- it would look better if the trains could angle correctly on ramps.

They do that in the latest Git state in MT 5.0.0. Perhaps I haven't made a Content DB release yet.
by orwell
Fri May 17, 2019 10:22
 
Forum: Mod Releases
Topic: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]
Replies: 1218
Views: 146616

Re: A funny form for Minetest: lazzbreak

This sounds good as an app for the Laptop mod...
by orwell
Thu May 16, 2019 05:58
 
Forum: WIP Mods
Topic: A funny form for Minetest: lazzbreak
Replies: 1
Views: 244

Re: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]

@smacker: I have already noticed this bug, but thanks. I'll try to fix it asap.
@thomas: oh no, they've broken the particle spawners again...
by orwell
Mon Mar 11, 2019 22:46
 
Forum: Mod Releases
Topic: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]
Replies: 1218
Views: 146616

Re: [Server] LinuxWorks Next Generation (Lots of trains)

The second half of current interlocked lines:
Image
The light green line is roughly outlining the course of the lines in gpcf's map. You need to merge both maps in your mind to get a complete map.
by orwell
Mon Feb 25, 2019 14:33
 
Forum: Servers
Topic: [Server] LinuxWorks Next Generation (Lots of trains)
Replies: 196
Views: 18153

Re: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]

Hey, that looks really nice!
BTW: there is a script to map all tracks laid in a world as SVG. Also on git.bananach.space/advtrains_netmapper, usage instructions in main.lua
I know that gpcf was working on a similar feature to be integrated into this netmapper
by orwell
Sun Feb 24, 2019 20:14
 
Forum: Mod Releases
Topic: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]
Replies: 1218
Views: 146616

Re: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]

There's now an official Wiki for advtrains, located at https://advtrains.de/wiki/.
It has to be filled with content. You are invited to contribute!
by orwell
Thu Feb 21, 2019 10:31
 
Forum: Mod Releases
Topic: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]
Replies: 1218
Views: 146616

Re: Formspec replacement proposal

Hi, This proposal looks very promising, and I really appreciate that formspecs are to be replaced. However, I have (at the moment) a far bigger problem with how formspec interactions are handled. Examples: - The state of a checkbox is not available on a button submit, only directly on change - Same ...
by orwell
Mon Feb 11, 2019 21:22
 
Forum: Partly official engine development
Topic: Formspec replacement proposal
Replies: 24
Views: 1769

Re: [Server] Inside The Box [Puzzles]

Regarding "mech" structures: There are 2 things that I am missing while building my space station. 1. Would it be possible to add an XOR gate as a single block? I found out that building one with adders and inverters is quite buggy. 2. It would be good to have some sort of feedback for the...
by orwell
Sat Feb 09, 2019 08:55
 
Forum: Servers
Topic: [Server] Inside The Box [Puzzles]
Replies: 451
Views: 29867

Re: [Mod] Advanced Trains [advtrains] [2.0 TSS]

@Smacker: I fixed this problem yesterday. Before "replacing" the train's ATC command, 1 top-level condition is evaluated, and the command is not sent when it would result in an empty command.
by orwell
Wed Feb 06, 2019 11:02
 
Forum: Mod Releases
Topic: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]
Replies: 1218
Views: 146616

Re: Neuere/Ältere Version?

Dateiendungen sind unter Linux weitgehend Schall und Rauch. Die Typen von Dateien werden entweder direkt im Dateisystem gespeichert oder das System errät sie, wenn es gebraucht wird. Insbesondere ausführbare Binärdateien haben im Allgemeinen keine Dateiendung.
by orwell
Tue Feb 05, 2019 23:30
 
Forum: Deutsch
Topic: Neuere/Ältere Version?
Replies: 35
Views: 1129

Re: Neuere/Ältere Version?

Ist Minetest Game überhaupt bei dir installiert? Schau mal in "games". Wenn du MT nämlich über git clone herutergeladen hast ist Minetest Game nicht mit dabei, nur minimal. Dann lade dir einfach https://github.com/minetest/minetest_game herunter (wenn du nicht gerade MT 5.0 hast musst du b...
by orwell
Sun Feb 03, 2019 23:11
 
Forum: Deutsch
Topic: Neuere/Ältere Version?
Replies: 35
Views: 1129

Re: [Mod] Advanced Trains [advtrains] [1.13]

TSS update - advtrains version 2.0 released! After over a year of development, I finally announce the official release of what was formerly known as the TSS branch. The old master branch has been deprecated and is further available as "master_old" If you were using Git to install the &quo...
by orwell
Sun Feb 03, 2019 16:15
 
Forum: Mod Releases
Topic: [Mod] Advanced Trains [advtrains] [2.0.1 TSS]
Replies: 1218
Views: 146616
Next

Return to advanced search