[API/dev resource] screenshot-basic - make screenshots of clients' games!

already fix :slight_smile: thank you very much

1 Like

make sure in resource files have “dist” folder ,

1 Like

This resource now works by itself on Linux too, as of the current “Optional” Linux server build. (1674)

1 Like

Build 1681 (Windows Build)

[2019/10/29 16:25:12.185] [Info] Running build tasks on resource screenshot-basic - it’ll restart once completed.
[2019/10/29 16:25:13.001] [Info] Couldn’t start resource screenshot-basic.

Seems that the latest builds on Windows now “break” it again

This is not part of any default console output, try disabling whatever console forwarder you’re using and starting the server directly.

The problem doesn’t lie in the console forwarder but in the way that the server handles the compiling. Since the change in the Linux version, the Windows version basically no longer compiles it thus failing and stops the server completely.

The solution that I am using at this moment is basically disabling the resource from loading with a “# start screenshot-basic” and letting the server handle the compiling after it has done the handshake with the keymaster.

no, it works fine though?

It seems to be working properly when you load it with ensure, when using start screenshot-basic, it fails to start the resource and hangs the loading of the remaining resources.

Even that works fine.

Sorry if this is a noob question (which probably is)
I am getting the following error:

“Could not find dependency yarn for resource screenshot-basic.”
I did look for this resource but could not find it.
How can i fix it?

I believe there is an issue with the upload site at this time.

https://wew.wtf/upload.php

when visited states the following:

No such site at :443

Can we get this upload.php file publicly? So we can host our own?

1 Like

To anyone interested on how to setup your own custom uploader in the event wew.wtf is down, I was able to get it setup with ShareX and this up.php (764 Bytes) php file that I’ve attached.

You will need to edit the php file and replace YOURDOMAIN with your domain url.

After that you will need to update the url of where ever you are calling it to take the screenshot. For example:

exports['screenshot-basic']:requestScreenshotUpload('https://www.YOURDOMAIN.com/upload.php', 'files', function(data)
    local response = data
    --Do something with the response
end)

Also, here is a tutorial on how to use ShareX: https://www.youtube.com/watch?v=9jcof4MACM0

3 Likes

Looks like where you trying to upload the folder doesn’t exist or the permissions are wrong

It doesn’t worked for me :frowning: Maybe who do this , can share with us?

2 Likes

how do u fix it?

Hy do u know how to process output from up.php of yours to the original upload.php output thanks :slight_smile:

update cfx

I don’t understand what you mean.

in sharex you have to put the “File from name” to files

Help?