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

#226 2012-01-06 20:43:04

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

Re: Chat.PY and Other Features

midnightleopard wrote:

Magnie wrote:

I would have been able to make the script myself (just some quick learning on urllib), but I didn't know the api url for it (http://scratch.mit.edu/api/authenticateuser).

Thanks again for posting it.  smile

You could encode it using an md5 module.

What do you mean? The current passwords are hashed with sha512 which is way better than MD5 from what I've heard. But that still doesn't make any difference since it would have to be hashed client side, but everything is being don't client side right now.

Offline

 

#227 2012-01-07 03:30:11

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Chat.PY and Other Features

midnightleopard wrote:

It doesn't work if you have symbols in your password, but I am working on that.
If someone has symbols in their password, a work around would be entering the RFC 3986 code (like %26 for a & sign).
For example, you could enter cookies%26cream instead of the password cookies&cream

Or just change the password to something with just letters and numbers.

I understand Magnie doesn't want to have this anyhow, but in future you could try urllib.urlencode:

Code:

>>> urllib.urlencode({'username': "blob&cheese's", 'password': "12,36b-"})
'username=blob%26cheese%27s&password=12%2C36b-'

Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#228 2012-01-07 15:25:30

coolcatstudios
Scratcher
Registered: 2011-01-17
Posts: 42

Re: Chat.PY and Other Features

i love this! i support this awesome thing!


http://coolcatstudios.weebly.com/uploads/6/9/6/6/6966054/2991310_orig.jpg

Offline

 

#229 2012-01-07 17:43:34

ElectricSparx
Scratcher
Registered: 2008-02-16
Posts: 100+

Re: Chat.PY and Other Features

ohaiderstudios wrote:

ElectricSparx wrote:

Magnie wrote:


Why can't we ask about age and gender? Those seem like perfectly ok things to ask.

This rule was made because we got reports from people who did not feel comfortable giving that information to total strangers, that said strangers were soliciting said information from them on said chat.

Oh.


Lead Developer for Scratch Adventure

Offline

 

#230 2012-01-07 18:39:14

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

Re: Chat.PY and Other Features

blob8108 wrote:

I understand Magnie doesn't want to have this anyhow, but in future you could try urllib.urlencode:

Aha, I knew there was a way to do it using that module. Well, anyway, I think Magnie is missing out on a really cool feature. My plan is to make a python program you can run that allows scratch to interact with the website. My original plan was to write an extension in C++ and then use the squeak FFI to make a mod of scratch which communicates with the extension, but I don't know much about squeak, so python it is.


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

Offline

 

#231 2012-01-07 20:16:06

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Chat.PY and Other Features

Awesome! There are tons of programming geniuses on Scratch! (e.g. Mr. Antidoteinventor, ZeroLuck, etc. sorry if i forgot you, I only wanted to list 2)

Offline

 

#232 2012-01-07 20:45:36

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

Re: Chat.PY and Other Features

kayybee wrote:

Awesome! There are tons of programming geniuses on Scratch! (e.g. Mr. Antidoteinventor, ZeroLuck, etc. sorry if i forgot you, I only wanted to list 2)

Hey! Antidote is a really simple program! It doesn't take a genius to make that!
No offense rockwood101, I'm sure you're a cunning programmer, it takes one to come up with something like antidote.

Last edited by midnightleopard (2012-01-07 20:46:28)


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

Offline

 

#233 2012-01-07 21:19:40

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

Re: Chat.PY and Other Features

midnightleopard wrote:

blob8108 wrote:

I understand Magnie doesn't want to have this anyhow, but in future you could try urllib.urlencode:

Well, anyway, I think Magnie is missing out on a really cool feature.

I've already said because I don't want to deal with your passwords. The Scratch Team would want to have access to the code, and you guys would want reassurance that I don't store your passwords to your Scratch accounts. It's just good courtesy to not ask for people's passwords.

Offline

 

#234 2012-01-08 04:30:08

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Chat.PY and Other Features

Magnie wrote:

midnightleopard wrote:

blob8108 wrote:

I understand Magnie doesn't want to have this anyhow, but in future you could try urllib.urlencode:

Well, anyway, I think Magnie is missing out on a really cool feature.

I've already said because I don't want to deal with your passwords. The Scratch Team would want to have access to the code, and you guys would want reassurance that I don't store your passwords to your Scratch accounts. It's just good courtesy to not ask for people's passwords.

Sorry — I was just pointing out how it could be done, in case anyone wanted to use it in future; I understand you don't want to use it on this. I didn't mean to be annoying  smile


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#235 2012-01-08 10:31:38

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

Re: Chat.PY and Other Features

Magnie wrote:

midnightleopard wrote:

blob8108 wrote:

I understand Magnie doesn't want to have this anyhow, but in future you could try urllib.urlencode:

Well, anyway, I think Magnie is missing out on a really cool feature.

I've already said because I don't want to deal with your passwords. The Scratch Team would want to have access to the code, and you guys would want reassurance that I don't store your passwords to your Scratch accounts. It's just good courtesy to not ask for people's passwords.

I'm glad you don't ask for passwords. That was the main reason I didn't use the panther chat program that was popular awhile ago. (No offense, Panther Chat people. I'm sure it's a great program. As Lightnin has said before, I'm just being "respectfully skeptical".)


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

Offline

 

#236 2012-01-08 11:56:52

Daroach1
Scratcher
Registered: 2011-09-11
Posts: 1000+

Re: Chat.PY and Other Features

Hey Magnie, I was playing around and made a new skin if you want to put it in the project for anyone to use :3
The skin is here.


http://i47.tinypic.com/v83mhl.png

Offline

 

#237 2012-01-08 13:59:11

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

Re: Chat.PY and Other Features

gotcha. I still think it would be cool though.


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

Offline

 

#238 2012-01-08 14:01:23

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

Re: Chat.PY and Other Features

Daroach1 wrote:

Hey Magnie, I was playing around and made a new skin if you want to put it in the project for anyone to use :3
The skin is here.

Awesomeness  smile


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

Offline

 

#239 2012-01-08 14:43:41

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

Re: Chat.PY and Other Features

anyone on?


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

Offline

 

#240 2012-01-09 22:59:19

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

Re: Chat.PY and Other Features

I was on the chat a few hours ago, and I was testing my autopilot. It wasn't working, so I apologize if the server logs got wrecked. I don't think they did, though.

Last edited by zippynk (2012-01-09 22:59:36)


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

Offline

 

#241 2012-01-09 23:10:21

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

Re: Chat.PY and Other Features

zippynk wrote:

I was on the chat a few hours ago, and I was testing my autopilot. It wasn't working, so I apologize if the server logs got wrecked. I don't think they did, though.

Haha, no worries. Logs are just supposed to be logs, logging what's happening on the server.  smile

Offline

 

#242 2012-01-10 21:28:01

Epicness123
Scratcher
Registered: 2011-11-12
Posts: 100+

Re: Chat.PY and Other Features

I dont get it >_<
I trie to get up-and online!!!
It justs says as soon as i  get in
Error.
It always says that!!!
I once got in But the meassages were blank!


I am Epicness123,and I rock!

Offline

 

#243 2012-01-10 22:26:33

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

Re: Chat.PY and Other Features

Epicness123 wrote:

I dont get it >_<
I trie to get up-and online!!!
It justs says as soon as i  get in
Error.
It always says that!!!
I once got in But the meassages were blank!

Yeah, I just realized the server had been turned off. It's back up now!  smile

Last edited by Magnie (2012-01-10 22:26:49)

Offline

 

#244 2012-01-11 20:44:49

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Chat.PY and Other Features

Sorry I'm not able to be on much, Magnie, but I've been really busy with school.  hmm


Fork Clamor on GitHub!

Offline

 

#245 2012-01-11 20:58:23

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

Re: Chat.PY and Other Features

ohaiderstudios wrote:

Sorry I'm not able to be on much, Magnie, but I've been really busy with school.  hmm

I understand. No worries, not many people are on anyways, gives me more time to do my school as well.  smile

Offline

 

#246 2012-01-13 20:41:20

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

Re: Chat.PY and Other Features

Are people still on often? I hope Chat.PY doesn't go down.

Last edited by zippynk (2012-01-13 20:41:27)


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

Offline

 

#247 2012-01-13 20:52:15

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Chat.PY and Other Features

I'll go on now, if you want me to, zippynk.


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#248 2012-01-13 21:20:15

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

Re: Chat.PY and Other Features

I'm on now.  smile

Offline

 

#249 2012-01-13 22:07:20

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: Chat.PY and Other Features

Was I banned?

Offline

 

#250 2012-01-13 22:11:25

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

Re: Chat.PY and Other Features

ImagineIt wrote:

Was I banned?

No. I haven't done anything.

Offline

 

Board footer