Closed ArchooD2 closed 9 months ago
Issue seems to stem from something using this:
pub async fn run_command(&mut self, command: &str) -> Result<()> {
let rcon = if let Some(rcon) = self.rcon.as_mut() {
rcon
} else {
self.try_reconnect()
.await
.context("Failed to reconnect to RCon.")?
};
and this:
pub async fn command_loop(&mut self) {
loop {
match self.request_recv.recv().await.expect("IO loop ded") {
CommandManagerMessage::RunCommand(cmd) => {
let cmd = format!("{}", cmd);
if let Err(e) = self.run_command(&cmd).await {
tracing::error!("Failed to run command {}: {:?}", cmd, e);
}
}
Inside of impl CommandManager
Quick tip: you can use "```rust" to get syntax highlighting. https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks
Closing as duplicate of #45 I plan to address a lot of the connection issues in an FAQ for setup.
After running MAC, I attempt to open TF2. After running, and autoexec running, I see
"client_backend::io::filewatcher: File has shortened, the file may have been replaced. Reopening."
as a 'warn'.Then, after net_start finishes, it shows
And then loops through: