Discuss Scratch

FUTSync
Scratcher
100+ posts

Can any Mods do this?

So Ive began my new website, and im offering ‘Unique features’ for people who play on the website (Not anything against the rules as they can still be technically activated using see inside) - a code is given to the user on the website which they have to load in game to activate the features. however can any mods do this:

if <Playing on website> then
Activate features
end

FUTSync
CatsUnited
Scratcher
1000+ posts

Can any Mods do this?

As far as I know, you can't detect if a project is embedded unless you run code running in the server and get the project to detect that by connecting to your server via cloud data and some hax.

bottom text
FUTSync
Scratcher
100+ posts

Can any Mods do this?

CatsUnited wrote:

As far as I know, you can't detect if a project is embedded unless you run code running in the server and get the project to detect that by connecting to your server via cloud data and some hax.
Is that a hard thing to do?

FUTSync
CatsUnited
Scratcher
1000+ posts

Can any Mods do this?

aaroncavanagh wrote:

CatsUnited wrote:

As far as I know, you can't detect if a project is embedded unless you run code running in the server and get the project to detect that by connecting to your server via cloud data and some hax.
Is that a hard thing to do?
You would have to know a language other than Scratch.

bottom text
Blank1234
Scratcher
500+ posts

Can any Mods do this?

have an extension be running on your website, that sets a extension boolean block to true, then you can detect whether its being played on your website.

Did you know that “kaj” means “and” in Esperanto?


















Totally not for SEO:
https://scratch.mit.edu/projects/85467306/
https://scratch.mit.edu/projects/83099266/
https://scratch.mit.edu/projects/81628056/
https://scratch.mit.edu/projects/81562288/
https://scratch.mit.edu/projects/81462110/
https://scratch.mit.edu/projects/81436112/
https://scratch.mit.edu/projects/78896920/
https://scratch.mit.edu/projects/78863998/
https://scratch.mit.edu/projects/76577776/
https://scratch.mit.edu/projects/76459270/
https://scratch.mit.edu/projects/74797364/
https://scratch.mit.edu/projects/74085188/
https://scratch.mit.edu/projects/73150274/
https://scratch.mit.edu/projects/73112658/
https://scratch.mit.edu/projects/72484040/
https://scratch.mit.edu/projects/72737486/
https://scratch.mit.edu/projects/72410420/
https://scratch.mit.edu/projects/72378152/
https://scratch.mit.edu/projects/71910314/
https://scratch.mit.edu/projects/67826618/
https://scratch.mit.edu/projects/67882676/
https://scratch.mit.edu/projects/66909070/
https://scratch.mit.edu/projects/66925858/
https://scratch.mit.edu/projects/66420350/
https://scratch.mit.edu/projects/66062314/
https://scratch.mit.edu/projects/65564542/
https://scratch.mit.edu/projects/64828196/
https://scratch.mit.edu/projects/64286296/
https://scratch.mit.edu/projects/64283600/
https://scratch.mit.edu/projects/62386850/
https://scratch.mit.edu/projects/63907584/
https://scratch.mit.edu/projects/62785306/
https://scratch.mit.edu/projects/63767660/
https://scratch.mit.edu/projects/62676562/
https://scratch.mit.edu/projects/61948978/
https://scratch.mit.edu/projects/62521426/
https://scratch.mit.edu/projects/61074988/
https://scratch.mit.edu/projects/11658256/
https://scratch.mit.edu/projects/60640274/
gdpr533f604550b2f20900645890
Scratcher
1000+ posts

Can any Mods do this?

You may be able to detect if a project is running on Scratch or not attempting to modify a cloud var, but I'm not sure. You can also try
if <(username) = [ ]> then

end
and instruct the player to log out of their Scratch account, if they have one. I believe the username detection works when accessing the project from another site, but again, I'm not sure.

Why do you always try to use you Scratch projects for some kind of monetary gain or exclusive features (I've seen you do things like this before)? Just learn another programming language or use Stencyl.
FUTSync
Scratcher
100+ posts

Can any Mods do this?

Chibi-Matoran wrote:

You may be able to detect if a project is running on Scratch or not attempting to modify a cloud var, but I'm not sure. You can also try
if <(username) = [ ]> then

end
and instruct the player to log out of their Scratch account, if they have one. I believe the username detection works when accessing the project from another site, but again, I'm not sure.

Why do you always try to use you Scratch projects for some kind of monetary gain or exclusive features (I've seen you do things like this before)? Just learn another programming language or use Stencyl.
Exclusive features are things i just tend to do, I have a large scratch fan-base, so i tend to stick to scratch.

FUTSync
FUTSync
Scratcher
100+ posts

Can any Mods do this?

Chibi-Matoran wrote:

You may be able to detect if a project is running on Scratch or not attempting to modify a cloud var, but I'm not sure. You can also try
if <(username) = [ ]> then

end
and instruct the player to log out of their Scratch account, if they have one. I believe the username detection works when accessing the project from another site, but again, I'm not sure.

Why do you always try to use you Scratch projects for some kind of monetary gain or exclusive features (I've seen you do things like this before)? Just learn another programming language or use Stencyl.
also, My website contains stuff like live chat, so i can talk to any of the people playing there and then.

FUTSync
NickyNouse
Scratcher
1000+ posts

Can any Mods do this?

Wait can you just force ScratchExt to load on the embedded project? Or is it an ultra-secure iframe thing?

Wait can Phosphorus do extensions? Because that could mabez solve your problem if you don't need cloud stuff
NoMod-Programming
Scratcher
1000+ posts

Can any Mods do this?

Yes. It would be possible by looking at the url of the website (I don't know the exact code; don't ask me). No. I do not think a mod supports this.

Long-since moved on from Scratch, if you need to find all my posts, search this in google: 3499447a51c01fc4dc1e8c3b8182b41cb0e88c67
NickyNouse
Scratcher
1000+ posts

Can any Mods do this?

Wait if it's running in a mod then it shouldn't ever run on the Scratch website, only on yours

Powered by DjangoBB