Discuss Scratch

Mozboz
Scratcher
1000+ posts

Country detectors

No support, this seems like it would cause problems, not inspire new good things
ThisIsTemp1
Scratcher
1000+ posts

Country detectors

Mozboz wrote:

No support, this seems like it would cause problems, not inspire new good things

What problems?
Mozboz
Scratcher
1000+ posts

Country detectors

ThisIsTemp1 wrote:

Mozboz wrote:

No support, this seems like it would cause problems, not inspire new good things

What problems?
Any problems based on having your country detectable (obviously people can see your country on your profile, but still), including geoblocking or harassment based on what country you're in. I can't see this adding anything meaningful to a project.
ThisIsTemp1
Scratcher
1000+ posts

Country detectors

Mozboz wrote:

ThisIsTemp1 wrote:

Mozboz wrote:

No support, this seems like it would cause problems, not inspire new good things

What problems?
Any problems based on having your country detectable (obviously people can see your country on your profile, but still), including geoblocking or harassment based on what country you're in. I can't see this adding anything meaningful to a project.
That can already happen in dozens of ways, such as
ask [What country are you from?] and wait
if <(answer) = [USA]> then
say [YOUR COUNTRY IS BAD]
stop [all v]
end
Therefore, should we remove answer blocks and say blocks?
8to16
Scratcher
1000+ posts

Country detectors

ThisIsTemp1 wrote:

Mozboz wrote:

ThisIsTemp1 wrote:

Mozboz wrote:

No support, this seems like it would cause problems, not inspire new good things

What problems?
Any problems based on having your country detectable (obviously people can see your country on your profile, but still), including geoblocking or harassment based on what country you're in. I can't see this adding anything meaningful to a project.
That can already happen in dozens of ways, such as
ask [What country are you from?] and wait
if <(answer) = [USA]> then
say [YOUR COUNTRY IS BAD]
stop [all v]
end
Therefore, should we remove answer blocks and say blocks?
If we do, we should also remove event blocks
Instructions:Press U if you live in USA
The script inside:
when [u v] key pressed
say [Your country is bad and I wish you get banned] for (2) seconds::looks
stop [all v]

Last edited by 8to16 (Oct. 27, 2024 18:03:56)

starlightsparker
Scratcher
1000+ posts

Country detectors

One could live in France and speak only English, and be confused why every project is now french automatically. If you wish to implement a language system in your game, utilize a menu or an ask block.
8to16
Scratcher
1000+ posts

Country detectors

starlightsparker wrote:

One could live in France and speak only English, and be confused why every project is now french automatically. If you wish to implement a language system in your game, utilize a menu or an ask block.
Theres also the Language block (in the Translate extension) that returns your Scratch language (it may be inaccurate sometimes tho, e.g. if your language is set to Hindi, it may return Irish)
(language :: pen translate)

Last edited by 8to16 (Oct. 27, 2024 18:17:12)

Elijah999999
Scratcher
1000+ posts

Country detectors

Mozboz wrote:

Any problems based on having your country detectable (obviously people can see your country on your profile, but still), including geoblocking or harassment based on what country you're in. I can't see this adding anything meaningful to a project.
You could do the same thing with the language block. Or use
(days since 2000)
to determine the player's location.
8to16
Scratcher
1000+ posts

Country detectors

Elijah999999 wrote:

Or use
(days since 2000)
to determine the player's location.
As others have said, that only returns the timezone, not the location. There can be a lot of countries using the same timezone.
Elijah999999
Scratcher
1000+ posts

Country detectors

8to16 wrote:

Elijah999999 wrote:

Or use
(days since 2000)
to determine the player's location.
As others have said, that only returns the timezone, not the location. There can be a lot of countries using the same timezone.
True. Also the fact that this is much harder.
But I just don't see how you could hold that possibility against this suggestion. You can already use the username block to ban a specific user, and that, I would argue, is even worse.
Mozboz
Scratcher
1000+ posts

Country detectors

ThisIsTemp1 wrote:

Mozboz wrote:

ThisIsTemp1 wrote:

Mozboz wrote:

No support, this seems like it would cause problems, not inspire new good things

What problems?
Any problems based on having your country detectable (obviously people can see your country on your profile, but still), including geoblocking or harassment based on what country you're in. I can't see this adding anything meaningful to a project.
That can already happen in dozens of ways, such as
ask [What country are you from?] and wait
if <(answer) = [USA]> then
say [YOUR COUNTRY IS BAD]
stop [all v]
end
Therefore, should we remove answer blocks and say blocks?
No, because answer and say blocks can be used for better reasons, whereas the only things that country blocks could be used for would be negative (as far as I can think). Plus, I feel like that's a bad example because it can be resisted (you can refuse to answer to the block) whereas country detectors would be unstoppable.
ThisIsTemp1
Scratcher
1000+ posts

Country detectors

Mozboz wrote:

No, because answer and say blocks can be used for better reasons, whereas the only things that country blocks could be used for would be negative (as far as I can think). Plus, I feel like that's a bad example because it can be resisted (you can refuse to answer to the block) whereas country detectors would be unstoppable.

It has multiple uses, including for language, because English and Spanish both have different dialects depending on country.
WindowsAdmin
Scratcher
1000+ posts

Country detectors

Mozboz wrote:

(#291)

ThisIsTemp1 wrote:

Mozboz wrote:

ThisIsTemp1 wrote:

Mozboz wrote:

No support, this seems like it would cause problems, not inspire new good things

What problems?
Any problems based on having your country detectable (obviously people can see your country on your profile, but still), including geoblocking or harassment based on what country you're in. I can't see this adding anything meaningful to a project.
That can already happen in dozens of ways, such as
ask [What country are you from?] and wait
if <(answer) = [USA]> then
say [YOUR COUNTRY IS BAD]
stop [all v]
end
Therefore, should we remove answer blocks and say blocks?
No, because answer and say blocks can be used for better reasons, whereas the only things that country blocks could be used for would be negative (as far as I can think). Plus, I feel like that's a bad example because it can be resisted (you can refuse to answer to the block) whereas country detectors would be unstoppable.
ask [What country are you from?] and wait
if <(answer) = [USA]> then
say [YOUR COUNTRY IS BAD]
stop [all v]
end
if <(answer) = []> then
say [Choose right now!!!!]
stop [all v]
Roblox888i
Scratcher
1000+ posts

Country detectors

WindowsAdmin wrote:

Mozboz wrote:

(#291)

ThisIsTemp1 wrote:

Mozboz wrote:

ThisIsTemp1 wrote:

Mozboz wrote:

No support, this seems like it would cause problems, not inspire new good things

What problems?
Any problems based on having your country detectable (obviously people can see your country on your profile, but still), including geoblocking or harassment based on what country you're in. I can't see this adding anything meaningful to a project.
That can already happen in dozens of ways, such as
ask [What country are you from?] and wait
if <(answer) = [USA]> then
say [YOUR COUNTRY IS BAD]
stop [all v]
end
Therefore, should we remove answer blocks and say blocks?
No, because answer and say blocks can be used for better reasons, whereas the only things that country blocks could be used for would be negative (as far as I can think). Plus, I feel like that's a bad example because it can be resisted (you can refuse to answer to the block) whereas country detectors would be unstoppable.
ask [What country are you from?] and wait
if <(answer) = [USA]> then
say [YOUR COUNTRY IS BAD]
stop [all v]
end
if <(answer) = []> then
say [Choose right now!!!!]
stop [all v]
if <(username) = [roblox888i]>then
say [YOUR FROM USA, EWWWW GET OFF]
stop [all v]
end
Mozboz
Scratcher
1000+ posts

Country detectors

WindowsAdmin wrote:

Mozboz wrote:

(#291)

ThisIsTemp1 wrote:

Mozboz wrote:

ThisIsTemp1 wrote:

Mozboz wrote:

No support, this seems like it would cause problems, not inspire new good things

What problems?
Any problems based on having your country detectable (obviously people can see your country on your profile, but still), including geoblocking or harassment based on what country you're in. I can't see this adding anything meaningful to a project.
That can already happen in dozens of ways, such as
ask [What country are you from?] and wait
if <(answer) = [USA]> then
say [YOUR COUNTRY IS BAD]
stop [all v]
end
Therefore, should we remove answer blocks and say blocks?
No, because answer and say blocks can be used for better reasons, whereas the only things that country blocks could be used for would be negative (as far as I can think). Plus, I feel like that's a bad example because it can be resisted (you can refuse to answer to the block) whereas country detectors would be unstoppable.
ask [What country are you from?] and wait
if <(answer) = [USA]> then
say [YOUR COUNTRY IS BAD]
stop [all v]
end
if <(answer) = []> then
say [Choose right now!!!!]
stop [all v]
You can still decide not to respond; just stop the project.
AliMASTER430258
Scratcher
100+ posts

Country detectors

No support. It could be this:
 
if <(country) = [usa]> then

say [USA IS THE BEST] for (2) secs
broadcast [ Play Game v]
else
say [HAHA YOUR COUNTRY SUCKS! ] for (2) secs
stop [all v]
end

If you wanted to find the language, just use the language block.

starlightsparker wrote:

One could live in France and speak only English, and be confused why every project is now french automatically. If you wish to implement a language system in your game, utilize a menu or an ask block.
Also correct.
WindowsAdmin
Scratcher
1000+ posts

Country detectors

AliMASTER430258 wrote:

No support. It could be this:
 
if <(country) = [usa]> then

say [USA IS THE BEST] for (2) secs
broadcast [ Play Game v]
else
say [HAHA YOUR COUNTRY SUCKS! ] for (2) secs
stop [all v]
end

If you wanted to find the language, just use the language block.

starlightsparker wrote:

One could live in France and speak only English, and be confused why every project is now french automatically. If you wish to implement a language system in your game, utilize a menu or an ask block.
Also correct.
Literally read the conversation above you
cake__5
Scratcher
100+ posts

Country detectors

support for country given on profile also with language.

but, heres a little work around:

ask [what season is it for you (summer/winter)?] and wait
if <(current season in the northern hemisphere in summer or winter::#0676f7) = (answer)> then
set [hemisphere v] to [north]
else
set [hemisphere v] to [south]
end
set [timezone v] to (((round ((days since 2000) / (3600))) mod (24)) - (current [hour v]))
set [location v] to ((timezone) + ((24) * <(hemisphere) = [south]>))
this should pinpoint your location down to a rectangular strip of land in the world. replace current season in the northern hemisphere in summer or winter, with, well, exactly what it sounds like it should be replaced with.
alpha_ape_13
Scratcher
500+ posts

Country detectors

cake__5 wrote:

-snipy-dip-
This
(current season in the northern hemisphere in summer or winter::#0676f7)
block doesn't even exist

Last edited by alpha_ape_13 (Dec. 27, 2024 17:09:52)

cake__5
Scratcher
100+ posts

Country detectors

its a

alpha_ape_13 wrote:

cake__5 wrote:

-snipy-dip-
This
(current season in the northern hemisphere in summer or winter::#0676f7)
block doesn't even exist

its a placeholder block for either “summer” or “winter” depending on the time of year

Powered by DjangoBB