GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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 Posts: 11,673Member, Sous Chef, PRO, Senior Sous-Chef
    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 Posts: 11,673Member, Sous Chef, PRO, Senior Sous-Chef

    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 Posts: 9,904Member

    @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.