Discuss Scratch

Tomerts
Scratcher
47 posts

Password Login!

Hello, I am making a Guess The Mob game! http://scratch.mit.edu/projects/14298619/#editor
I would like to make it so that when a player goes on this game on the first time, they enter a password that they have to enter every time they go on my game from that time on! Also, I would like to see what peoples passwords are, if that is possible! Please include a example!

-Tomer
DGSProjects
New Scratcher
4 posts

Password Login!

I know how to have your password as your username

foreverifusername=answerthen
DGSProjects
New Scratcher
4 posts

Password Login!

You could use
UsernamePassword
Tomerts
Scratcher
47 posts

Password Login!

Could you give a more detailed answer? I dont really understand what you are showing me…
KermitMC
Scratcher
100+ posts

Password Login!

You can't make a password login because you are New to Scratch.
Only Scratches can access cloud variables making it impossible to make a password login.
Unless you wanted to login with your username as DGS suggested.
Tomerts
Scratcher
47 posts

Password Login!

I know I cant. I would like to have the script anyway so that when I finally become a scratcher, Ill add it in!
KermitMC
Scratcher
100+ posts

Password Login!

A script for a password login is very complicated.
It will be made easier when cloud lists come out,
The way you would go about making one now would be to have an encoder that will change letters to numbers.
Then after every username put a number like 50.
everytime the game detects a 50 it will know it's a different user.
then do the same for the password.
and have it detect what user you are then check if you typed the right password.
It's very hard to explain.
Tomerts
Scratcher
47 posts

Password Login!

Can someone show an example!?!?!?!
MeTwo
Scratcher
17 posts

Password Login!

So you mean that you would like to have a password that everyone could use, or your own individual password?
Scratchy9000EX
Scratcher
26 posts

Password Login!

MeTwo wrote:

So you mean that you would like to have a password that everyone could use, or your own individual password?
answer=yes
19f8361
Scratcher
500+ posts

Password Login!

the 1st post on topic says: "Hello, I am making a Guess The Mob game! http://scratch.mit.edu/projects/14298619/#editor
I would like to make it so that when a player goes on this game on the first time, they enter a password that they have to enter every time they go on my game from that time on! Also, I would like to see what peoples passwords are, if that is possible! Please include a example!

-Tomer"

scripting (level 1)

whenclickedaskenter password.andwaitifanswer=passwordthen. . .elsestopall

scripting (level 2)

whenclickedaskenter username.andwaitsetusernametoansweraskenter password.andwaitsetpasswordtoanswerifanswer=usernameandanswer=passwordthen. . .elsestopall

Last edited by 19f8361 (Aug. 2, 2014 02:39:33)

max31bell
Scratcher
47 posts

Password Login!

Tomerts wrote:

Hello, I am making a Guess The Mob game! http://scratch.mit.edu/projects/14298619/#editor
I would like to make it so that when a player goes on this game on the first time, they enter a password that they have to enter every time they go on my game from that time on! Also, I would like to see what peoples passwords are, if that is possible! Please include a example!

-Tomer
I would be quite hard to keep the password hidden but if it was there username that would solve the problem!

Tomerts wrote:

Can someone show an example!?!?!?!
I have one project which make random password and one that doesn't remember them (for examples)
http://scratch.mit.edu/projects/25082838/
http://scratch.mit.edu/projects/23459720/
Gandalf1023
Scratcher
100+ posts

Password Login!

KermitMC wrote:

A script for a password login is very complicated.
It will be made easier when cloud lists come out,
The way you would go about making one now would be to have an encoder that will change letters to numbers.
Then after every username put a number like 50.
everytime the game detects a 50 it will know it's a different user.
then do the same for the password.
and have it detect what user you are then check if you typed the right password.
It's very hard to explain.

I don't think he would need cloud stuff– he would need the username block. But, what I don't get, is what do you want? Do you want the password to be the username, or do you want the password to be specific for each user?
QuinnD2006
Scratcher
38 posts

Password Login!

i want to know that exsact thing to and i want to know the username and password so i can ban bad people!
EnderScout_77
Scratcher
100+ posts

Password Login!

QuinnD2006 wrote:

i want to know that exsact thing to and i want to know the username and password so i can ban bad people!
Please make your own topic, don't reply asking for help.
EncloCreations
Scratcher
500+ posts

Password Login!

Very easy! Here is a step by step tutorial.

1. Get the cloud list engine from this project https://scratch.mit.edu/projects/68788730/ , i would give you a link to mine, but this one is faster and for beginners.

Read the first segment of this tutorial (Made by me) : https://scratch.mit.edu/discuss/topic/144874/

Carefully look at how the login and registering works here once you get it: https://scratch.mit.edu/projects/70982662/

If this is to complicated for you ill be glad to make it for you if you give me a link to your game, as this is a very complex concept when you have never used cloud list engines before
EncloCreations
Scratcher
500+ posts

Password Login!

I use an encryptor to encrypt the passwords, but that might be to complicated for you Xp
djwaynoproductions
Scratcher
500+ posts

Password Login!

Gandalf1023 wrote:

KermitMC wrote:

A script for a password login is very complicated.
It will be made easier when cloud lists come out,
The way you would go about making one now would be to have an encoder that will change letters to numbers.
Then after every username put a number like 50.
everytime the game detects a 50 it will know it's a different user.
then do the same for the password.
and have it detect what user you are then check if you typed the right password.
It's very hard to explain.

I don't think he would need cloud stuff– he would need the username block. But, what I don't get, is what do you want? Do you want the password to be the username, or do you want the password to be specific for each user?


I've completed this task and yes he would need cloud data. How else would the project know if it's someones first time playing and also the project can't keep track of the created passwords without it. Ok an easy way to do this is save all the usernames on one cloud and the all passwords on another cloud (these can be saved on a single cloud but creating 2 cloud variable will cause less confusion). Keep the order of usernames in the same order as passwords in which they were created. Make a variable called “user #” . So, when you search for a user you can match the users username with the “user #” and that will will also be the password #. so you can match the passwords the same way. And if you plan on making this game save you should save the users saved progress in the same order. But anyways you will need a encoder/decoder first.

I unshared this project but will share it for you, this has an account creator/ password creator (also sign in). This project also saves progress and has a top 10 cloud leaderboards. By adding a users information in the order they were created, the“user #” is very helpful.

https://scratch.mit.edu/projects/74751420/ First step in making something like this is a encoder/decoder so you should get that done first.
QuinnD2006
Scratcher
38 posts

Password Login!

EnderScout_77 wrote:

QuinnD2006 wrote:

i want to know that exsact thing to and i want to know the username and password so i can ban bad people!
Please make your own topic, don't reply asking for help.

how do i create my own topic?
deck26
Scratcher
1000+ posts

Password Login!

QuinnD2006 wrote:

EnderScout_77 wrote:

QuinnD2006 wrote:

i want to know that exsact thing to and i want to know the username and password so i can ban bad people!
Please make your own topic, don't reply asking for help.

how do i create my own topic?

QuinnD2006 wrote:

EnderScout_77 wrote:

QuinnD2006 wrote:

i want to know that exsact thing to and i want to know the username and password so i can ban bad people!
Please make your own topic, don't reply asking for help.

how do i create my own topic?

Look for the New Topic button at the top right of the forum.

Powered by DjangoBB