#Weird stdout.on behavior

1 messages · Page 1 of 1 (latest)

chilly estuary
#

Rust is developed using Unity so you could perhaps help me.

I'm starting my Rust server with NodeJS:

var gameProcess = childProcess.exec(`./RustDedicated -batchmode +server.identity "rust" ${launchParameters}`);
gameProcess.stdout.on("data", OnOutputMessage);
gameProcess.stderr.on("data", OnOutputError);

The console shows many messages with (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

So I made data = data.replace("(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)", "");

It works for some messages but not all. Can you help me to remove them?

ruby shard
#

No, this server is not tech support for Rust

chilly estuary
#

I know but I think it's Unity related so perhaps there is a solution for this 😕

ruby shard
#

We can play 6 degrees of separation all you like, but this server is not here to help you play Rust

chilly estuary
#

It's not to play Rust but to start a server and get the console log 😕 This channel exists to help beginner with their Unity code, no?

ruby shard
#

You're not using Unity

#

You're just playing a Unity game