This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-08-08 18:09:27

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Default Blocks?

I need to know how to make a default block and make the block undraggable, so it will always stay in the same place.


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#2 2011-08-09 02:38:45

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Default Blocks?

do you mean like the one in Web Blox. you could put it in the default sprite, but i don't know how to make it undraggable. i also want to now how to do that for my mod.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#3 2011-08-09 03:20:02

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Default Blocks?

yes, like the one in web blox.


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#4 2011-08-09 03:25:33

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Default Blocks?

WindowsExplorer wrote:

yes, like the one in web blox.

maybe you could hack web blox and find the code for it.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#5 2011-08-09 03:31:30

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Default Blocks?

I did, but i'm asking where can I find the code? I really need it for my mod.


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#6 2011-08-09 06:11:18

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Default Blocks?

what is the developers password for web blox or did you hack it a different way?


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#7 2011-08-09 06:13:07

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Default Blocks?

I don't think theres a developers password. I just went in the the dev mode file.


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#8 2011-08-09 06:17:51

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Default Blocks?

when i ctrl-click compile and click unlock dev mode, it asks for the password. i don't think there is any other way to hack web blox


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#9 2011-08-09 06:26:13

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Default Blocks?

I'll make a hacked file for you.


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#10 2011-08-09 06:28:20

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Default Blocks?

ok thanks. just upload the image because it is faster.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#11 2011-08-09 06:39:38

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Default Blocks?

Here: Download

Last edited by WindowsExplorer (2011-08-09 06:40:33)


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#12 2011-08-09 06:53:48

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Default Blocks?

it shows a 403 error when i click on it


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#13 2011-08-09 06:54:52

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Default Blocks?

Oh. It doesn't for me. I'll get anotehr link/


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#14 2011-08-09 07:02:16

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Default Blocks?

Here: Download


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#15 2011-08-09 07:03:25

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Default Blocks?

thanks. i'll just have to be bored while it is downloading lol


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#16 2011-08-09 07:06:26

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Default Blocks?

lol!


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#17 2011-08-09 07:08:09

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Default Blocks?

i will have to use a download manager because my internet (my spell checker doesn't recognise internet lol) doesn't like downloading files that big lol (i have broadband)


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#18 2011-08-09 07:13:54

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Default Blocks?

ok i downloaded it but now when i try to run web blox, it shows the splash screen and say it has stopped working.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#19 2011-08-09 07:30:11

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Default Blocks?

Oh, i'm sorry, i cant help you then.  sad


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#20 2011-08-09 14:18:29

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Default Blocks?

LOL... I was literally rolling on my chair with laughter!
You do know who made that feature in webblox, right?  tongue

If I find my copy of webblox, I'll paste the various bits of code here. One thing: is this a hat block/special block, and does it have a selector?

...no wonder you couldn't hack into it, I devised the anti-hack system  tongue  You need a code injected right into the program execution!  big_smile

Offline

 

#21 2011-08-09 14:23:34

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Default Blocks?

But I hacked it without a code! lol


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#22 2011-08-09 17:29:17

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: Default Blocks?

LS97 wrote:

LOL... I was literally rolling on my chair with laughter!
You do know who made that feature in webblox, right?  tongue

If I find my copy of webblox, I'll paste the various bits of code here. One thing: is this a hat block/special block, and does it have a selector?

...no wonder you couldn't hack into it, I devised the anti-hack system  tongue  You need a code injected right into the program execution!  big_smile

You know I can hack it right?  And the anti-hack is against the Scratch TOU?


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#23 2011-08-09 17:42:07

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Default Blocks?

ssss wrote:

LS97 wrote:

LOL... I was literally rolling on my chair with laughter!
You do know who made that feature in webblox, right?  tongue

If I find my copy of webblox, I'll paste the various bits of code here. One thing: is this a hat block/special block, and does it have a selector?

...no wonder you couldn't hack into it, I devised the anti-hack system  tongue  You need a code injected right into the program execution!  big_smile

You know I can hack it right?  And the anti-hack is against the Scratch TOU?

Pfff... so many flames... yes I know.

Offline

 

#24 2011-08-09 17:50:10

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: Default Blocks?

LS97 wrote:

ssss wrote:

LS97 wrote:

LOL... I was literally rolling on my chair with laughter!
You do know who made that feature in webblox, right?  tongue

If I find my copy of webblox, I'll paste the various bits of code here. One thing: is this a hat block/special block, and does it have a selector?

...no wonder you couldn't hack into it, I devised the anti-hack system  tongue  You need a code injected right into the program execution!  big_smile

You know I can hack it right?  And the anti-hack is against the Scratch TOU?

Pfff... so many flames... yes I know.

lol.  My methods are unorthidox though, and really shouldn't be used...  big_smile

I didn't flame you.

And, you don't care?  tongue


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#25 2011-08-09 17:52:20

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: Default Blocks?

Anyway...  Here is what controls it:
It's in ScratchObjects>>Scriptalescratchmorph (instance)>>Initialization>>Initialize

Code:

initialize
    | t1 |
    super initialize.
    objName _ self nextInstanceName.
    vars _ Dictionary new.
    lists _ Dictionary new.
    blocksBin _ ScratchScriptsMorph new.
    isClone _ false.
    costume _ self defaultImageMedia.
    media _ OrderedCollection new.
    costumeChangeMSecs _ 0.
    visibility _ 100.
    volume _ 100.
    tempoBPM _ 60.
    sceneStates _ Dictionary new.
    t1 _ (self blockFromSpec: #('Script Statt' #S #- ) color: (Color
                    h: 41
                    s: 0.85
                    v: 0.9)) isSticky: true;
             position: 100 @ 199.
    blocksBin addMorph: t1

Hey.  It's me SSSS, back from the dead!  smile

Offline

 

Board footer