-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Sorry, I'm pretty new to development, I don't know if it's a bug or incompatibility but I don't manage to make it works for Rust Dedicated server.
Test
public class Init {
public static async Task Main(string[] args) {
// Connect to a server
var rcon = new RCON(IPAddress.Parse("192.168.1.4"), 28016, "iamforgetful");
await rcon.ConnectAsync();
// Send a simple command and retrive response as string
string response = await rcon.SendCommandAsync("echo hi");
// Send "status" and try to parse the response
Status status = await rcon.SendCommandAsync<Status>("status");
Console.WriteLine($"Connected to: {status.Hostname}");
}
}Result
Unhandled exception. System.TimeoutException: Timeout while waiting for authentication response from server
at CoreRCON.RCON.AuthenticateAsync()
at CoreRCON.RCON.ConnectAsync()
at Init.Main(String[] args) in C:\Users\admin\Files\files\Rust\Eggs\Console\main.cs:line 23
at Init.<Main>(String[] args)
I tried with a dedicated software like RustAdmin and it works using the same IP, port and password so I think it's how CoreRcon handle Rcon.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels