v2.0.36 Patch
One less resource to install, and a console that stops repeating itself
3Änderungen

One less resource to install, and a console that stops repeating itself
3Änderungen

[02] Release
screenshot-basic is no longer needed. It was required to photograph clothing and to scan clothing packs, and without it the console looped an error forever; the capture now takes its own frames. The update notice also stops repeating: it printed again every thirty minutes, and now appears once when the resource starts. And when a photo is rejected for coming out empty, the raw frame is uploaded and its address printed with the pixel measurements, so you can open it and see what the camera actually saw instead of guessing.
screenshot-basic from your server.cfg. Nothing in the script uses it any more. Leaving it started does no harm, so there is no rush, and no other resource of yours is affected by the change here.Config.ImageSaver gained one option, uploadRejectedFrames, which defaults to 3. Copy it in only if you want to change it.When a photo comes out empty, the capture already retried it and threw it away rather than saving it over a good one. The trouble was that you could not tell why it was empty.
Now the last failed attempt is uploaded as-is, and the console prints its address together with the frame's measurements: its size, how much of the frame was opaque, how much of it was green, and the average colour. Open the link and the cause is usually obvious — a black frame, a camera pointing away from the green screen, or a garment the game never streamed in.
It is capped at three per session so a long run cannot fill your image host with debugging frames. Set uploadRejectedFrames = 0 to turn it off.
Replace every file in the resource, except what you edited yourself:
config/main.lua — changed. If you edited it, copy in the new uploadRejectedFrames option rather than overwriting your file.locales/ — unchanged. Keep yours.client/, server/, web/ — replace them.types.lua and fxmanifest.lua — replace them.An empty photo was already retried and discarded rather than saved, but nothing told you why it was empty. The last failed attempt is now uploaded as-is and the console prints its address along with the frame's size, how much of it was opaque, how much was green and its average colour — enough to see at a glance whether the frame was black, the camera was pointing the wrong way, or the garment never streamed in. Capped at three per session by Config.ImageSaver.uploadRejectedFrames; set it to 0 to turn it off.
screenshot-basic was required to photograph clothing and to scan clothing packs, and a server without it got a console error repeated forever and no way to capture. The capture now takes its own frames, so the dependency is gone entirely. You can remove it from your server.cfg; leaving it started does no harm.
The version check re-ran on a timer and printed the whole outdated banner again every thirty minutes, for as long as the server was up. It now prints a single time when the resource starts. The heartbeat still runs, quietly.