• 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!

Lua Sha1

RoHaN-OTs

RoHaN-OTs.com
Joined
Jul 28, 2010
Messages
1,594
Reaction score
82
Location
Sweden
About the SHA1 encryption..

I've been using "plain" and when i change the databases passwords to SHA1, ppl can log in to the website, but not in game.. Any solution for this? I can explain more if you have any questions :p

Thx in advance,

RoHaN
 
Your passwords that are stored in sha1, CAN'T be converted between hash methods. And just because gesior got a ugly bug, you can blame it. Use search and find the patch for gesior... Or use ModernAAC.
 
Replace function 'password_ency' in config-and-functions with this one:
Code:
function password_ency($pw) { return hash('sha1', $pw); }
 
@chojrak

I get this error when i try it:

Parse error: syntax error, unexpected '}' in C:\xampp\xampp\htdocs\config-and-functions.php on line 82
 
Back
Top