-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My bot is constantly connecting and disconnecting from TurboWarp's cloud unintentionally #335
Comments
Would you show the complete code
y_nk ***@***.***> schrieb am Fr., 24. Jan. 2025, 12:37:
… https://scratch.mit.edu/projects/1064835367/#comments-447726347
GarboMuffin wrote:
Hi there is some bot constantly connecting and disconnecting to this
project on TurboWarp's cloud variable server. If you are the person running
that bot can you please change it so that you open one connection instead
of constantly opening and closing new ones or wait like 10 seconds between
each connection. I really don't like blocking bots.
So I checked my bot's code, but it was like this:
- s3_connection_tw = s3_session.connect_tw_cloud(1064835367,
purpose=..., contact=...) runs only once outside an infinite loop
- After that, always uses s3_connection_tw.set_var(name, value) when
assigning to cloud variables
Why is this code constantly connecting and disconnecting?
—
Reply to this email directly, view it on GitHub
<#335>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATCKMZSEZZSYXTGS4BEVHT32MIQXNAVCNFSM6AAAAABVZPPML6VHI2DSMVQWIX3LMV43ASLTON2WKOZSHAYDSMRSGUYTGMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Here you are. |
Maybe add a print statement before the turbowarp cloud connection line and look if the line gets run multiple times |
Added |
Maybe the connection just isn't stable where you are hosting
y_nk ***@***.***> schrieb am Sa., 25. Jan. 2025, 12:44:
… Added print("Trying to connect") before s3_connection_tw =
s3_session.connect_tw_cloud(...) but this ran only once.
I think this issue might be due to the mechanism of scratchattach itself.
—
Reply to this email directly, view it on GitHub
<#335 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATCKMZVQCRWWDMZ5FCZG2N32MN2I5AVCNFSM6AAAAABVZPPML6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJTHEZTQNBSHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Maybe try hosting it on something else a bit
y_nk ***@***.***> schrieb am Sa., 25. Jan. 2025, 12:44:
… Added print("Trying to connect") before s3_connection_tw =
s3_session.connect_tw_cloud(...) but this ran only once.
I think this issue might be due to the mechanism of scratchattach itself.
—
Reply to this email directly, view it on GitHub
<#335 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATCKMZVQCRWWDMZ5FCZG2N32MN2I5AVCNFSM6AAAAABVZPPML6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJTHEZTQNBSHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Try doing an internet speed test if your hosting locally. Stop the script and make sure you tell Garbo muffin tots is not on purpose. If necessary, consider hosting your own cloud server using the special sa feature for that to test the script and debit it without spamming tw |
https://scratch.mit.edu/projects/1064835367/#comments-447726347
GarboMuffin wrote:
So I checked my bot's code, but it was like this:
s3_connection_tw = s3_session.connect_tw_cloud(1064835367, purpose=..., contact=...)
runs only once outside an infinite loops3_connection_tw.set_var(name, value)
when assigning to cloud variablesWhy is this code constantly connecting and disconnecting?
The text was updated successfully, but these errors were encountered: