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

#1 2010-08-11 09:49:06

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Failed Mesh

There is one little problem on my copy of Scratch: It won't add the mesh commands!

I go to the browser, go to

Code:

Scratch-U1-Panes >> ScratchFrameMorph >> menu/button actions >> addServerCommandsTo:

And changed

Code:

addServerCommandsTo: menu
    "Add Scratch server commands to the given menu."

    | disable endCmd |
    disable _ true.  "make this true to disable this feature"
    disable ifTrue: [^ self].

    menu addLine.
    (workPane scratchServer notNil and:
     [workPane scratchServer sessionInProgress])
        ifTrue: [
            menu add: 'Show IP Address' action: #showNetworkAddress.
            endCmd _ workPane scratchServer isHosting
                ifTrue: ['Stop Hosting Mesh']
                ifFalse: ['Leave Mesh'].
            menu add: endCmd action: #exitScratchSession]
        ifFalse: [
            menu add: 'Host Mesh' action: #startHostingScratchSession.
            menu add: 'Join Mesh' action: #joinScratchSession].

to:

Code:

addServerCommandsTo: menu
    "Add Scratch server commands to the given menu."

    | disable endCmd |
    disable _ false.  "make this true to disable this feature"
    disable ifTrue: [^ self].

    menu addLine.
    (workPane scratchServer notNil and:
     [workPane scratchServer sessionInProgress])
        ifTrue: [
            menu add: 'Show IP Address' action: #showNetworkAddress.
            endCmd _ workPane scratchServer isHosting
                ifTrue: ['Stop Hosting Mesh']
                ifFalse: ['Leave Mesh'].
            menu add: endCmd action: #exitScratchSession]
        ifFalse: [
            menu add: 'Host Mesh' action: #startHostingScratchSession.
            menu add: 'Join Mesh' action: #joinScratchSession].

Help?!  sad   smile


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#2 2010-08-11 09:55:01

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Failed Mesh

Even though this has to do with troubleshooting, it still should go in Advanced Topics, because there are more people who can help you there.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#3 2010-08-11 09:58:29

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Failed Mesh

ScratchReallyROCKS wrote:

Even though this has to do with troubleshooting, it still should go in Advanced Topics, because there are more people who can help you there.

Yes, I was debating which one it should go in... you do have a point, though...  hmm


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#4 2010-08-11 10:05:13

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Failed Mesh

I'll move this to AT for you  wink


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#5 2010-08-11 10:07:37

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Failed Mesh

Wolfie1996 wrote:

I'll move this to AT for you  wink

Thanks!  wink


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#6 2010-08-11 13:25:41

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Failed Mesh

Did you right click and accept?

Then shift click share?


You can now reach me on Twitter @johnnydean1_

Offline

 

#7 2010-08-11 13:31:26

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Failed Mesh

johnnydean1 wrote:

Did you right click and accept?

Then shift click share?

Yes, I saved and shift clicked share.  neutral


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#8 2010-08-11 13:33:03

Jwosty
Scratcher
Registered: 2009-12-19
Posts: 500+

Re: Failed Mesh

Hmm... I tried it again for the billionth time, and it worked! That was odd...  hmm

Last edited by Jwosty (2010-08-11 13:33:21)


http://i39.tinypic.com/18ert5.png Google it.  smile

Offline

 

#9 2011-06-11 04:02:26

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

Re: Failed Mesh

Jwosty wrote:

There is one little problem on my copy of Scratch: It won't add the mesh commands!

I go to the browser, go to

Code:

Scratch-U1-Panes >> ScratchFrameMorph >> menu/button actions >> addServerCommandsTo:

And changed

Code:

addServerCommandsTo: menu
    "Add Scratch server commands to the given menu."

    | disable endCmd |
    disable _ true.  "make this true to disable this feature"
    disable ifTrue: [^ self].

    menu addLine.
    (workPane scratchServer notNil and:
     [workPane scratchServer sessionInProgress])
        ifTrue: [
            menu add: 'Show IP Address' action: #showNetworkAddress.
            endCmd _ workPane scratchServer isHosting
                ifTrue: ['Stop Hosting Mesh']
                ifFalse: ['Leave Mesh'].
            menu add: endCmd action: #exitScratchSession]
        ifFalse: [
            menu add: 'Host Mesh' action: #startHostingScratchSession.
            menu add: 'Join Mesh' action: #joinScratchSession].

to:

Code:

addServerCommandsTo: menu
    "Add Scratch server commands to the given menu."

    | disable endCmd |
    disable _ false.  "make this true to disable this feature"
    disable ifTrue: [^ self].

    menu addLine.
    (workPane scratchServer notNil and:
     [workPane scratchServer sessionInProgress])
        ifTrue: [
            menu add: 'Show IP Address' action: #showNetworkAddress.
            endCmd _ workPane scratchServer isHosting
                ifTrue: ['Stop Hosting Mesh']
                ifFalse: ['Leave Mesh'].
            menu add: endCmd action: #exitScratchSession]
        ifFalse: [
            menu add: 'Host Mesh' action: #startHostingScratchSession.
            menu add: 'Join Mesh' action: #joinScratchSession].

Help?!  sad   smile

That's funny - On mine the code there is completely different! Try re-downloading scratch!


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

Offline

 

#10 2011-06-11 13:53:47

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

Re: Failed Mesh

WindowsExplorer wrote:

Jwosty wrote:

There is one little problem on my copy of Scratch: It won't add the mesh commands!

I go to the browser, go to

Code:

Scratch-U1-Panes >> ScratchFrameMorph >> menu/button actions >> addServerCommandsTo:

And changed

Code:

addServerCommandsTo: menu
    "Add Scratch server commands to the given menu."

    | disable endCmd |
    disable _ true.  "make this true to disable this feature"
    disable ifTrue: [^ self].

    menu addLine.
    (workPane scratchServer notNil and:
     [workPane scratchServer sessionInProgress])
        ifTrue: [
            menu add: 'Show IP Address' action: #showNetworkAddress.
            endCmd _ workPane scratchServer isHosting
                ifTrue: ['Stop Hosting Mesh']
                ifFalse: ['Leave Mesh'].
            menu add: endCmd action: #exitScratchSession]
        ifFalse: [
            menu add: 'Host Mesh' action: #startHostingScratchSession.
            menu add: 'Join Mesh' action: #joinScratchSession].

to:

Code:

addServerCommandsTo: menu
    "Add Scratch server commands to the given menu."

    | disable endCmd |
    disable _ false.  "make this true to disable this feature"
    disable ifTrue: [^ self].

    menu addLine.
    (workPane scratchServer notNil and:
     [workPane scratchServer sessionInProgress])
        ifTrue: [
            menu add: 'Show IP Address' action: #showNetworkAddress.
            endCmd _ workPane scratchServer isHosting
                ifTrue: ['Stop Hosting Mesh']
                ifFalse: ['Leave Mesh'].
            menu add: endCmd action: #exitScratchSession]
        ifFalse: [
            menu add: 'Host Mesh' action: #startHostingScratchSession.
            menu add: 'Join Mesh' action: #joinScratchSession].

Help?!  sad   smile

That's funny - On mine the code there is completely different! Try re-downloading scratch!

the one they have is from the special source code download.


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-06-11 13:55:04

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

Re: Failed Mesh

Here, just replace it with this:

Code:

addServerCommandsTo: t1 
    | t2 t3 |
    t2 _ false.
    t2 ifTrue: [^ self].
    t1 addLine.
    (workPane scratchServer notNil and: [workPane scratchServer sessionInProgress])
        ifTrue: 
            [t1 add: 'Show IP Address' action: #showNetworkAddress.
            t3 _ workPane scratchServer isHosting
                        ifTrue: ['Stop Hosting Mesh']
                        ifFalse: ['Leave Mesh'].
            t1 add: t3 action: #exitScratchSession]
        ifFalse: 
            [t1 add: 'Host Mesh' action: #startHostingScratchSession.
            t1 add: 'Join Mesh' action: #joinScratchSession]

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

 

#12 2011-06-11 13:58:49

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Failed Mesh

Um, anyone noticed the dates on this thread and this post?

Jwosty wrote:

Hmm... I tried it again for the billionth time, and it worked! That was odd...  hmm

Reporting for closing.


Yawn.

Offline

 

#13 2011-06-11 14:00:59

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

Re: Failed Mesh

I didn't
last post?


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

 

Board footer