Password checker glitched.
SA_FNAFCoder
Member, PRO Posts: 47
I have a password checker (kinda like logging in with a username and password) and I want it to work but, it seems to let the player log in regardless, can someone maybe look at my code here because I can't seem to find the culprit, here is my project.
I am pretty tired, it is late here but whatever.
Go into the "Log In Scene" and look at the "Finish button" actor in this scene.
Comments
Are you aware that your "Finish button" actor is an unlocked instance? You had a problem with that in a different thread. It's not a good idea to unlock an actor unless you have a specific reason to do so, namely you need access to scene variables or you need that copy (instance) of the actor to have different rules than another copy of the actor or than the actor prototype.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I think what's probably happening is that you are checking the input strings against null strings ("") and the rules are triggering a match because they can't handle that. Try changing the account name and password attribute values to something else other than a blank string.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
If this is the case you need to add conditions to your checking rule to account for blank.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS