EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   How know the account pwd? (https://www.eqemulator.org/forums/showthread.php?t=35259)

yingyugang01 04-26-2012 08:51 AM

How know the account pwd?
 
I have used myself loginserver, and I insert a account into tblloginserveraccounts.e.g user/password = yyg/123456. Then I try to login by the new account yyg/123456, the system tells me the password is wrong.I checked the code , and find that the systen will encryption the password. my question is what is the correct way to add a account ?:?

lerxst2112 04-26-2012 01:04 PM

INSERT INTO tblLoginServerAccounts (AccountName, AccountPassword, AccountEmail, LastLoginDate, LastIPAddress) VALUES('Admin', sha('password'), 'admin@somewhere.com', now(), '127.0.0.1');

Replace the name/password inside the '' with what you want to use.


All times are GMT -4. The time now is 11:07 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.