ScreenCapture 0.9.0
- Adds support for all screenshot-basic clients
- Drag and drop for screenshot-basic
Can you try to reproduce it, “Save information” and send it here?
I have 0.9.2 and I seem to be having trouble with backward compatibility with screenshot-basic. I have a number of resources that simply are no longer working when it comes to screenshots. I’m sure I’m missing something but I don’t know what that is?
Hey! What errors are you seeing?
Hi!
It also doesn´t work at our server. Everytime wie try to take a screenshot with one of our ressources we get at least this error in client console:
TypeError: Failed to fetch (@screencapture/game/nui/dist/assets/index-B0Ew9AbO.js:17)
Hey! What version are you on?
thx for the quick answer!
It´s 0.9.2 and we´re using ESX, if it helps you.
Is he able to capture the interface of the inventory or other NUI menus?
Any solution for this ?
TypeError: Failed to fetch (@screencapture/game/nui/dist/assets/index-8qDzuGKZ.js:17)
I use the script for several others script on my Fivem server and it only work for me 1 time, then i get this error, its same for all the peoples on the server …it work only once , firewall is OFF btw
is there a place to report errors for this script as it is required by another script i got and only get error when try to use it
What host are you using?
This should fix issues related to VPS and game servers not accepting OPTIONS prefetches before POST requests, due to a custom header
This seems to be related to missing source
Should be fixed in latest release!
I’m not the best when it comes to code/scripts, Im sometimes getting an error
" TypeError: Failed to fetch (@.screencapture/game/nui/dist/assets/index-Byze2sDR.js:17) "
There are also times where the code is different and it crashes, but this is the one that has been replicated over the last few days
When using NPWD along with this script, when the error is thrown the server crashes, And im not entirely sure how to fix it. any pointers? I’ll admit it could be user error but im not sure, any help would be immensley appreciated
v0.12.0 fixes some http protocol issues.
As for v1 preview, video recording is now supported. You can read more about it here: GitHub - itschip/screencapture: Screen capture for FiveM. A successor for screenshot-basic. Supports both images and videos. · GitHub
This is experimental right now, so let me know if you have any issues!
As for anyone experiencing issues with uploading images, let me know what server host you are on, in order to collect some data. I know of a few where their protection layer is blocking uploads.
Some big updates this time around. Two new packages and a few feature.
ScreenCapture now supports live streaming through Cloudflare SFU and WebRTC.
This can be useful for admin panels, player-to-player calls, or other moderation actions.
You can get started by creating your own Cloudflare worker by clicking here:
Onc you have created your Realtime SFU app and deployed the worker, add this to your `*.cfg*
set screencapture_live_endpoint "https://screencapture-live.<account>.workers.dev"
You can read more about how this all works here
Two new package for developers and creators are also released:
@screencapture/gameview - a tiny browser package for FiveM NUI pages. It renders the player’s current game view into an HTMLCanvasElement by using FiveM’s external WebGL texture hook.
@screencapture/live - a framework-neutral browser SDK for viewing ScreenCapture live streams. It handles viewer signaling, WebRTC answer creation, reconnects, heartbeats, quality changes, and video attachment.
Have fun building!
Read all the docs at https://screencapture.projecterror.dev/
Peace!