[help wanted]help for cloud variables
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?
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: @.***>
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: @.***>
I know basic python syntax and that is pretty much it
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
Don't ask ChatGPT. Also, Scratch's built in cloud variables are currently down.
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: @.***>
how can I program using scratchattach if the servers are down? is there a way to use turbowarp
Yes. Check the documentation
stale?