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

[PHP] sha1 encryption GESIOR ACC

bolero

MikeHere
Joined
Apr 13, 2009
Messages
1,146
Reaction score
12
Location
Venezuela
I was change my server accounts to sha1 and when I create an account on my web says in the game:

Invalid account Number

How I can fix this?
 
since when ?, gesior supports md5 plain and sha1.

And its hashing function doesn't work properly :P.

@Bolero:
Few months ago you have acting so pro while insulting others in your posts and now you can't even figure out so easy thing, how low.
 
_Arthur, leave this dude alone, when people read all that stuff you posted they may not want to help him.

Code:
if(strtolower($config['server']['encryptionType']) == 'md5')
$passwordency = 'md5';
if(strtolower($config['server']['encryptionType']) == 'sha1')
$passwordency = 'sha1';

That is straight from gesiors config-and-functions, what it means is that if your config.lua is set for sha1, you'll get sha1, his problem is he changed the rules in the middle of the game.

Now in his DB passwords are stored normally. However, the page is now looking for sha1.

Create a new account on the page, go to the DB copy and paste the password (will be exncrypted jumble letters and numbers) to your old account, now you can login.

Unfortunately _Arthurs grim asessment about not being able to change them back is right. Just start a new DB.

also, check out this thread. (everything is similar for 0.2, 0.3, 0.4 w/e)
http://otland.net/f479/nothing-full...niform-server-forgotten-server-0-3-6-a-77593/

This will help you set up encrypted DB.


I LOVE YOU MAN !!
Thanks
 
Back
Top