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

#301 2012-01-28 20:20:55

cocolover76
Scratcher
Registered: 2011-10-09
Posts: 500+

Re: Chat.PY and Other Features

Magnie wrote:

cocolover76 wrote:

Stop IP-banning me. It's getting annoying. I didn't break any rules.

I never IP banned you. In fact, I've never IP banned anyone yet.

yikes
I HATE WINDOWS FIREWALL.


http://i.imgur.com/HfEPZ.gifhttp://i.imgur.com/pvKb6.png

Offline

 

#302 2012-01-28 21:11:48

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: Chat.PY and Other Features

disable it.


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#303 2012-01-29 08:04:42

spud2451
Scratcher
Registered: 2010-05-01
Posts: 100+

Re: Chat.PY and Other Features

hey i want to make a private chat for my friends and i. do you think i could have the server file. pleeeeeeeaaaaaaase  wink

Last edited by spud2451 (2012-01-29 09:06:14)


http://www.xenopages.comze.com/upload/rippleos.gif

Offline

 

#304 2012-01-29 10:20:01

Lellowsfuzz
Scratcher
Registered: 2009-04-17
Posts: 500+

Re: Chat.PY and Other Features

This is so cool! I'm online right now  big_smile

Offline

 

#305 2012-01-29 10:29:38

cocolover76
Scratcher
Registered: 2011-10-09
Posts: 500+

Re: Chat.PY and Other Features

midnightleopard wrote:

disable it.

How?
Control Panel doesn't have it.
http://i.imgur.com/WMxUg.png
...oh
...nope, it already had it disabled for Scratch
http://i.imgur.com/jGdqD.png

Last edited by cocolover76 (2012-01-29 10:31:57)


http://i.imgur.com/HfEPZ.gifhttp://i.imgur.com/pvKb6.png

Offline

 

#306 2012-01-29 11:02:30

christian2000
Scratcher
Registered: 2010-11-01
Posts: 100+

Re: Chat.PY and Other Features

midnightleopard wrote:

disable it.

Well, some people, [like me] have parental controls restricting what you can and cant disable. Sometimes it might ask for an administrator password.


blerp......
http://obscureinternet.com/wp-content/uploads/Fail-at-Life-Funny-Cards.png

Offline

 

#307 2012-01-29 11:21:38

cocolover76
Scratcher
Registered: 2011-10-09
Posts: 500+

Re: Chat.PY and Other Features

Wait.... Magnie. Why did you IP mute me?


http://i.imgur.com/HfEPZ.gifhttp://i.imgur.com/pvKb6.png

Offline

 

#308 2012-01-29 11:23:57

zippynk
Scratcher
Registered: 2011-07-23
Posts: 500+

Re: Chat.PY and Other Features

cocolover76 wrote:

Wait.... Magnie. Why did you IP mute me?

Oh, so that's why you just joined and left!

Oh, I know... Try changing your username.

Last edited by zippynk (2012-01-29 11:25:49)


https://dl.dropbox.com/u/60598636/trifocal_interlude_soundcloud_button.png

Offline

 

#309 2012-01-30 03:41:35

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Chat.PY and Other Features

spud2451 wrote:

hey i want to make a private chat for my friends and i. do you think i could have the server file. pleeeeeeeaaaaaaase  wink

The Python Server source is here: http://scratch.mit.edu/forums/viewtopic … 9#p1101379

It's a little more complicated than you think to set a private one up though.  hmm

Offline

 

#310 2012-02-06 00:46:34

slayerrobe7
Scratcher
Registered: 2011-06-24
Posts: 500+

Re: Chat.PY and Other Features

so could i (with you permission) use your mirror to do things other than chat or would i need to make my own


!!!When it comes to Scratch2.0 I am totally like freaking out!!!

Offline

 

#311 2012-02-06 05:50:29

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Chat.PY and Other Features

slayerrobe7 wrote:

so could i (with you permission) use your mirror to do things other than chat or would i need to make my own

You'd have to ask MathWizz about the mirror, but I don't think he'd mind (it was coded to be used for any server and port).

The server that I have created was also meant to be used for stuff other than chatting as well (if you look down the first post, it gives a small guide on what you can do with it).

Offline

 

#312 2012-02-07 14:36:07

zippynk
Scratcher
Registered: 2011-07-23
Posts: 500+

Re: Chat.PY and Other Features

Anyone want to chat? I'm online (unless I'm not).


https://dl.dropbox.com/u/60598636/trifocal_interlude_soundcloud_button.png

Offline

 

#313 2012-02-07 15:19:24

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Chat.PY and Other Features

slayerrobe7 wrote:

so could i (with you permission) use your mirror to do things other than chat or would i need to make my own

Go right ahead.  smile


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#314 2012-02-07 19:00:18

Codebreaker
Scratcher
Registered: 2011-10-03
Posts: 100+

Re: Chat.PY and Other Features

I'm online!


Latest project: Pixelation/Upcoming project(s): M.A.Z.E Runner

Offline

 

#315 2012-02-07 19:03:26

zippynk
Scratcher
Registered: 2011-07-23
Posts: 500+

Re: Chat.PY and Other Features

Codebreaker wrote:

I'm online!

Going online...


https://dl.dropbox.com/u/60598636/trifocal_interlude_soundcloud_button.png

Offline

 

#316 2012-02-11 07:30:21

mm442
Scratcher
Registered: 2012-02-03
Posts: 2

Re: Chat.PY and Other Features

just testing

when gf clicked
repeat until <(timer) > [10]>
  go to [mouse-pointer v]
end
think [Scripts in your posts!] for (3) secs                                 

Offline

 

#317 2012-02-11 07:55:24

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Chat.PY and Other Features

Did you get an answer for your question in the server code?

Code:

def sendScratchCommand(cmd): # I was never sure what this did, but it's required.
    n = len(cmd)
    a = array('c')
    a.append(chr((n >> 24) & 0xFF))
    a.append(chr((n >> 16) & 0xFF))
    a.append(chr((n >>  8) & 0xFF))
    a.append(chr(n & 0xFF))
    return (a.tostring() + cmd)

I'd like an explanation for lines 4 to 7 (the >> command?).

PS: What does the "mirror" do?

Last edited by Hardmath123 (2012-02-11 07:57:03)


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#318 2012-02-11 08:01:33

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Chat.PY and Other Features

Hardmath123 wrote:

Did you get an answer for your question in the server code?

Code:

def sendScratchCommand(cmd): # I was never sure what this did, but it's required.
    n = len(cmd)
    a = array('c')
    a.append(chr((n >> 24) & 0xFF))
    a.append(chr((n >> 16) & 0xFF))
    a.append(chr((n >>  8) & 0xFF))
    a.append(chr(n & 0xFF))
    return (a.tostring() + cmd)

I'd like an explanation for lines 4 to 7 (the >> command?).

PS: What does the "mirror" do?

this encodes the length to four bytes


http://i.imgur.com/1QqnHxQ.png

Offline

 

#319 2012-02-11 08:34:17

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Chat.PY and Other Features

TRocket wrote:

Hardmath123 wrote:

Did you get an answer for your question in the server code?

Code:

def sendScratchCommand(cmd): # I was never sure what this did, but it's required.
    n = len(cmd)
    a = array('c')
    a.append(chr((n >> 24) & 0xFF))
    a.append(chr((n >> 16) & 0xFF))
    a.append(chr((n >>  8) & 0xFF))
    a.append(chr(n & 0xFF))
    return (a.tostring() + cmd)

I'd like an explanation for lines 4 to 7 (the >> command?).

PS: What does the "mirror" do?

this encodes the length to four bytes

I know that, I want a detailed explanation (Why do we use the numbers 24, 16, 8? What does >> do? What does & 0xFF do?)


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#320 2012-02-11 09:08:20

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

Offline

 

#321 2012-02-11 09:10:43

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Chat.PY and Other Features

rdococ wrote:

I'm on it now, but I'm alone... anyone want to come and chat on this?

Sure.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#322 2012-02-15 07:31:55

DigiTechs
Scratcher
Registered: 2011-04-30
Posts: 500+

Re: Chat.PY and Other Features

midnightleopard wrote:

disable it.

DON'T DISABLE WINDOWS FIREWALL! That lets all of the viruses in! If you want to solve this - allow Scratch THROUGH the firewall - that way the local scratch port on your PC only opens when the program is running  smile
EDIT: Also, Magnie - have you seen anything from me? (my IP is masked so I can't tell via IP)

Last edited by DigiTechs (2012-02-15 07:37:22)


I'm back.
Maybe.

Offline

 

#323 2012-02-15 08:06:46

DigiTechs
Scratcher
Registered: 2011-04-30
Posts: 500+

Re: Chat.PY and Other Features

Errrrr, sorry Magnie - I accidently "cloned" myself in the chat via a bug - Could you fix this?


I'm back.
Maybe.

Offline

 

#324 2012-02-15 08:49:48

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

Re: Chat.PY and Other Features

Now I'm online.

Hope to see you there.
By the way, does this work over the internet? I have a Wireless connection, and it might not work because it's Mesh...

Actually, I saw DigiTechs leave, so there IS some sort of connection.

Last edited by rdococ (2012-02-15 08:55:08)

Offline

 

Board footer