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

#1 2012-08-10 16:19:09

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Scratch 2 User ID

What is the

(user id)
block in 2.0?

Last edited by Firedrake969 (2012-08-10 16:19:18)


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#2 2012-08-10 16:23:35

benjamin2
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Scratch 2 User ID

In each project, each viewer gets an id. It is the same each time they view the project. It was what the scratch team decided on instead of the username block.


http://i.imgur.com/gp6tZ.gif

Offline

 

#3 2012-08-10 16:28:58

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: Scratch 2 User ID

Its like a (username) reporter except the username is encrypted so people dont abuse it


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#4 2012-08-10 16:34:13

thebriculator
Scratcher
Registered: 2011-07-11
Posts: 500+

Re: Scratch 2 User ID

I didn't know there was this block in 2.0! that's so cool! Now we can make valid highscores and chatrooms.


.     http://tiny.cc/2cwgpw    http://tiny.cc/viwgpw    http://tiny.cc/iwwgpw

Offline

 

#5 2012-08-10 16:57:34

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: Scratch 2 User ID

thebriculator wrote:

I didn't know there was this block in 2.0! that's so cool! Now we can make valid highscores and chatrooms.

But the username won't be accessible.  hmm


http://i50.tinypic.com/312u714.jpg

Offline

 

#6 2012-08-10 17:12:02

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Scratch 2 User ID

BirdByte wrote:

thebriculator wrote:

I didn't know there was this block in 2.0! that's so cool! Now we can make valid highscores and chatrooms.

But the username won't be accessible.  hmm

unless the ID is determined by algorithm from the username which is unlikely. But I don't see how it could be abused badly.


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#7 2012-08-10 17:16:56

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: Scratch 2 User ID

thebriculator wrote:

I didn't know there was this block in 2.0! that's so cool! Now we can make valid highscores and chatrooms.

Not really, unless you want the highscores to look like

1st place: gj04u40f
2nd place: r34rg9r

or whatever the user ID looks like.


Why

Offline

 

#8 2012-08-10 17:26:02

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: Scratch 2 User ID

RedRocker227 wrote:

thebriculator wrote:

I didn't know there was this block in 2.0! that's so cool! Now we can make valid highscores and chatrooms.

Not really, unless you want the highscores to look like

1st place: gj04u40f
2nd place: r34rg9r

or whatever the user ID looks like.

you could have each user create his or her own username within the project. for example when a new user is detected, it asks for a name, and that name is used instead of the hash


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#9 2012-08-10 22:18:35

thebriculator
Scratcher
Registered: 2011-07-11
Posts: 500+

Re: Scratch 2 User ID

exactly. and in the list, there is [username: score] for each user, and only once for each user


.     http://tiny.cc/2cwgpw    http://tiny.cc/viwgpw    http://tiny.cc/iwwgpw

Offline

 

#10 2012-08-10 23:00:43

ke1235
Scratcher
Registered: 2010-03-07
Posts: 56

Re: Scratch 2 User ID

benjamin2 wrote:

In each project, each viewer gets an id. It is the same each time they view the project. It was what the scratch team decided on instead of the username block.

if you open your user pic it will say some thing like this in the url:http://scratch.mit.edu/static/icons/buddy/278575_med.png?t=2012-08-08+11%3A29%3A41 (what is bold is the id)

Offline

 

#11 2012-08-10 23:04:05

thebriculator
Scratcher
Registered: 2011-07-11
Posts: 500+

Re: Scratch 2 User ID

or if you click "see more" on your friends list or look at all your comments you will also see your user ID


.     http://tiny.cc/2cwgpw    http://tiny.cc/viwgpw    http://tiny.cc/iwwgpw

Offline

 

#12 2012-08-11 05:32:38

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: Scratch 2 User ID

ke1235 wrote:

benjamin2 wrote:

In each project, each viewer gets an id. It is the same each time they view the project. It was what the scratch team decided on instead of the username block.

if you open your user pic it will say some thing like this in the url:http://scratch.mit.edu/static/icons/buddy/278575_med.png?t=2012-08-08+11%3A29%3A41 (what is bold is the id)

Something like that, but it won't be the same for each project.


http://i50.tinypic.com/312u714.jpg

Offline

 

#13 2012-08-11 07:57:03

benjamin2
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Scratch 2 User ID

User ID I believe works like:

The first user to view it gets 1.
The next gets 2, and so on.
If a user loads a project again, they have the same ID as last time.
If you are playing offline or are not logged in, the ID is 0.


http://i.imgur.com/gp6tZ.gif

Offline

 

#14 2012-08-11 07:58:15

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Scratch 2 User ID

ke1235 wrote:

benjamin2 wrote:

In each project, each viewer gets an id. It is the same each time they view the project. It was what the scratch team decided on instead of the username block.

if you open your user pic it will say some thing like this in the url:http://scratch.mit.edu/static/icons/buddy/278575_med.png?t=2012-08-08+11%3A29%3A41 (what is bold is the id)

The projects don't use that ID though, because it could be abused.
Every project will use different IDs for the same user!

Offline

 

#15 2012-08-11 16:48:28

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Scratch 2 User ID

Maybe there are random numbers generator in python...
They can easily store those numbers on the servers, it's about <100kb per VERY active users, when using 64 bit integers. (which are by far enough)
Anything else, like a secret algorithm, would be pretty privacy dangerous...

For chatrooms, you can hash the ids and store them with usernames, after validating that the user is really the user with a secret word or so.

Last edited by roijac (2012-08-11 16:52:11)

Offline

 

#16 2012-08-11 19:32:29

stevetheipad
Scratcher
Registered: 2011-08-06
Posts: 1000+

Re: Scratch 2 User ID

And it's a blue sensor block, not that anybody doubted that.  tongue

http://i.imgur.com/Lqq4d.png


http://i.imgur.com/0x8ia.jpg
gone

Offline

 

#17 2012-08-11 19:40:58

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: Scratch 2 User ID

I Want In...

yikes   wink


Get ready for domination of:  tongue

Offline

 

#18 2012-08-11 21:48:40

777w
Scratcher
Registered: 2009-02-10
Posts: 1000+

Re: Scratch 2 User ID

stevetheipad wrote:

And it's a blue sensor block, not that anybody doubted that.  tongue

http://i.imgur.com/Lqq4d.png

who exactly asked for a picture

Offline

 

#19 2012-08-11 22:18:22

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: Scratch 2 User ID

777w wrote:

stevetheipad wrote:

And it's a blue sensor block, not that anybody doubted that.  tongue

http://i.imgur.com/Lqq4d.png

who exactly asked for a picture

I wouldn't mind having one.


6418,

Offline

 

#20 2012-08-11 22:24:24

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

Re: Scratch 2 User ID

YAY! Turned Based RPG, here I come!

Offline

 

#21 2012-08-11 22:26:39

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: Scratch 2 User ID

I sure hope it's in the final build.


6418,

Offline

 

#22 2012-08-11 23:48:25

puppetadventurer
Scratcher
Registered: 2011-02-20
Posts: 1000+

Re: Scratch 2 User ID

ImagineIt wrote:

YAY! Turned Based RPG, here I come!

Related how..?


3

Offline

 

#23 2012-08-11 23:50:51

puppetadventurer
Scratcher
Registered: 2011-02-20
Posts: 1000+

Re: Scratch 2 User ID

stevetheipad wrote:

And it's a blue sensor block, not that anybody doubted that.  tongue

http://i.imgur.com/Lqq4d.png

Am I cool yet
http://i.imgur.com/4o3Q0.png

Last edited by puppetadventurer (2012-08-11 23:51:07)


3

Offline

 

#24 2012-08-12 07:45:10

777w
Scratcher
Registered: 2009-02-10
Posts: 1000+

Re: Scratch 2 User ID

puppetadventurer wrote:

stevetheipad wrote:

And it's a blue sensor block, not that anybody doubted that.  tongue

http://i.imgur.com/Lqq4d.png

Am I cool yet
http://i.imgur.com/4o3Q0.png

not as cool as me
http://img705.imageshack.us/img705/5718/cooleryo.png
wait whats "video [motion v] on [stage v] :O

Last edited by 777w (2012-08-12 07:45:27)

Offline

 

#25 2012-08-12 11:26:08

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Scratch 2 User ID

CheeseMunchy wrote:

I sure hope it's in the final build.

Not me!

I want a true User Name block.

I, honestly, see way less ways for abuse with it.

If anyone makes a project like: if (username) = (BoltBait) then be mean
everyone will be able to easily see it in the code and report the project. If, on the other hand, we have to prompt for a username to create a high score table, and someone enters a bad word, who gets in trouble when a game displays it?  And, how would something like that even get reported?

This is really disappointing.


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

Board footer