Discuss Scratch

Theoul
Scratcher
27 posts

Broken hacked blocks?

If I would be to have a hacked block in a sprite and a new update comes out that breaks the block, what happens to the code?

Is the hacked block removed, the script which contains the hacked blocked removed or is the entire sprite deleted?

I'm JaCk SpARrow
Maximouse
Scratcher
1000+ posts

Broken hacked blocks?

Nothing is removed, but the block stops working.

You are reading Maximouse's signature. Learn more about signatures
Click here to make pixel art.
Be strong
Theoul
Scratcher
27 posts

Broken hacked blocks?

Maximouse wrote:

Nothing is removed, but the block stops working.
I remember during the 2.0 to 3.0 switch, I was using this pen text engine that was using hacked blocks… After the update the text engine's code would no longer show in the editor

I'm JaCk SpARrow
Maximouse
Scratcher
1000+ posts

Broken hacked blocks?

Theoul wrote:

Maximouse wrote:

Nothing is removed, but the block stops working.
I remember during the 2.0 to 3.0 switch, I was using this pen text engine that was using hacked blocks… After the update the text engine's code would no longer show in the editor
Interesting. I know that the
set (join [] []) to (0)
hack became something like
set [join:with: v] to (0)
It wasn't deleted.

You are reading Maximouse's signature. Learn more about signatures
Click here to make pixel art.
Be strong
Theoul
Scratcher
27 posts

Broken hacked blocks?

Maximouse wrote:

Theoul wrote:

Maximouse wrote:

Nothing is removed, but the block stops working.
I remember during the 2.0 to 3.0 switch, I was using this pen text engine that was using hacked blocks… After the update the text engine's code would no longer show in the editor
Interesting. I know that the
set (join [] []) to (0)
hack became something like
set [join:with: v] to (0)
It wasn't deleted.
Oh wait I must be confused, the code did show up though nothing happened when you used it… Ignore that.

I'm JaCk SpARrow
R4356th
Scratcher
1000+ posts

Broken hacked blocks?

I have went through Scratch's blocks' source code and the popular ones of them should still be supported but invisible in the GUI. You can find more information here-
https://github.com/LLK/scratch-vm/issues/355 , https://github.com/LLK/scratch-vm/issues/1030 and https://docs.google.com/presentation/d/1z-g6p_oOcTXFeFWfTFo7HQVsi0Z7bnqVUl-mQK9YgQI/mobilepresent?slide=id.g34ac6c6732_0_8 .

Q/A Regarding the Suggestions Category & Why Some Suggestions Got Rejected
List of Scratch Modifications And Other Block-Based Programming Languages
Useful Converters to Help You With Conversion
Workarounds for Blocks Scratch Does Not Have
Scratch Translator SDS Translator Scratch Wiki Editor(Test (English and Bengali)& English) Writer Microsoft Dev 1000+ posts
The Scratch Movie Collaboration Thread Glitchy Scratch
THIS IS A NINJA SIGNATURE!
If you found something offensive in my posts, I am so sorry for that.
awesome-llama
Scratcher
1000+ posts

Broken hacked blocks?

I have noticed that it is possible to break blocks and cause them to vanish. I lost an entire script once due to the below:

This wasn't exactly hacking, but it definitely was exploiting the blocks a bit in the editor. I could paste in certain unicode characters that were not recognised and make them disappear:

I was testing things like ASCII control charcters which ended up being weird.

Other times, things like this happened:

// reports undefined in the disabled part

Last edited by awesome-llama (May 16, 2020 15:04:25)





↑↑ Click any of the images for an awesome project! ↑↑
◃◁ Click this for my YT channel! ▷▹




My 500th post: https://scratch.mit.edu/discuss/topic/189237/?page=1#post-1861516
My 1000th post: https://scratch.mit.edu/discuss/topic/216809/?page=1#post-2193087
My 1500th post: https://scratch.mit.edu/discuss/topic/234381/?page=1#post-2388018
YmFja3VwLXNpZ2d5LWlk Google this to see my posts.
--Explosion--
Scratcher
1000+ posts

Broken hacked blocks?

awesome-llama wrote:

I have noticed that it is possible to break blocks and cause them to vanish. I lost an entire script once due to the below:

This wasn't exactly hacking, but it definitely was exploiting the blocks a bit in the editor. I could paste in certain unicode characters that were not recognised and make them disappear:

I was testing things like ASCII control charcters which ended up being weird.

Other times, things like this happened:

// reports undefined in the disabled part
Whoa! Will you paste the character here?
Maximouse
Scratcher
1000+ posts

Broken hacked blocks?

--Explosion-- wrote:

Whoa! Will you paste the character here?
Or at least tell which character it was.

You are reading Maximouse's signature. Learn more about signatures
Click here to make pixel art.
Be strong
awesome-llama
Scratcher
1000+ posts

Broken hacked blocks?

Maximouse wrote:

--Explosion-- wrote:

Whoa! Will you paste the character here?
Or at least tell which character it was.
I cannot remember which one it was. It might work for many characters, but you would have to test it. It's a non-printable character. That's all I remember.

I had also tested a unicode middle dot (bullet point) which caused blocks to be deleted. Not sure if it still happens or not.

The reason I was using weird characters was when trying to find a working separator character that didn't use the printable English characters. I wanted to have all the characters plus a separator in strings which I thought might work for something I said above.

Edit: I made a project on my alt a while back https://scratch.mit.edu/projects/302504830/

Project description wrote:

(https://www.fileformat.info/info/unicode/category/Cc/list.htm ), specifically , which is U+001F INFORMATION SEPARATOR ONE

Last edited by awesome-llama (May 17, 2020 07:46:57)





↑↑ Click any of the images for an awesome project! ↑↑
◃◁ Click this for my YT channel! ▷▹




My 500th post: https://scratch.mit.edu/discuss/topic/189237/?page=1#post-1861516
My 1000th post: https://scratch.mit.edu/discuss/topic/216809/?page=1#post-2193087
My 1500th post: https://scratch.mit.edu/discuss/topic/234381/?page=1#post-2388018
YmFja3VwLXNpZ2d5LWlk Google this to see my posts.
Oumuamua
Scratcher
1000+ posts

Broken hacked blocks?

I am not sure if this fits here, just excuse me if not



Oumuamua
Scratcher
1000+ posts

Broken hacked blocks?

awesome-llama wrote:

Maximouse wrote:

--Explosion-- wrote:

Whoa! Will you paste the character here?
Or at least tell which character it was.
I cannot remember which one it was. It might work for many characters, but you would have to test it. It's a non-printable character. That's all I remember.

I had also tested a unicode middle dot (bullet point) which caused blocks to be deleted. Not sure if it still happens or not.

The reason I was using weird characters was when trying to find a working separator character that didn't use the printable English characters. I wanted to have all the characters plus a separator in strings which I thought might work for something I said above.

Edit: I made a project on my alt a while back https://scratch.mit.edu/projects/302504830/

Project description wrote:

(https://www.fileformat.info/info/unicode/category/Cc/list.htm ), specifically , which is U+001F INFORMATION SEPARATOR ONE

Hi @awesome-llama, i have this https://scratch.mit.edu/projects/396212882/ with a lot of printable emojis, most of them should be working fine on online editor, some doesn't work in offline ediitor though. Also, even when it is supossed to show right in any modern browser it could fail depending what web browser is your.
My browser / operating system: Windows NT 10.0, Firefox 76.0, No Flash version detected


Powered by DjangoBB

Standard | Mobile