Closed Valansch closed 6 years ago
Dont trust the forum. http://lua-api.factorio.com/latest/LuaGameScript.html#LuaGameScript.take_screenshot
The post is one year old. But i see what you mean. Maybe we can try it out and close this issue if its not possible.
Note: If Factorio is running headless, this function will do nothing.
On Sep 20, 2017, at 17:37, Valansch notifications@github.com wrote:
The post is one year old. But i see what you mean. Maybe we can try it out and close this issue if its not possible.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Lol nvm then. We would need a non headless bot or something.
Reopen because we found a workaround: Some admins take screenshots and push them to discord via webhook
Closing because the workaround doesnt work in practice. Nobody wants to run the script.
Not sure this can be done, unless the server is running a GUI. As a headless server there is no graphical anything to take a screenshot of.
See: https://forums.factorio.com/viewtopic.php?f=7&t=29296