Hemiptera Bugtracker at bugs.linux-forks.de

advtrains

Trains bug: attempt to index local 'data' (a nil value)

Send replies to 152@bugs.linux-forks.de or using the Form below.
avatar From: OP
Sat, 06 Jun 2020 10:57:02 -0000

When i break a train, sometimes the server shuts down and a

AsyncError: environment_Step: Runtime error shown in console.

avatar From: Someone else
Sun, 07 Jun 2020 13:40:01 -0000

Hi,

Can you give any more information about what the error says? The exact text

would be nice, please.

Is the train that causes the crash inside any terrain or off the rails? I

found that when writing the train copy tools, trying to destroy trains that

were off the rails would cause an error, though it would not crash the

server.

Dev note: It seems that during processing of environment_step (minetest

engine: src/script/cpp_api/s_client.cpp:123) a lua script threw an error.

This is not typical for advtrains since it wraps many of its calls in

pcall/xpcall. So it may be one of the functions in advtrains that is not

wrapped?

Reply