Quote:
Originally Posted by Riot
Yes there was.
In GS1 (serverside), you would encode a string using #E and check it using passwordmatches():
HTML Code:
if (created)
{
setstring this.password,#E(password);
}
if (playerchats)
{
if (passwordmatches(#s(this.password),#c))
message You got the password!;
else
message Invalid password!;
}
|
so then.. basically theres probally something like:
PHP Code:
this.ecpass = this.password.encrypt();?
if (passwordmatches(this.ecpass, player.chat))
?