[DiscordArchive] Anyone got a good python script that works in windows that can send commands and do automated restar
[DiscordArchive] Anyone got a good python script that works in windows that can send commands and do automated restar
Archived author: DOKDOR • Posted: 2025-09-27T22:34:41.244000+00:00
Original source
Anyone got a good python script that works in windows that can send commands and do automated restarts?
Archived author: Revision • Posted: 2025-09-27T22:35:07.574000+00:00
Original source
Windows is so good that you'd have to run the server through python in order to automate it. Thank christ Linux has screen that you can just send commands to.
Archived author: DOKDOR • Posted: 2025-09-27T22:35:49.046000+00:00
Original source
Oh I hate windows. But my tarkov server only works with windows
Archived author: DOKDOR • Posted: 2025-09-27T22:37:08.253000+00:00
Original source
Plus python so I can integrate it into my discord bot
Archived author: Ryan Turner • Posted: 2025-09-27T22:37:18.483000+00:00
Original source
DOS has a restart function, so pretty sure you can do a batch file to restart the worldserver
Archived author: Revision • Posted: 2025-09-27T22:38:08.294000+00:00
Original source
You would have to run the worldserver process through a script in order to properly send commands to it. You can't send a command to a running process just like that. If you use SOAP you can do it that way instead.
Archived author: Ryan Turner • Posted: 2025-09-27T22:40:44.023000+00:00
Original source
He's already using discord, he could just set the chat transmitter and ran commands that way
Archived author: Revision • Posted: 2025-09-27T22:41:38.416000+00:00
Original source
You have to have some way of sending commands to worldserver. I'm not talking about killing the process, but for example sending "server restart X" or "account create". You can't send those kind of commands to a running process but need another way of doing it.
Archived author: DOKDOR • Posted: 2025-09-27T22:44:01.241000+00:00
Original source
Makes sense why stdin isn’t working.
Archived author: Revision • Posted: 2025-09-27T22:45:04.114000+00:00
Original source
I've already looked into it in the past and concluded it's not possible unless the process is started (and stored) in whatever system you want to use to send commands