• 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 SQL Query?

You cannot reverse the encryption. That's the whole point of using encrypted passwords.

This is what you could do if you need to access one of your players' accounts;


  1. Store their current encrypted password in a temporary text file.
  2. Run the first query mentioned below this list, in your phpMyAdmin (or whatever program that you may use).
  3. Login with your new password.
  4. Once you're done doing whatever you were supposed to do, run the second query below this list.

If you do not do the first and last step, the player will have no way of logging in again. So those steps are vital. And you should also preferably do this at a time where no other player can login, or at a time where most people sleep or whatever.

SQL:
UPDATE `accounts` SET `password` = SHA1('YOUR NEW PASSWORD HERE') WHERE `name` = 'THE ACCOUNT NAME HERE';
SQL:
UPDATE `accounts` SET `password` = 'THE OLD PASSWORD HERE' WHERE `name` = 'THE ACCOUNT NAME HERE';

PS. Do not forget to substitute the "YOUR NEW PASSWORD HERE", "THE ACCOUNT NAME HERE" and "THE OLD PASSWORD HERE" placeholders with the appropriate value.
 
I don't need to access anyones account, it's just that's the only way I've found out how to fix the account manager. If you try to log on it with their account with the "Sha1" Password and the "Salt" thing then it will say "Invalid Password" However, when you change the password from "Sha1" to "Plain" It works. I can't do this to everyones account though because it's encrypted : / I've only been able to do it with a couple friends... And it's worked every time :p

But for those that I don't know their password, I can't do it :( But if you know another way how to fix the account manager for TFS 0.4 Then that'd be just as helpful :D
 
The reason that is not working for you, is that it is not actually a decrypter, but rather a database with a bunch of user-submitted hashed strings and their equivalent unhashed value. Meaning that some of the more common passwords may be decrypted, but certainly not all of them.

And as for your issue with the Accounts Manager, I did not completely understand what you meant. Do you mind trying to explain it a little bit better? Well appreciated!
 
Sure, when you log into account manager with 1/1 you can make an account and a character, however if you try to log onto the account manager on that account, it will say "Invalid Password"
 
What is your encryption type set to within your config.lua file? And, if you have a look within the accounts table inside your database, does the Account Manager's password seem to be encrypted?
 
Yes, the account manager's password is not encrypted. It's just 1/1 and you can still log on it but when you make a new account it encrypts the password of the account just made
 
Last edited:
Back
Top