• 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?
 
Yes they do. Just wait about 15 seconds, and the message in the console will disappear, and the server will run normally.

That message is just a 'warning', not an error.
 
_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.
 
Look when I create a newer acc:

dibujoxib.jpg
 
Man, I'm sorry this is beyond me.

If I had to suggest something i would say make a copy of your HTdocs folder, and reinstall gesiors all together.

However, you might check with someone else first.

But I think that when u install gesiors it loads the config right then.

Anyway, good luck, I'll let you know if i think of anything.
 
If they're SHA1, you can't convert them back to plain automatically. You should just reset all account passwords manually. :/

You can't even convert them manually..

@topic
You need to change the gesior script to create a new account and change the part where the password is set in database to sha1(password)..
 
Back
Top