There is no command in the variable, and its not in any custom block

There are no custom blocks in this script. (theres not even any custom blocks in the project)
My brain hurts because i broke my script real bad.


https://snap.berkeley.edu/project?username=mr_owlssssnap2&projectname=broke%20slaim

Although not having any code bugs on my side,you might want to fix the bouncing


do not have that 5 there

Looks like that you're using a weird for block. Me works fine.

look at the other FOR blocks.
it's from one number to another.

image

somehow you've managed to completely remove one of the numbers from the block, so now that input is the input slot with the CHANGE Y command

image
other people are loading the project fine so you probably just need to refresh and fix whatever numbers are supposed to go there?

seems like you had some extremely rare issue that broke the block, if you can find a way to do it again it would be a good bug report

I think it automatically says inside a custom block when a variable is causing the error. But that shouldn't happen. :thinking:

Are you using Snap! 8.0.0?

no, really?

I dont need advice about the project. I was reporting a bug.

yes

maybe, but there are zero custom blocks in the project, and, as you can see, there aren't any commands being put into any variables

weird, it doesn't give that error anymore

you have a variable missing right there. that means the 3th slot is the command.
the block should have upvar, number, number, command
you have upvar, number, command

when it tries to get the 3rd input, expecting a number for the end of the loop counter, it gets a command

wait, how did i put a command in the 3rd input??

something is wrong here

yours
broke slaim script pic

primitive
CrossyHighway script pic

you somehow removed the third slot which is probably why the script threw the error
it seems to work fine after reloading though

yeah it works fine now. I have no clue how i managed to do this.

and no, i did not use the join block to replace the input (if you even can)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.