Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Broken hacked blocks?
- 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?
Is the hacked block removed, the script which contains the hacked blocked removed or is the entire sprite deleted?
- Maximouse
-
Scratcher
1000+ posts
Broken hacked blocks?
Nothing is removed, but the block stops working.
- Theoul
-
Scratcher
27 posts
Broken hacked blocks?
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
- Maximouse
-
Scratcher
1000+ posts
Broken hacked blocks?
Interesting. I know that theNothing 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
set (join [] []) to (0)hack became something like
set [join:with: v] to (0)It wasn't deleted.
- Theoul
-
Scratcher
27 posts
Broken hacked blocks?
Oh wait I must be confused, the code did show up though nothing happened when you used it… Ignore that.Interesting. I know that theNothing 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 editorset (join [] []) to (0)hack became something likeset [join:with: v] to (0)It wasn't deleted.
- 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 .
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 .
- 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:

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)
- --Explosion--
-
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:Whoa! Will you paste the character here?
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
- Maximouse
-
Scratcher
1000+ posts
Broken hacked blocks?
Whoa! Will you paste the character here?Or at least tell which character it was.
- awesome-llama
-
Scratcher
1000+ posts
Broken hacked blocks?
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.Whoa! Will you paste the character here?Or at least tell which character it was.
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/
(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)
- Oumuamua
-
Scratcher
1000+ posts
Broken hacked blocks?
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.Whoa! Will you paste the character here?Or at least tell which character it was.
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/(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
- Ilikesonic100
-
Scratcher
1000+ posts
Broken hacked blocks?
Some one hacked mewhoa man [/offtopic]
Last edited by Ilikesonic100 (Jan. 23, 2021 15:41:20)
- Discussion Forums
- » Advanced Topics
-
» Broken hacked blocks?










