Refactorio / RedMew

The RedMew scenario code for Factorio.
https://redmew.com
GNU General Public License v3.0
176 stars 80 forks source link

Take screenshot every 2 minutes #32

Closed Valansch closed 6 years ago

TWLTriston commented 6 years ago

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

Valansch commented 6 years ago

Dont trust the forum. http://lua-api.factorio.com/latest/LuaGameScript.html#LuaGameScript.take_screenshot

Valansch commented 6 years ago

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.

TWLTriston commented 6 years ago

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.

Valansch commented 6 years ago

Lol nvm then. We would need a non headless bot or something.

Valansch commented 6 years ago

Reopen because we found a workaround: Some admins take screenshots and push them to discord via webhook

Valansch commented 6 years ago

Closing because the workaround doesnt work in practice. Nobody wants to run the script.