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.
I HATE WINDOWS FIREWALL.
Offline
midnightleopard wrote:
disable it.
How?
Control Panel doesn't have it.
...oh
...nope, it already had it disabled for Scratch
Last edited by cocolover76 (2012-01-29 10:31:57)
Offline
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.
Offline
Wait.... Magnie. Why did you IP mute me?
Offline
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
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.
Offline
so could i (with you permission) use your mirror to do things other than chat or would i need to make my own
Offline
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
I'm online!
Offline
Did you get an answer for your question in the server 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)
Offline
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
Offline
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?)
Offline
I'm on it now, but I'm alone... anyone want to come and chat on this?
Offline
rdococ wrote:
I'm on it now, but I'm alone... anyone want to come and chat on this?
Sure.
Offline
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
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)
Offline
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
clank23 keeps joining and leaving.
Offline