• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows Modern AAC -> New account problem.

Maczoo

New Member
Joined
Aug 21, 2009
Messages
52
Reaction score
0
Hi there again. I got problem, extacly when i make new account and i write my password, it's other password in database like xaoijsdoaisjodijd. Someone know how to fix it?
 
Yes, it will hash your passwords in database when the server is started again, meaning, your actual sha1 passwords will be hashed again making them unusable. Delete your Modern AAC created accounts first.
 
I removed all accounts & players without Sample~. Reinstaled AAC, changed sha1 in config, installed it again and when i wanted make new account i still get other password. Please tell me why
 
You will always get 40 (using sha1) characters long random string, thats how encryption (hash) works. It doesnt matter that password in database will look like '9d4e1e23bd5b727046a9e3b4b7db57bd8d6ee684', you will still be able to login using your normal password, in this case 'pass', you are just unable to decrypt it.
 
You will always get 40 (using sha1) characters long random string, thats how encryption (hash) works. It doesnt matter that password in database will look like '9d4e1e23bd5b727046a9e3b4b7db57bd8d6ee684', you will still be able to login using your normal password, in this case 'pass', you are just unable to decrypt it.

Yes,I can login website, but i can't login to tibia cuz wrong password, how change it?
 
find
Code:
encryptionType = "plain"
in config.lua, change it to
Code:
encryptionType = "sha1"


You talking about:

-- Database
-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "blabla"
sqlDatabase = "dede"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTImeout = 10
passwordType = "sha1"

? because if Yes, it doesn't work
 
Ahh! I know

Execute a sql query
PHP:
UPDATE accounts SET password=SHA1(password) WHERE id = 1;

:}

Since the first passwords are PLAIN not SHA1 encoded :)

rep me ^^
 
Keep it like this and your pw will be no different from what it is. (Insecure - not recommended)
Code:
encryptionType = "plain"


Keep it this and the pw in your database will look like: sfdnsfnsjfnssf
Reason: It's encrypted (more secure against hackers)
Code:
encryptionType = "sha1"
[/QUOTE]
 
Back
Top