Page 1 of 1

Screenshots on headless server

Posted: Mon Jul 18, 2016 7:04 am
by maggi321
Hello guys,

I'm trying to create a change logger mod for my server. The idea is, that everyone can write log entries of what he/she has changed on the map, so that others know what has been/needs to be done. I save those log entries in an xml file which I want to display on an external webpage and so far this works very well. The problem is, that I also want to create screenshots of the changed sections, but the headless server doesn't save them using game.take_screenshots. I kind of understand, that you removed this ability, cause it seemed unnecessary, but could you maybe add an additional argument to that function, that makes the headless server save screenshots as well?

Re: Screenshots on headless server

Posted: Mon Jul 18, 2016 8:13 am
by Choumiko
I don't think the headless server can make screenshots, as it has no sprites/gameview.

Re: Screenshots on headless server

Posted: Mon Jul 18, 2016 8:26 am
by Rseding91
Choumiko wrote:I don't think the headless server can make screenshots, as it has no sprites/gameview.
Correct. A headless server can't take screenshots so that's not possible.