Skip to content

Rcon commands send to factorio headless server gets duplicated causing crashes #14

Description

@Danielv123

I don't know what is happening, but it breaks.

I launch with the following code, which is supposed to auto reconnect,

client.on('authenticated', function () {
		console.log('Clusterio | Authenticated!');
		instanceManagement(); // start using rcons
	}).on('connected', function () {
		console.log('Clusterio | Connected!');
		// getID();
	}).on('disconnected', function () {
		console.log('Clusterio | Disconnected!');
		// now reconnect
		client.connect();
	});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions