Password checker glitched.

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.

http://goo.gl/b9Qzel

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited October 2016

    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

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    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

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    @tatiang said:
    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.

    If this is the case you need to add conditions to your checking rule to account for blank.

Sign In or Register to comment.