ScratchReallyROCKS wrote:
nXIII wrote:
Yes, they're written in Squeak.
Cool! Does this mean that we could make a code in squeak and change the extension to .patch?
or leave it as a .cs, the patcher accepts them, too.
EDIT: Oh, nvm, my version does. If you want to, just add "#cs" next to "#patch" in the first method.
Last edited by nXIII (2010-06-20 13:56:02)
Offline
nXIII wrote:
henley wrote:
When I clicked "file it in" it gave me a message saying "Syntax Error" with the following content:
< < < This string contains a character (ascii value 202) that is not normally used in code > > > createPatchFileChooserFor: t1
Nothing more expected -> scratchFrame _ nil.
readingScratchFile _ true.
list _ ScratchFilePicker new extensions: #(#patch ).
self removeAllMorphs.
bottomSpacer delete.
bottomSpacer _ nil.
mainColumn addMorphBack: list.
self title: 'Add Patch'.
list scratchInfoClient: nil.
mainColumn addMorphBack: (Morph new extent: 5 @ 9;
color: Color transparent);
addMorphBack: newTitleBin.
fileInfoColumn addMorphBack: buttonRow.
self addMorphBack: shortcutColumn;
addMorphBack: mainColumn;
addMorphBack: fileInfoColumn
I think that it was the exclamation points. Do I just take out the exclamation points?
EDIT:
http://i46.tinypic.com/29cudk6.pngYou should leave the exclamation points in.
And it doesn't look like you copied the entire length of the code.
Here:
EDIT: Since it doesn't work, it may work here.
It doesn't fit in the forums... That stinks.
I wish I knew what I was doing wrong.
Last edited by henley (2010-06-20 16:42:49)
Offline
markyparky56 wrote:
ScratchReallyROCKS wrote:
henley wrote:
When I clicked "file it in" it gave me a message saying "Syntax Error" with the following content:
< < < This string contains a character (ascii value 202) that is not normally used in code > > > createPatchFileChooserFor: t1
Nothing more expected -> scratchFrame _ nil.
readingScratchFile _ true.
list _ ScratchFilePicker new extensions: #(#patch ).
self removeAllMorphs.
bottomSpacer delete.
bottomSpacer _ nil.
mainColumn addMorphBack: list.
self title: 'Add Patch'.
list scratchInfoClient: nil.
mainColumn addMorphBack: (Morph new extent: 5 @ 9;
color: Color transparent);
addMorphBack: newTitleBin.
fileInfoColumn addMorphBack: buttonRow.
self addMorphBack: shortcutColumn;
addMorphBack: mainColumn;
addMorphBack: fileInfoColumn
I think that it was the exclamation points. Do I just take out the exclamation points?
EDIT:
http://i46.tinypic.com/29cudk6.pngWeird, that didn't happen to me...
Edit:
continuing with my old question:ScratchReallyROCKS wrote:
How are the patches encoded? Would you be able to make them in a normal text editor and change the extension to .patch?
Would we be able to make our own patches?
.CS files (What the .patch files are when they start out) are just C# (C-sharp) code files, which can be made in any text-editor, so if you know how to code the patch, then you should be able to.
I don't think it would be C# files.
Offline
climber59 wrote:
Rapidshare is bad unless you have a paid account, Mediafire is working fine for me though so I wonder why it isn't for you.
Slash uses dropbox.
Offline
After installing the patch installer and both patches, I tested out the delete patch by putting "(22)/(3)" (just random numbers I thought of) in the first blank of "pick random () to ()" block, with 10 in the other. When I right-clicked on it and clicked "delete", it gives me a debug window with the title "Message not understood: argMorphToReplace:" and this as its contents:
ScratchScriptsMorph(Object)>>error: ScratchScriptsMorph(Object)>>doesNotUnderstand: ReporterBlockMorph(CommandBlockMorph)>>deleteMe ReporterBlockMorph(CommandBlockMorph)>>rightButtonMenu ReporterBlockMorph(BlockMorph)>>mouseDown: HandMorph>>handleMouseDown: HandMorph>>handleEvent: HandMorph>>processEvents [] in PasteUpMorph>>doOneCycleNow Array(SequenceableCollection)>>do:
And the "(22)/(3)" block is left there, and so is the pick random block, except now it looks like "pick random to (10)" (it's missing the first blank). Very weird.
Last edited by meowmeow55 (2010-06-21 11:53:13)
Offline
meowmeow55 wrote:
After installing the patch installer and both patches, I tested out the delete patch by putting "(22)/(3)" (just random numbers I thought of) in the first blank of "pick random () to ()" block, with 10 in the other. When I right-clicked on it and clicked "delete", it gives me a debug window with the title "Message not understood: argMorphToReplace:" and this as its contents:
Code:
ScratchScriptsMorph(Object)>>error: ScratchScriptsMorph(Object)>>doesNotUnderstand: ReporterBlockMorph(CommandBlockMorph)>>deleteMe ReporterBlockMorph(CommandBlockMorph)>>rightButtonMenu ReporterBlockMorph(BlockMorph)>>mouseDown: HandMorph>>handleMouseDown: HandMorph>>handleEvent: HandMorph>>processEvents [] in PasteUpMorph>>doOneCycleNow Array(SequenceableCollection)>>do:And the "(22)/(3)" block is left there, and so is the pick random block, except now it looks like "pick random to (10)" (it's missing the first blank). Very weird.
I got that error too, looks like it happens when you are trying to delete reporter blocks. If you re-drag them in the blocks palette, the error will not happen.
Offline
Billybob-Mario wrote:
climber59 wrote:
Rapidshare is bad unless you have a paid account, Mediafire is working fine for me though so I wonder why it isn't for you.
Slash uses dropbox.
dropbox isn't a file hosting site, you need a password to access the contents and you also need to install it.
Offline
sparks wrote:
Billybob-Mario wrote:
climber59 wrote:
Rapidshare is bad unless you have a paid account, Mediafire is working fine for me though so I wonder why it isn't for you.
Slash uses dropbox.
dropbox isn't a file hosting site, you need a password to access the contents and you also need to install it.
That isnt true, you can share file publicly and then they are put onto the web. where people can download it.

Offline
sparks wrote:
Billybob-Mario wrote:
climber59 wrote:
Rapidshare is bad unless you have a paid account, Mediafire is working fine for me though so I wonder why it isn't for you.
Slash uses dropbox.
dropbox isn't a file hosting site, you need a password to access the contents and you also need to install it.
Actualy, not true, one sec, let me get the link... http://dl.dropbox.com/u/6273449/Panther%201.0.msi thats the link to the panther installer, its in the dropbox public folder, you should have read the file there.
Offline
meowmeow55 wrote:
After installing the patch installer and both patches, I tested out the delete patch by putting "(22)/(3)" (just random numbers I thought of) in the first blank of "pick random () to ()" block, with 10 in the other. When I right-clicked on it and clicked "delete", it gives me a debug window with the title "Message not understood: argMorphToReplace:" and this as its contents:
Code:
ScratchScriptsMorph(Object)>>error: ScratchScriptsMorph(Object)>>doesNotUnderstand: ReporterBlockMorph(CommandBlockMorph)>>deleteMe ReporterBlockMorph(CommandBlockMorph)>>rightButtonMenu ReporterBlockMorph(BlockMorph)>>mouseDown: HandMorph>>handleMouseDown: HandMorph>>handleEvent: HandMorph>>processEvents [] in PasteUpMorph>>doOneCycleNow Array(SequenceableCollection)>>do:And the "(22)/(3)" block is left there, and so is the pick random block, except now it looks like "pick random to (10)" (it's missing the first blank). Very weird.
Change the values in 22/3 and they still affect the block.
Offline
Oh, yes, sorry, I accidentally made a coding error in the deletion of reporters; it was trying to replace the argument that it had taken the place of in its parent block (which doesn't exist). I will update the download in a few days. (or less)
Offline
How about making Jens' elements into a patch? I think it was Mathwhiz managed to export it as a change set file.
Last edited by markyparky56 (2010-06-22 12:58:41)
Offline
waveOSBeta wrote:
Jen's or Jens's?
![]()
![]()
Jens'
Offline
markyparky56 wrote:
How about making Jen's elements into a patch? I think it was Mathwhiz managed to export it as a change set file.
Offline
waveOSBeta wrote:
markyparky56 wrote:
How about making Jen's elements into a patch? I think it was Mathwhiz managed to export it as a change set file.
Yeah, I realized that.
Offline
When I try to install a patch, this comes up:
Yes, I did copy the entire patch installer.
Last edited by ThePCKid (2010-06-22 13:18:50)
Offline
ThePCKid wrote:
When I try to install a patch, this comes up:
http://i45.tinypic.com/30ihlcj.png
Yes, I did copy the entire patch installer.
Did you click "file it in"?
Offline
Why is everyone saying it doesn't work?? Just follow nXIII's instructions in the beginning and you'll have it. It worked fine for me.
EDIT: and since no one has said this yet, on a Mac you copy by pressing Command+C, paste with Command+V, and select all with Command+A.
Last edited by ScratchReallyROCKS (2010-06-22 15:12:15)
Offline
ScratchReallyROCKS wrote:
Why is everyone saying it doesn't work?? Just follow nXIII's instructions in the beginning and you'll have it. It worked fine for me.
EDIT: and since no one has said this yet, on a Mac you copy by pressing Command+C, paste with Command+V, and select all with Command+A.
Thank you!
I'm not sure why it doesn't work for some people ... I might ask the Scratch Team if I can give out an image which has hosting enabled but has no changes except for the patcher.
Offline