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

#1 2011-05-09 21:08:22

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Cool things to do in the online Java player

I've been toying around with the source for the Java player (the .logo files in it) and I've discovered 2 commands you can use that are very helpful: #beep (makes a beeping noise) and #greenflag (simulates the green flag being pressed). If you make blocks with these selectors, they will work in the online player!

mathwizzfade has made a few things like this.

Last edited by rubiks_cube_guy238 (2011-05-10 14:47:41)


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#2 2011-05-10 01:00:15

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Cool things to do in the online Java player

So these can be used hacked and online!?:

('beep' #- #beep)

beep
self beep

Cool!

Offline

 

#4 2011-05-10 14:46:29

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: Cool things to do in the online Java player

scimonster wrote:

So these can be used hacked and online!?:

('beep' #- #beep)

beep
self beep

Cool!

You don't even need to make a new method...


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#5 2011-05-10 15:00:19

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Re: Cool things to do in the online Java player

They work!


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#6 2011-05-10 15:10:40

thebuilderdd
Scratcher
Registered: 2008-01-26
Posts: 1000+

Re: Cool things to do in the online Java player

How do you hack?

Offline

 

#7 2011-05-10 15:26:29

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Re: Cool things to do in the online Java player

thebuilderdd wrote:

How do you hack?

.jar files are really zipped files. Rename the java applet with a .zip extension, then extract it.


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#8 2011-05-10 15:27:25

thebuilderdd
Scratcher
Registered: 2008-01-26
Posts: 1000+

Re: Cool things to do in the online Java player

scratcher7_13 wrote:

thebuilderdd wrote:

How do you hack?

.jar files are really zipped files. Rename the java applet with a .zip extension, then extract it.

I hacked Minecraft through WinRAR. Then what do I do next?

Offline

 

#9 2011-05-10 15:42:29

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Re: Cool things to do in the online Java player

thebuilderdd wrote:

scratcher7_13 wrote:

thebuilderdd wrote:

How do you hack?

.jar files are really zipped files. Rename the java applet with a .zip extension, then extract it.

I hacked Minecraft through WinRAR. Then what do I do next?

Minecraft?


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#10 2011-05-10 16:14:55

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Cool things to do in the online Java player

rubiks_cube_guy238 wrote:

I've been toying around with the source for the Java player (the .logo files in it) and I've discovered 2 commands you can use that are very helpful: #beep (makes a beeping noise) and #greenflag (simulates the green flag being pressed). If you make blocks with these selectors, they will work in the online player!

mathwizzfade has made a few things like this.

You can put any block selector. I have done this before: here.


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#11 2011-05-10 17:58:00

thebuilderdd
Scratcher
Registered: 2008-01-26
Posts: 1000+

Re: Cool things to do in the online Java player

scratcher7_13 wrote:

thebuilderdd wrote:

scratcher7_13 wrote:


.jar files are really zipped files. Rename the java applet with a .zip extension, then extract it.

I hacked Minecraft through WinRAR. Then what do I do next?

Minecraft?

The jar file.

Offline

 

#12 2011-05-10 18:41:59

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: Cool things to do in the online Java player

thebuilderdd wrote:

scratcher7_13 wrote:

thebuilderdd wrote:

How do you hack?

.jar files are really zipped files. Rename the java applet with a .zip extension, then extract it.

I hacked Minecraft through WinRAR. Then what do I do next?

Learn Java, create some new classes, paste them in the jar, delete the META-INF folder, switch extension back to .jar, launch Minecraft (not in-browser). That's "all".  tongue

Last edited by rubiks_cube_guy238 (2011-05-10 18:42:32)


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#13 2011-05-10 18:44:42

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: Cool things to do in the online Java player

Pecola1 wrote:

rubiks_cube_guy238 wrote:

I've been toying around with the source for the Java player (the .logo files in it) and I've discovered 2 commands you can use that are very helpful: #beep (makes a beeping noise) and #greenflag (simulates the green flag being pressed). If you make blocks with these selectors, they will work in the online player!

mathwizzfade has made a few things like this.

You can put any block selector. I have done this before: here.

That's not what I mean!

Topic title wrote:

Cool things to do in the online Java player

The experimental viewer is not Java. Is Flash.


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#14 2011-05-10 18:46:20

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Cool things to do in the online Java player

rubiks_cube_guy238 wrote:

Pecola1 wrote:

rubiks_cube_guy238 wrote:

I've been toying around with the source for the Java player (the .logo files in it) and I've discovered 2 commands you can use that are very helpful: #beep (makes a beeping noise) and #greenflag (simulates the green flag being pressed). If you make blocks with these selectors, they will work in the online player!

mathwizzfade has made a few things like this.

You can put any block selector. I have done this before: here.

That's not what I mean!

Topic title wrote:

Cool things to do in the online Java player

The experimental viewer is not Java. Is Flash.

LOL, I figured that out later, but was too lazy to edit.  tongue


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#15 2011-05-10 20:08:25

thebuilderdd
Scratcher
Registered: 2008-01-26
Posts: 1000+

Re: Cool things to do in the online Java player

rubiks_cube_guy238 wrote:

thebuilderdd wrote:

scratcher7_13 wrote:


.jar files are really zipped files. Rename the java applet with a .zip extension, then extract it.

I hacked Minecraft through WinRAR. Then what do I do next?

Learn Java, create some new classes, paste them in the jar, delete the META-INF folder, switch extension back to .jar, launch Minecraft (not in-browser). That's "all".  tongue

I mean for the player, not Minecraft. Player = java

Offline

 

#16 2011-05-10 20:21:50

rubiks_cube_guy238
Scratcher
Registered: 2009-07-02
Posts: 100+

Re: Cool things to do in the online Java player

thebuilderdd wrote:

rubiks_cube_guy238 wrote:

thebuilderdd wrote:


I hacked Minecraft through WinRAR. Then what do I do next?

Learn Java, create some new classes, paste them in the jar, delete the META-INF folder, switch extension back to .jar, launch Minecraft (not in-browser). That's "all".  tongue

I mean for the player, not Minecraft. Player = java

They're both Java...


The glass is never half full nor half empty; it is twice as large as it needs to be.

Offline

 

#17 2011-05-11 00:03:18

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Cool things to do in the online Java player

rubiks_cube_guy238 wrote:

scimonster wrote:

So these can be used hacked and online!?:

('beep' #- #beep)

beep
self beep

Cool!

You don't even need to make a new method...

For offline too.

Offline

 

#18 2011-05-13 10:33:21

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: Cool things to do in the online Java player

rubiks_cube_guy238 wrote:

thebuilderdd wrote:

rubiks_cube_guy238 wrote:


Learn Java, create some new classes, paste them in the jar, delete the META-INF folder, switch extension back to .jar, launch Minecraft (not in-browser). That's "all".  tongue

I mean for the player, not Minecraft. Player = java

They're both Java...

From what I know, Minecraft can also be downloaded as an exe.

Offline

 

#19 2011-05-13 22:59:48

thebuilderdd
Scratcher
Registered: 2008-01-26
Posts: 1000+

Re: Cool things to do in the online Java player

rdococ wrote:

rubiks_cube_guy238 wrote:

thebuilderdd wrote:


I mean for the player, not Minecraft. Player = java

They're both Java...

From what I know, Minecraft can also be downloaded as an exe.

I downloaded the exe (which adds stuff to appdata.) then I went to my appdata and found the MC folder. then bin, then Minecraft.jar.

Offline

 

#20 2011-05-14 05:09:07

Taneb
Scratcher
Registered: 2009-07-07
Posts: 100+

Re: Cool things to do in the online Java player

Minecraft is downloaded as a .jar by default for Mac and Linux

Offline

 

Board footer