Discuss Scratch

Arkard
Scratcher
40 posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

Link to the project.
Report Bugs here!
How do I report bugs?
To report bugs, fill out this template:

Type: (Usable exploit, problem in code, visual error, other)
Location: (Private home, lobby, castle, etc…)
Description: (Please describe the most possible!)
(Optional) Picture/video

Good example:

Usable exploit
Castle, the before last room before the first game, on the top-right wall.
I was walking in the castle when a player called (player name) somehow passed through a wall… I tried it too, and it worked!
(Picture)

Bad example:

I don't know. <—– If you don't know, just put other.
Somewhere in the lobby <———– Be precise!
A tree keeps teleporting. <————- Elaborate more.
(Unrelated picture/video) <———– Does not help.

Last edited by Arkard (July 5, 2020 15:46:55)

bananaandchoc1
Scratcher
1000+ posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

Have you not heard of the bugs and glitches forum? Reporting bugs and glitches it the point of that forum. Reporting to be closed.
Paddle2See
Scratch Team
1000+ posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

I believe that this may be a topic for reporting bugs related to a specific Scratch project?

If so, please give a link to the project.
Arkard
Scratcher
40 posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

Paddle2See wrote:

I believe that this may be a topic for reporting bugs related to a specific Scratch project?

If so, please give a link to the project.

https://scratch.mit.edu/projects/388741496/
bananaandchoc1
Scratcher
1000+ posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

Paddle2See wrote:

I believe that this may be a topic for reporting bugs related to a specific Scratch project?

If so, please give a link to the project.
Oh, ok, thanks (it was slightly confusing as they didn’t provide a link)
Arkard
Scratcher
40 posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

bananaandchoc1 wrote:

Paddle2See wrote:

I believe that this may be a topic for reporting bugs related to a specific Scratch project?

If so, please give a link to the project.
Oh, ok, thanks (it was slightly confusing as they didn’t provide a link)
Sorry! I'll change that now.
Blork7
Scratcher
1 post

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

Type: Problem in Code
Location: All.
Description: When logging in in a scratch dev account, and logging in another account which is not a dev, it marks you as a dev.
SirTestALot
Scratcher
20 posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

Blork7 wrote:

Type: Problem in Code
Location: All.
Description: When logging in in a scratch dev account, and logging in another account which is not a dev, it marks you as a dev.

A user is label as a developer Based off of their scratch account username.
Did you uses the same scratch account through this whole process?
--Multiplayer--
Scratcher
1 post

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

BUG REPORT:
you click on 2 icons (top right), they'll overlap eachother.
If you open 3 icons, one will close.
Arkard
Scratcher
40 posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

--Multiplayer-- wrote:

BUG REPORT:
you click on 2 icons (top right), they'll overlap eachother.
If you open 3 icons, one will close.

Please use the template gave above.
Vadik1
Scratcher
500+ posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=


Bugs I found


1.Menu fading

Type: Visual error
Location: Any
Description: When closing menu opened by the button with gear, menu disappears instantly, but player fades away.


2.Server timing

Type: Problem with cloud code
Location: JetpackJoyride/possibly anywhere else
Description: When I lost in JetpackJoyride data was sent to add coins, however
server tried to clear ☁ @Waiting List and instantly respond after that in
the ☁ @Server variable. Because 2 cloud variable updates were sent nearly
at once and scratch only allows sending updates every 0.1 seconds
only ☁ @Waiting List was cleared, but ☁ @Server update was ignored
and and the client got stuck in a state of waiting for a response.

That is my assumption after looking at cloud log. It showed that I sent the data, but the only thing server did was after
that is clearing ☁ @Waiting List, and after that the game got stuck.


3.Windows in JJ

Type: Visual error
Location: Jetpack Joyride
Description: Windows disappear a bit to early.


4.Furniture selection

Type: Problem in code
Location: Private home
Description: When selecting furniture to move around, the circle which appears and indicates selection is solid and players can't pass through it.


5.Furniture inventory

Type: Visual error
Location: Private home
Description: I don't have anything in my inventory. My pivate home has 1 table, 1 chair and 1 bed. When I open my inventory, I see that I have 0 lamps(which I have never bought) and 0 beds.


6.Cloud slots

Type: Problem with cloud code
Location: Any
Description: It is possible for multiple people to occupy the same player slot. When I played, both I and charmer1 were sending data in ☁ PlayerData_1



7.Backpack button is broken

Type: Problem in code
Location: Any
Description: Backpack button usually takes multiple clicks to react or sometimes stops working at all.


8.Unclosable menu

Type: Problem in code
Location: Any
Description: When I played I clicked on a user. The menu opened but there was no follow or home buttons.
However the biggest issue was that no matter where I clicked, I couldn't close that menu and had to restart the project.


Other problems, which aren't bugs

1.Reduce RAM consumption

Visiting all areas makes my PC ran out of RAM and start using swap(using hard drive as an extra ram), which makes it very slow and unresponsive. Doing it on a smartphone(playing with onscreen gamepad app) just crashes the webpage.
Solution: reduce amount of repeating costumes and delete all unused ones. Also if costumes have repeating elements split them into parts to reduce space taken.


2.Lag spikes when entering a new area

When scratch tries to stamp vector image for the first time it first needs to rasterize it. Then it stores it somewhere, for a later reuse(that is why visiting all areas leads to not enough ram). When entering a new area scratch needs to process a lot of images in a single frame which causes a lag spike. The soulution is to force scratch to slowly process all of them at the speed of 1 each frame by stamping them somewhere, where it can't be seen. In many cases, images would already get stamped once before player can enter a new area.


3.Books aren't obvious

Even though I started playing this game since alpha 1.0.0, but I only figured out that clicking on the edge of a book would change page 1 hour before beta was released. There needs to be something that tells people that they can do that.


4.Sending useless data

Getting 0 coins in Jetpack Joyride still sends data to server to add 0 coins.


5.Stuck in furniture

When placing furniture it can be annoying, if you place it where it is overlaping with player, because player can't move.
Also it is possible to just place furniture in the enterance position of a home to prevent visitors from beeing able to move at all.
Solution: in the move (steps) steps in (dir) custom block check if player is touching anything even before he moved. If so, than ignore all collision.

Last edited by Vadik1 (July 4, 2020 17:26:52)

SirTestALot
Scratcher
20 posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

Vadik1 wrote:


Bugs I found


1.Menu fading

Type: Visual error
Location: Any
Description: When closing menu opened by the button with gear, menu dissapears instantly, but player fades away.


2.Server timing

Type: Problem with cloud code
Location: JetpackJoyride/possibly anywhere else
Description: When I lost in JetpackJoyride data was sent to add coins, however
server tried to clear ☁ @Waiting List and instantly respond after that in
the ☁ @Server variable. Because 2 cloud variable updates were sent nearly
at once and scratch only allows sending updates every 0.1 seconds
only ☁ @Waiting List was cleared, but ☁ @Server update was ignored
and and the client got stuck in a state of waiting for a response.

That is my assumption after looking at cloud log. It showed that I sent the data, but the only thing server did was after
that is clearing ☁ @Waiting List, and after that the game got stuck.


3.Windows in JJ

Type: Visual error
Location: Jetpack Joyride
Description: Windows dissapear a bit to early.


4.Furniture selection

Type: Problem in code
Location: Private home
Description: When selecting furniture to move around, the circle which appears and indicates selection is solid and players can't pass through it.


5.Furniture inventory

Type: Visual error
Location: Private home
Description: I don't have anything in my inventory. My pivate home has 1 table, 1 chair and 1 bed. When I open my inventory, I see that I have 0 lamps(which I have never bought) and 0 beds.


6.Cloud slots

Type: Problem with cloud code
Location: Any
Description: It is possible for multiple people to occupy the same player slot. When I played, both I and charmer1 were sending data in ☁ PlayerData_1


7.Button

Type: Problem in code
Location: Any
Description: Button used to open menu for changing equiped items can sometimes take multiple clicks to react


8.Unclosable menu

Type: Problem in code
Location: Any
Description: When I played I clicked on a user. The menu opened but there was no follow or home buttons.
However the biggest issue was that no matter where I clicked, I couldn't close that menu and had to restart the project.


Other problems, which aren't bugs

1.Reduce RAM consumption

Visiting all areas makes my PC ran out of RAM and start using swap(using hard drive as an extra ram), which make it very slow and unresponsive. Doing it on a smartphone(playing with onscreen gamepad app) just crashes the webpage.
Solution: reduce amount of repeating costumes and delete all unused ones. Also if costumes have repeating elements split them ito parts to reduce space taken.


2.Lag spikes when entering a new area

When scratch tries to stamp vector image for the first time it first needs to rasterize it. Then it stores it somewhere, for a later reuse(that is why visiting all areas leads to not enough ram). When entering a new area scratch needs to process a lot of images in a single frame which causes a lag spike. The soulution is to force scratch to slowly process all of them 1 each frame.


3.Books aren't obvious

Even though I started playing this game since alpha 1.0.0, but I only figured out that clicking on the edge of a book would change page 1 hour before beta was released. There needs to be something that tells people that they can do that.


4.Sending useless data

Getting 0 coins in Jetpack Joyride still sends data to server to add 0 coins.


5.Stuck in furniture

When placing furniture it can be annoying, if you place it where it is overlaping with player, because player can't move.
Also it is possible to just place furniture in the enterance position of a home to prevent visitors from beeing able to move at all.
Solution: in the move (steps) steps in (dir) custom block check if player is touching anything even bofore he moved. If so than ignore all collision.



Thanks for the feedback, we will try to fix all of these bugs as soon as possible.
Oh and users using the same cloud slot is normal, it’s how we were able to achieve the ability to have 80 players online at ones.

Last edited by SirTestALot (July 2, 2020 19:20:27)

Arkard
Scratcher
40 posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

Vadik1 wrote:

Visiting all areas makes my PC ran out of RAM and start using swap(using hard drive as an extra ram), which make it very slow and unresponsive. Doing it on a smartphone(playing with onscreen gamepad app) just crashes the webpage.
Solution: reduce amount of repeating costumes and delete all unused ones. Also if costumes have repeating elements split them into parts to reduce space taken.

As much as we would like to help you with that, we are facing a big problem- Scratch has a limit of 300 clones, and at some point, the code breaks that. So the solution is using stamps. Sadly, this uses lots of CPU/Ram, and we can't change that. Sorry!
BobzGames
Scratcher
70 posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

Arkard wrote:

Vadik1 wrote:

Visiting all areas makes my PC ran out of RAM and start using swap(using hard drive as an extra ram), which make it very slow and unresponsive. Doing it on a smartphone(playing with onscreen gamepad app) just crashes the webpage.
Solution: reduce amount of repeating costumes and delete all unused ones. Also if costumes have repeating elements split them into parts to reduce space taken.

As much as we would like to help you with that, we are facing a big problem- Scratch has a limit of 300 clones, and at some point, the code breaks that. So the solution is using stamps. Sadly, this uses lots of CPU/Ram, and we can't change that. Sorry!
Would it be possible to make some consistent objects clones? For example, the player count can't go over 80 (well under clone limit), so wouldn't it be possible to use clones rather than stamping? It would probably only conserve more then a negligible amount of ram in high player situations, but I don't know for sure.
SirTestALot
Scratcher
20 posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

BobzGames wrote:

Arkard wrote:

Vadik1 wrote:

Visiting all areas makes my PC ran out of RAM and start using swap(using hard drive as an extra ram), which make it very slow and unresponsive. Doing it on a smartphone(playing with onscreen gamepad app) just crashes the webpage.
Solution: reduce amount of repeating costumes and delete all unused ones. Also if costumes have repeating elements split them into parts to reduce space taken.

As much as we would like to help you with that, we are facing a big problem- Scratch has a limit of 300 clones, and at some point, the code breaks that. So the solution is using stamps. Sadly, this uses lots of CPU/Ram, and we can't change that. Sorry!
Would it be possible to make some consistent objects clones? For example, the player count can't go over 80 (well under clone limit), so wouldn't it be possible to use clones rather than stamping? It would probably only conserve more then a negligible amount of ram in high player situations, but I don't know for sure.

Actually stamps use less ram then clone. The problem is the amount of costumes being used, and sadly there is not much we can do about it.
Scratch_creator112
Scratcher
1 post

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

The only bug I have found is that when you open anything, and then open something else. The thing you opened before is still there. I dont really think this is a problem. But maybe it is for you.
BobzGames
Scratcher
70 posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

Scratch_creator112 wrote:

The only bug I have found is that when you open anything, and then open something else. The thing you opened before is still there. I dont really think this is a problem. But maybe it is for you.
We are working on a fix. In the future, please use the template provided in the original post.
Vadik1
Scratcher
500+ posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

Arkard wrote:

…Sadly, this uses lots of CPU/Ram, and we can't change that. Sorry!
I was suggesting to split costumes into repeating parts and do more stamps to reduce the RAM usage. I'd rather have a laggy project than have to restart non-responding the browser every few minutes.


And even if that isn't going to be implemented, there is still another solution I was reffering to which doesn't cause slowdown.

Vadik1 wrote:

Solution: reduce amount of repeating costumes…
After looking at costumes I created this list of completely identical ones:

In “3D engine” sprite:
1: “land 2 6”,“land 2 8”,“land 2 9”,“land 2 10”,“land 2 11”,“land 2 12”,“land 2 13”
2: “land 2 14”,“land 2 15”
3: “land 3 12”,“land 3 13”
4: “SecretWall 1”,“SecretWall 2”,“SecretWall 3”,“SecretWall 4”,“SecretWall 5”,“SecretWall 12”,“SecretWall 13”,“SecretWall 14”,“SecretWall 15”
5: “land 4 7”,“land 4 9”,“land 4 10”,“land 4 12”
6: “land 4 8”,“land 4 11”
7: “land 4 13”,“land 4 14”,“land 4 15”,“land 7 5”,“land 7 6”,“land 7 7”,“land 7 12”
8: “Land House 2”,“Land House 3”,“Land House 4”,“Land House 5”,“Land House 6”,“Land House 7”,“Land House 8”,“Land House 2”
9: “land 5 2”,“land 5 4”
10: “land 6 8”,“land 6 9”,“land 6 10”,“land 6 11”,“land 6 12”,“land 6 13”,“land 6 14”,“land 6 15”
11: “land 7 2”,“land 7 4”
12: “land 8 12”,“land 8 13”
13: “land 8 14”,“land 8 15”


In “Furniture” sprite:
1: “1 1”,“1 2”,“1 3”,“1 4”,“1 5”
2: “1 6”,“1 7”
3: “2 1”,“2 2”,“2 3”
4: “2 4”,“2 5”
5: “2 6”,“2 7”
6: “3 1”,“3 2”,“3 3”
7: “3 5”,“3 6”,“3 7”,“3 8”,“3 9”
8: “4 4”,“4 5”,“4 6”,“4 7”,“4 9”,“4 10”,“4 11”


Instead of displaying costumes one after another, it is better to delete all of the duplicates and create 2 global lists for storing the order in which costumes need to be displayed. This would allow the same costume to be displayed multiple times.
SirTestALot
Scratcher
20 posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

Thanks for the suggestion. In the meantime I have found out that it works better on web browsers like Firefox and Google Chrome, but Safari will reload tabs that use a significant amount of memory. So if your using Safari you probably should try Chrome or something while we optimize the 3D engine
Vadik1
Scratcher
500+ posts

=ᑕᒪᑌᗷ ᔕᑕᖇᗩTᑕᕼ ᗷᑌG ᖇEᑭOᖇT=

SirTestALot wrote:

Thanks for the suggestion. In the meantime I have found out that it works better on web browsers like Firefox and Google Chrome, but Safari will reload tabs that use a significant amount of memory. So if your using Safari you probably should try Chrome or something while we optimize the 3D engine
I'm using Chromium on Linux. I've previosly used Firefox, but switched to Chromium recently, because I've noticed that Firefox(recent versions) has up to 3 second keyboard input delay making playing anything on Scratch very hard.

Powered by DjangoBB