Discuss Scratch

han614698
Scratcher
1000+ posts

Country detectors

King of the Page

han614698 wrote:

support, although this may conflict with confidentiality rules.
I would like the block to be
country of ()::sensing reporter //You enter the username in the blank.
I think this offers a little more wiggle room.
You could have the project give a warning:
This project can detect your username and/or country. Sign out to hide your location or identity.
That limits things;
if <[country] = []> then//sorry i cant put a block in there correctly.
stop [all v]
end
This may or may not go along with this suggestion, but I would love to see a block:
signed in?::sensing boolean
The easy workaround for your block if we only have the top one:
country of ((username))::sensing reporter//(Outlined for easier viewing) 
Sorry this was long.
Regards
Bump

Last edited by han614698 (April 12, 2021 11:13:47)


<Scratch Wikian | Forum Helper | Almost to 6000 Posts! | Please be aware I may mistype things, my wrist is fractured>

Credit to -gge for the icons in my signature | I condensed all this code into five lines using [p] tags, idk why




46009361
Scratcher
1000+ posts

Country detectors

Foruminasnew2scratch wrote:

no support, this could be used to region lock Scratch.
You mean region-lock a project? This wouldn't/couldn't work for studios/profiles/etc.

Last edited by 46009361 (April 12, 2021 14:30:28)


Inspired by coder2045—which, in turn, got inspired by Mr_PenguinAlex.
What's wrong with these blocks? There are zero mistakes because no round has started yet. Beware that some of the mistakes don't relate to the Scratch blocks below.
// No round has started yet.
Be the first to comment all of the mistakes on my profile correctly and you'll get a love! You can't comment any mistakes right now because there are none!
scratchieguy12345678
Scratcher
500+ posts

Country detectors

What if someone did something like this:

when green flag clicked
if <(country :: sensing) = [United States]> then
broadcast [start project v]
else
say [Only people from the US view this project.]
end


ScratchCat1038
Scratcher
1000+ posts

Country detectors

scratchieguy12345678 wrote:

What if someone did something like this:

when green flag clicked
if <(country :: sensing) = [United States]> then
broadcast [start project v]
else
say [Only people from the US view this project.]
end

Well, someone could change their location on their profile to the US, then play the project, and then change it back to their real country.

shift+down to scroll
GIVE AN INTERNET
so i can feed my family


“if on edge, bounce” block visualization

oh, so you drink water?
describe the flavor without using the word “water”
han614698
Scratcher
1000+ posts

Country detectors

scratchieguy12345678 wrote:

What if someone did something like this:

when green flag clicked
if <(country :: sensing) = [United States]> then
broadcast [start project v]
else
say [Only people from the US view this project.]
end

I don't see why people keep bringing up things like this in honestly any thread - you can already cause this with the username block, cloud variables, etc. It's not a valid concern.

<Scratch Wikian | Forum Helper | Almost to 6000 Posts! | Please be aware I may mistype things, my wrist is fractured>

Credit to -gge for the icons in my signature | I condensed all this code into five lines using [p] tags, idk why




mybearworld
Scratcher
1000+ posts

Country detectors

fdreerf wrote:

[View post]
I don't see what this block could do that the language block can't.
I have my language set as English but live in germany.

Semi support, changed my mind.
Honestly, bullying can already be done, and it will affect a similar range of people like this:
{L = Language ; C = Country}
when gf clicked
if <(language::extension translate) = [L]> then //some people don't have their language at L when they are from C
say [Haha, you are soooo bad !!! xDDD]
end

if <(country::sensing) = [C]> then //some people have "Antartica" and not C
say [You are a @?!$ lol xDDDD]
end
It doesn't have much uses, but the language block neither, so I think it's just good to have.

Signatures are the only place where assets links still work.
MentalBox
Scratcher
100+ posts

Country detectors

No support. You could segregate users with
if <Country = [Russia v]> then
stop [all v]
end

Last edited by MentalBox (Aug. 5, 2021 19:32:15)

Maximouse
Scratcher
1000+ posts

Country detectors

MentalBox wrote:

No support. You could segregate users with
if <Country = [Russia v]> then
stop [all v]
end
You can already do something similar based on the user's language:
if <(language :: pen) = [Russian]> then
...


This is Maximouse's signature. Learn more about signatures.
ScolderCreations
Scratcher
1000+ posts

Country detectors

Support, this could possibly be used for statistic projects, but I only support if you use the location that's set on the users API profile.

AlfabetonsOfficial
Scratcher
100+ posts

Country detectors

No support, people can discriminate and bully you for it. Also, it could invade privacy.

Let's learn Spanish with the Alfabetons!
Click here to get started!
Visit the official Alfabetons website!
wvj
Scratcher
1000+ posts

Country detectors

Does it count as a social action reporter block? If yes then it's rejected

Maximouse
Scratcher
1000+ posts

Country detectors

wvj wrote:

Does it count as a social action reporter block? If yes then it's rejected
I don't think this is very similar to a social action reporter.


This is Maximouse's signature. Learn more about signatures.
-HatKidTheVibeKid-
Scratcher
21 posts

Country detectors

What about
(Scratch Profile Location::sensing)
Same as what you suggested, but it doesn't track you and only uses the country that you entered in your Scratch profile. If you're not signed in, it will be set as “Location Not Given”

Edit:finally figured out how to make the block light blue

Last edited by -HatKidTheVibeKid- (Aug. 10, 2021 19:36:17)


this is my ultimate signature of ultimate destiny.
Pixalperfect
Scratcher
500+ posts

Country detectors

LemonComputer wrote:

~snip~
Support but rename it to location (not a current location like on the users page location) this could be used for online.

I've been on the forums for 2 years… wow
500+ posts yay
Sign up for Webkart! (Mario kart but 2D and online)


:) :: operators boolean // This is Mike's cousin. He protects me from kumquats. 
Around april of 2021, I wasn't very active on the fourms then. Recently I've came back only for most of the old fourmers (i think thats what you call them) leaving or being banned. So um… yh thats why I only have 500+ posts, I was inactive on the fourms back then.

modesties
Scratcher
100+ posts

Country detectors

MentalBox wrote:

No support. You could segregate users with
if <Country = [Russia v]> then
stop [all v]
end
then just sign in with a different username with a different country or change your country

My other accounts: @fireflyhero @selfexplanatory @medians
add life to [list v] ::list

(sadness::sensing)

set sadness to () ::sensing

change sadness by () ::sensing

<sadness is ()? ::sensing>// workaround:

<(sadness ::sensing) = []>
Fun fact: The first game I ever hated was made by EA years ago. Not surprising.
actionthecoder
Scratcher
64 posts

Country detectors

han614698 wrote:

King of the Page

han614698 wrote:

support, although this may conflict with confidentiality rules.
I would like the block to be
country of ()::sensing reporter //You enter the username in the blank.
I think this offers a little more wiggle room.
You could have the project give a warning:
This project can detect your username and/or country. Sign out to hide your location or identity.
That limits things;
if <[country] = []> then//sorry i cant put a block in there correctly.
stop [all v]
end
This may or may not go along with this suggestion, but I would love to see a block:
signed in?::sensing boolean
The easy workaround for your block if we only have the top one:
country of ((username))::sensing reporter//(Outlined for easier viewing) 
Sorry this was long.
Regards
Bump

A signed in block is useless. You can just do this :
if <(username) = [ ]> then
say [......] for (2) secs
end

Incase you don't know a signed in script exists.

__________________
This is my signature, it proves that i am not hacked in scratch.

https://www.youtube.com/watch?v=8Hf6tnnds98
This is my signature if i'm famous, click this link to see it, { removed by actionthecoder }. Bar code :
And lastly, i'll show you some Art.
/ \

| | | |
x - ———- Just my head, ill finish it later.









selfexplanatory
Scratcher
100+ posts

Country detectors

MentalBox wrote:

No support. You could segregate users with
if <Country = [Russia v]> then
stop [all v]
end
Then log in to another account with a different language that isn’t one of the banned ones or change your language

ScolderCreations wrote:

The purpose of this account is self-explanatory.
selfexplanatory ::#000099 hat
report filter issues here: https://scratch.mit.edu/discuss/topic/235220/?page=178#post-5647700
han614698
Scratcher
1000+ posts

Country detectors

actionthecoder wrote:

A signed in block is useless. You can just do this :
if <(username) = [ ]> then
say [......] for (2) secs
end

Incase you don't know a signed in script exists.
I do, but that post was made a long while ago.

<Scratch Wikian | Forum Helper | Almost to 6000 Posts! | Please be aware I may mistype things, my wrist is fractured>

Credit to -gge for the icons in my signature | I condensed all this code into five lines using [p] tags, idk why




selfexplanatory
Scratcher
100+ posts

Country detectors

19f8361 wrote:

Austinato wrote:

19f8361 wrote:

support, but how about 2 blocks:

(country uses [acutal location v]::sensing) //works if you accept location, reports using your acutal location.
As for this one, would this use IP addresses?

how about this:

(country uses [IP address v]::sensing) //uses IP address to determine the location. sometimes, it reports incorrect locations.
set [foo v] to (country uses [IP address v]::sensing)
broadcast [broadcast v]
set [☁ v] to (var)
The broadcast would encode it

ScolderCreations wrote:

The purpose of this account is self-explanatory.
selfexplanatory ::#000099 hat
report filter issues here: https://scratch.mit.edu/discuss/topic/235220/?page=178#post-5647700
Codingfairy07
Scratcher
500+ posts

Country detectors

No support. you can invade privacy and bully:
if <(country) = [examplecountry]> then
say [HAHAHAHAHA! People from examplecountry don't deserve to be on scratch! HAHAHAHAHA!]
else
broadcast [rickroll v]
end

 (φ゜▽゜*♪) :: sensing // This is Laura, my kumquat guard who never sleeps. Sleeping is for amateur Kumquat guards.
Announcement
;

Powered by DjangoBB