when i creating an account on the page i can enter the account on the page but when i try to enter that same account in the client get that it does not exist i dont know the problem is the salt idk any can help me pls
Last edited:
When people create account with letters they can't login... how to fix it?
example:
accout/password
abcde/12345 = can't login (invald id)
12345/12345 = can login.
I was able to solve it by modifying the createaccount.phpWhen people create account with letters they can't login... how to fix it?
example:
accout/password
abcde/12345 = can't login (invald id)
12345/12345 = can login.
I was able to solve it, take a lookWhen people create account with letters they can't login... how to fix it?
example:
accout/password
abcde/12345 = can't login (invald id)
12345/12345 = can login.
$config_salt_enabled = $db->hasColumn('accounts', 'salt');
if($config_salt_enabled)
{
$salt = generateRandomString(10, false, true, true);
$password = $salt . $password;
}
$new_account->setPassword(encrypt($password));
$new_account->setEMail($email);
$new_account->unblock();
$new_account->save();
if($config_salt_enabled)
$new_account->setCustomField('salt', $salt);
$new_account->setCustomField('created', time());
$new_account->logAction('Account created.');
My Error
chown -R www-data.www-data /var/www/*
the problem appeared after typing chmodDid you use following command to set proper permissions?
Code:chown -R www-data.www-data /var/www/*
where i can change link?
/var/www/html/templates/tibiacom/config.ini?
when I change, nothing happens
$template_path = 'templates/' . $template_name;
if ($cache->enabled()) {
$cache->delete('template_ini_' . $template_name );
}
same error here!When people create account with letters they can't login... how to fix it?
example:
accout/password
abcde/12345 = can't login (invald id)
12345/12345 = can login.
is this compatible with TFS 1.2?
@slaw How do I log commands of GM's and other god characters?
Is there an attribute that must be checked?
Thanks! No need help then, that adresses my question. <3What kind of commands do you have in mind? If you mean in-game commands, then it doesn't have anything to do with AAC, because its controlled by game engine, like TFS.
In MyAAC you can just view logs, by accessing: localhost/admin/?p=logs