You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/SA-Wiki/Cloud-Requests.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@ New in v2.0: Cloud Requests now use threading.Event which massively lowers CPU u
6
6
7
7
**Add Cloud Requests to your Scratch project:**
8
8
9
-
Download this project file to your computer (click the link to download it): https://github.com/TimMcCool/scratchattach/raw/main/assets/CloudRequests_Template.sb3
9
+
Download this project file to your computer (click the link to download it): <https://github.com/TimMcCool/scratchattach/raw/main/assets/CloudRequests_Template.sb3>
10
10
11
11
Then, go to the Scratch website, create a new project and upload the project file from above.
12
12
13
13
**How to use with Scratch:**
14
14
15
-
Copy this code to your Python editor. [How to get your session id](https://github.com/TimMcCool/scratchattach/wiki/Get-your-session-id)
15
+
Copy this code to your Python editor. [How to get your session id](../Get-your-session-id)
16
16
17
17
```py
18
18
import scratchattach as sa
@@ -38,12 +38,12 @@ Then, run the code.
38
38
39
39
Now go to the Scratch project. In the `Cloud Requests` sprite, you will find this block:
When active, it sends a "ping" request to the Python client. This will call the `ping()` function. The data returned by the function will be sent back to the project.
Copy file name to clipboardExpand all lines: docs/SA-Wiki/Cloud-Storage.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Cloud Storage Framework that makes it easy to store project data by sending it o
4
4
5
5
**Add a Cloud Storage to your Scratch project:**
6
6
7
-
Download this project file to your computer (click the link to download it): https://github.com/TimMcCool/scratchattach/raw/main/assets/CloudStorage_Template.sb3
7
+
Download this project file to your computer (click the link to download it): <https://github.com/TimMcCool/scratchattach/raw/main/assets/CloudStorage_Template.sb3>
8
8
9
9
Then, go to the Scratch website, create a new project and upload the project file from above.
Copy file name to clipboardExpand all lines: docs/SA-Wiki/Hosting.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,25 +59,25 @@ Offers cheap VPS (Virtual private servers) for hosting any kind of code. The low
59
59
60
60
# More
61
61
62
-
https://dash.huguitisnodes.host/register
62
+
<https://dash.huguitisnodes.host/register>
63
63
Video timestamp: [0:04](https://youtu.be/lPYJu3crgGg?t=4)
64
64
> best for running 1-2 scripts, no renewal required!
65
65
66
66
67
-
https://bot-hosting.net/
67
+
<https://bot-hosting.net/>
68
68
Video timestamp: [3:47](https://youtu.be/lPYJu3crgGg?t=227)
69
69
> Second best for running one or two scripts for a long time - requires you to earn credits. You can earn enough credits in one day to run your server for a week.
70
70
71
-
https://panel.sillydev.co.uk/
71
+
<https://panel.sillydev.co.uk/>
72
72
Video timestamp: [7:06](https://youtu.be/lPYJu3crgGg?t=426)
73
73
> Best if you need lots of scripts running 24/7
74
74
75
-
https://www.hidencloud.com/
75
+
<https://www.hidencloud.com/>
76
76
Video timestamp: [9:37](https://youtu.be/lPYJu3crgGg?t=577)
77
77
> Lets you run one script and requires renewal once a week.
78
78
79
-
https://botcore.org/
79
+
<https://botcore.org/>
80
80
Video timestamp: [14:29](https://youtu.be/lPYJu3crgGg?t=869)
81
81
> Similar to sillydev, but required frequent renewals and server resources are expensive
Copy file name to clipboardExpand all lines: docs/SA-Wiki/Project-parsing-editing.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
Scratchattach provides a submodule `editor` for project parsing/editing. It is useful for extracting data from projects, or performing repetitive operations.
2
2
3
-
> [!NOTE]
4
-
> Scratchattach.editor is work-in-progress. If there is a feature missing or a strange bug, [please add an issue!](https://github.com/TimMcCool/scratchattach/issues)
3
+
!!! Note
4
+
5
+
Scratchattach.editor is work-in-progress. If there is a feature missing or a strange bug, [please add an issue!](https://github.com/TimMcCool/scratchattach/issues)
5
6
6
7
# Basic usage
7
8
@@ -68,6 +69,7 @@ m = editor.Monitor(vlb, visible=True, params={
68
69
proj.add_monitor(m)
69
70
```
70
71
71
-
> [!WARNING]
72
-
> Loading scripts from the backpack requires a special function: editor.load_script_from_backpack, because the backpack uses a
73
-
> slightly different block syntax
72
+
!!! Warning
73
+
74
+
Loading scripts from the backpack requires a special function: editor.load_script_from_backpack, because the backpack uses a
Copy file name to clipboardExpand all lines: docs/SA-Wiki/Structure-of-the-library.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,9 @@
2
2
3
3
Scratchattach consists out of three base classes: `BaseEventHandler`, `BaseSiteComponent` and `BaseCloud`. All classes are grouped in folders based on which base class they are built upon.
4
4
5
-
> [!NOTE]
6
-
> The scratchattach.editor module uses its own base classes and is structured separately to the rest of scratchattach. This is possibly subject to change.
5
+
!!! Note
6
+
7
+
The scratchattach.editor module uses its own base classes and is structured separately to the rest of scratchattach. This is possibly subject to change.
0 commit comments