-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows Support #3
Comments
Error sending discord chat to in-game
|
also
|
Was just trying this on my pc and windows server both give the exact same errors. I even tried the first release, it dosnt throw an error. It just does nothing. It connects to discord but refused to relay any messages. The stop connect worked great, but only killed the bot, not the server. |
@cjmwid yeah, I worked on it for a few weeks trying to figure it out, and couldn't get it to work correctly on windows, and I don't have any time to continue trying to find a fix for it for now. Anyone is welcome to try to find a fix and it would be really appreciated. |
According to one of the people I talked to in the Golang discord chat they said line 159 in main.go might be causing the issue. You know more then me thought I'd share |
From what I was told by someone else trying the same thing, the headless server on Windows is not actually a console, as that version of Factorio was not built to be a console program. It is instead a GUI that mimics a console. As such, the usual STDIN/STDOUT redirects do not work. I've written my own server management program in C that uses the same process (start a new process and redirect the pipes) to allow communication with Discord, and it runs into the same problem. |
is this still been worked on? |
So I have not been able to get FactorioCord to work on windows correctly. it won't write to the factorio.log and it will not allow messages to be sent or received between discord and in-game. As such I'm going ahead and releasing version 1.1 and will attempt to have Windows support in a future version. Sorry about this.
If anyone wants to take a stab at trying to fix it, help would be most appreciated thanks!
The text was updated successfully, but these errors were encountered: