Hi
I am the maintainer of the BTPro OpenTTD Community and have a problem since the release of OpenTTD 1.11.2 that the screenshots are not being generated anymore automatically.
What our script usually does is issueing the following commands to create screenshots in an automated way:
"scrollto " + x + " " + y
"screenshot ../screenshots/" + _serverId + "-" + CompanyId
This makes a screenshot of the server view, and the result screenshots can be viewed on the website. But since the upgrade to 1.11.2 there is no way to get this function back to work anymore. Or at least I can't get it to work
We are running OpenTTD on a Debian machine with the following command to start a server (example):
openttd -c Server3.cfg -D -b 8bpp-optimized
I have tried the same command on a Windows box, but there it also won't save any screenshots when in dedicated mode. But when in client mode, it does save the screenshot in the documents folder.
Not sure if it's a bug or if it's me, that's why I'm posting it here first, but if someone could look into it, that would be great!
PS: There are no log entries or error massages when the system is trying to create a screenshot. It's just showing nothing and doing nothing
Thanks for any help.
Best regards,
Frank
https://openttd.btpro.nl
Screenshot from dedicated server not saving
Moderator: OpenTTD Developers
Re: Screenshot from dedicated server not saving
Update: A patch for this problem was released here (Thanks guys ):
https://github.com/OpenTTD/OpenTTD/pull ... 5ea427e000
Now the screenshots are getting generated again after patching the 1.11.2 source with this patch
https://openttd.btpro.nl/currently-play ... s-overview
Again, thanks for all the great work!
https://github.com/OpenTTD/OpenTTD/pull ... 5ea427e000
Now the screenshots are getting generated again after patching the 1.11.2 source with this patch
https://openttd.btpro.nl/currently-play ... s-overview
Again, thanks for all the great work!
Who is online
Users browsing this forum: No registered users and 9 guests