Discuss Scratch

Fuzzbutt
Scratcher
500+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

A problem I see a lot with multiplayer games is that New Scratchers can't play them. It would be nice if the games could have a block that tells what your rank is so that the game could tell you ahead of time and maybe even direct you to a single-player version on the same project. So you would be able to have a sign tell you what you can and/or cannot do in a game. It would be a lot like the username block.
(Scratcher Type)

Last edited by Kaj (Today 21:31:23)
Watch the trailer for The Mutant and follow it's official forum. The Mutant ~ Coming soon to scratch.
PrincessPanda_test_
Scratcher
1000+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

No support

when gf clicked
if (rank is [Scratch Team v] ::sensing)
play sound [happy music v]
say [YOU'RE IN THE ST!]
else
say [You're dumb! >:(]

stickfiregames
Scratcher
1000+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

No support. There isn't really any reason to detect if someone is in the ST, and if you wanted to use it for cloud variables a
<connected to cloud? :: sensing>
block would be better because it would also detect Scratchers with bad connections.










If you can read this, my signature cubeupload has been eaten by an evil kumquat!




or you just used Inspect Element, you hacker

;
hppavilion
Scratcher
100+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

It's workaroundable, but I believe that this is a block that should be in despite workarounds to make things easier for people.
when green flag clicked
if <(user rank ::sensing) = [Scratcher]> then
...
else
if <(user rank ::sensing) = [Scratch Team]> then
say [Scratch Team! Y U NO LET NEW SCRATCHER AFFECT CLOUD DATA WHILE USING OTHERS' PROJECTS?] for (2) secs
...
else
say [Sorry, but this project uses cloud data and needs you to be a Scratcher for it to work :(]
end

We can still do this (without the ST part) with a complex and buggy script (can't handle many people without giving false positives) that wastes our cloud data limit. But I think we shouldn't have to use that hack just to inform people that they need to be a full scratcher for our project to work.
little_kitten
Scratcher
500+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

Workarounds:
if <(letter(length of (username)) of (username)) = [*]>
set [rank v] to [scratchteam]
Now to detect for new scratchers, use cloud data. They can't access it.

The above post was likely clear sass. 10 outta 10.
Unless it wasn't. Which happens from time to time. Sadly.
stickfiregames
Scratcher
1000+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

little_kitten wrote:

Workarounds:
if <(letter(length of (username)) of (username)) = [*]>
set [rank v] to [scratchteam]
Now to detect for new scratchers, use cloud data. They can't access it.
ST usernames don't actually end with * though, it just displays it after their names on some parts of the website.

Last edited by stickfiregames (Feb. 14, 2015 22:16:30)











If you can read this, my signature cubeupload has been eaten by an evil kumquat!




or you just used Inspect Element, you hacker

;
Fuzzbutt
Scratcher
500+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

Thanks for all of suggestions!

Last edited by Kaj (Today 21:31:23)
Watch the trailer for The Mutant and follow it's official forum. The Mutant ~ Coming soon to scratch.
Fuzzbutt
Scratcher
500+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

stickfiregames wrote:

No support. There isn't really any reason to detect if someone is in the ST, and if you wanted to use it for cloud variables a
<connected to cloud? :: sensing>
block would be better because it would also detect Scratchers with bad connections.
And I only put ST in there because you can't be a Scratcher (big S) and a Scratch Team member.

Last edited by Kaj (Today 21:31:23)
Watch the trailer for The Mutant and follow it's official forum. The Mutant ~ Coming soon to scratch.
cwkethan1508
Scratcher
100+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

Semi support because someone can do this:

when green flag clicked
if <not <(scratchers rank) = [Scratcher ]>> then
stop [all v]
end
That will prevent New Scratchers from playing a game even if it doesn't have cloud data
dude341
Scratcher
1000+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

Support!
(rank is [New Scratcher v] ::sensing)
(rank is [Scratcher v] ::sensing)
(rank is [Scratch Team v] ::sensing)
(rank is [Community Moderator v] ::sensing)
(rank is [Retired Community Moderator v] ::sensing)
player rank ::sensing reporter

Last edited by dude341 (April 20, 2015 07:21:35)


Placeholder
dude341
Scratcher
1000+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

Oh and I know how to make the projects be nice! Any project with the block in will have the scripts sent to the Scratch Team for checking. Maybe they could have a new rank: Rank Blocks Moderators. So the block reports gets sent to them.

Placeholder
MewTheSmasher
Scratcher
500+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

Support!
Fuzzbutt
Scratcher
500+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

MewTheSmasher wrote:

Support!
Thanks!

Last edited by Kaj (Today 21:31:23)
Watch the trailer for The Mutant and follow it's official forum. The Mutant ~ Coming soon to scratch.
EvilCookie36
Scratcher
100+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

(cloud var is 0 before script ran)
set [cloud var v] to [1 ]
if <(cloud var) = [1]> then

set [status v] to [ scratcher ]
end
if <(letter (length of (username)) of (username) = [*]> then

set [status v] to [ scratch team ]
end

EvilCookie36 apologises for any mean/rude comments that may have been said above. He's a jerk.
stickfiregames
Scratcher
1000+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

EvilCookie36 wrote:

(cloud var is 0 before script ran)
set [cloud var v] to [1 ]
if <(cloud var) = [1]> then

set [status v] to [ scratcher ]
end
if <(letter (length of (username)) of (username) = [*]> then

set [status v] to [ scratch team ]
end
AFAIK those don't work. The cloud variable will still change when the user is a New Scratcher, but it will be treated as a regular variable and won't update on the server. Also, ST usernames don't actually end in *, it just shows them like that on the website.










If you can read this, my signature cubeupload has been eaten by an evil kumquat!




or you just used Inspect Element, you hacker

;
Fuzzbutt
Scratcher
500+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

stickfiregames wrote:

EvilCookie36 wrote:

(cloud var is 0 before script ran)
set [cloud var v] to [1 ]
if <(cloud var) = [1]> then

set [status v] to [ scratcher ]
end
if <(letter (length of (username)) of (username) = [*]> then

set [status v] to [ scratch team ]
end
AFAIK those don't work. The cloud variable will still change when the user is a New Scratcher, but it will be treated as a regular variable and won't update on the server. Also, ST usernames don't actually end in *, it just shows them like that on the website.
Thanks for summing that up.

Last edited by Kaj (Today 21:31:23)
Watch the trailer for The Mutant and follow it's official forum. The Mutant ~ Coming soon to scratch.
awesome_popcorn
Scratcher
25 posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

say [You guys are all having good points]
play sound [ We love good points!!!]

Life is like a bicycle, to keep your balance you have to move forward
DanloTest
Scratcher
30 posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

There is already a simple script you can use to determine whether the person using a project is a New Scratcher or not. DadOfMrLog has a project that does exactly that: https://scratch.mit.edu/projects/18593258/

–Danlo
DogQueenGirl
Scratcher
100+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

No support.

Why:

DanloTest wrote:

There is already a simple script you can use to determine whether the person using a project is a New Scratcher or not. DadOfMrLog has a project that does exactly that: https://scratch.mit.edu/projects/18593258/

–Danlo
Critic2100
Scratcher
1000+ posts

Block that tells scratcher's rank. (New Scratcher, Scratcher, Scratch Team)

PrincessPanda_test_ wrote:

No support

when gf clicked
if (rank is [Scratch Team v] ::sensing)
play sound [happy music v]
say [YOU'RE IN THE ST!]
else
say [You're dumb! >:(]
No support for the reason above.


Critic2100 ~ kateskipper~ SaveOurPlanet ~ -Writer- ~ Donate Internetz Please
The rest of this signature is in a ;s stomach.

Powered by DjangoBB