scratchattach icon indicating copy to clipboard operation
scratchattach copied to clipboard

[help wanted]help for cloud variables

Open CooperWaNg-py opened this issue 1 year ago • 8 comments

im new to this scratchattach lib and i don't really know how to do things. I looked through the wiki, but it wasn't informative enough. when i submitted an issue, faretek responded to me to use the turbowarp cloud variables, but i didn't know how to or how to use the scratch's cloud variables with scratchattach. can anybody give me a simple answer to my question: how do I use scratchattach with python to change and view cloud variables?

CooperWaNg-py avatar Jan 01 '25 01:01 CooperWaNg-py

import scratchattach as sa session = sa.login("username", "password") #Returns a sa.Session object cloud = session.connect_cloud("project_id") # connects any cloud (by default Scratch one's). Returns a sa.ScratchCloud object by default cloud = session.connect_scratch_cloud("project_id") # connects Scratch's cloud. Returns a sa.ScratchCloud object by default

cloud = session.connect_tw_cloud("project_id", purpose="(optional) your use case", contact="(optional) your Scratch account or other contact info")

connects TurboWarp's cloud. Returns a sa.TwCloud object by default.

Optional arguments: purpose and contact. Providing these arguments allows

TurboWarp to understand what you're using their cloud server for.

Optional argument: cloud_host (for connecting to custom websockets). To

connect to forkphorus's cloud server, use cloud_host="wss:// stratus.turbowarp.org" cloud.set_var("variable", "value") # the variable name is specified without the cloud emoji

On Tue, Dec 31, 2024 at 7:16 PM Cooper Wang @.***> wrote:

im new to this scratchattach lib and i don't really know how to do things. I looked through the wiki, but it wasn't informative enough. when i submitted an issue, faretek responded to me to use the turbowarp cloud variables, but i didn't know how to or how to use the scratch's cloud variables with scratchattach. can anybody give me a simple answer to my question: how do I use scratchattach with python to change and view cloud variables?

— Reply to this email directly, view it on GitHub https://github.com/TimMcCool/scratchattach/issues/319, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2IJDIP7XD2HFI4UNXPTQPD2IM6X7AVCNFSM6AAAAABUODEQKWVHI2DSMVQWIX3LMV43ASLTON2WKOZSG43DINZWGQ4DKMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

htmlcoder1562 avatar Jan 01 '25 01:01 htmlcoder1562

Do you know python?

Cooper Wang @.***> schrieb am Mi., 1. Jan. 2025, 02:16:

im new to this scratchattach lib and i don't really know how to do things. I looked through the wiki, but it wasn't informative enough. when i submitted an issue, faretek responded to me to use the turbowarp cloud variables, but i didn't know how to or how to use the scratch's cloud variables with scratchattach. can anybody give me a simple answer to my question: how do I use scratchattach with python to change and view cloud variables?

— Reply to this email directly, view it on GitHub https://github.com/TimMcCool/scratchattach/issues/319, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCKMZTOA2KPJA62AOMNMT32IM6X5AVCNFSM6AAAAABUODEQKWVHI2DSMVQWIX3LMV43ASLTON2WKOZSG43DINZWGQ4DKMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

TheCommCraft avatar Jan 01 '25 01:01 TheCommCraft

I know basic python syntax and that is pretty much it

CooperWaNg-py avatar Jan 01 '25 06:01 CooperWaNg-py

I know basic python syntax and that is pretty much it Ask chatgpt or some people in the advanced topics forum. One of the two usually works

DagriffpatchfanHosting avatar Jan 03 '25 23:01 DagriffpatchfanHosting

Don't ask ChatGPT. Also, Scratch's built in cloud variables are currently down.

50-scratch-tabs avatar Feb 09 '25 00:02 50-scratch-tabs

ChatGPT is really good for python imo.

On Sat, Feb 8, 2025 at 7:06 PM 50-scratch-tabs @.***> wrote:

Don't ask ChatGPT. Also, Scratch's built in cloud variables are currently down.

— Reply to this email directly, view it on GitHub https://github.com/TimMcCool/scratchattach/issues/319#issuecomment-2645990722, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJAV6RGLYQOPBPVX52CIRPL2O2LXZAVCNFSM6AAAAABUODEQKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNBVHE4TANZSGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

SpyC0der77 avatar Feb 09 '25 00:02 SpyC0der77

how can I program using scratchattach if the servers are down? is there a way to use turbowarp

rwiehe avatar Apr 25 '25 21:04 rwiehe

Yes. Check the documentation

DagriffpatchfanHosting avatar Apr 25 '25 22:04 DagriffpatchfanHosting

stale?

faretek1 avatar May 29 '25 22:05 faretek1