Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server
You last visited: Today at 23:30

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Request] How to change database pwd

Discussion on [Request] How to change database pwd within the Shaiya Private Server forum part of the Shaiya category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2009
Posts: 49
Received Thanks: 8
[Request] How to change database pwd

does any one know how to change the server and database password? i tried to change the password in PSMSERVER_Mgr and then i update it it said "disable update check service PSM_AgentServer
darryusa is offline  
Old 06/30/2010, 17:32   #2
 
elite*gold: 0
Join Date: Jun 2010
Posts: 4
Received Thanks: 0
uhmm lol
Souljah671 is offline  
Old 06/30/2010, 18:38   #3
 
elite*gold: 0
Join Date: Jul 2009
Posts: 126
Received Thanks: 9
MARVEL'd
joeh1cks is offline  
Old 06/30/2010, 21:24   #4
 
alregenhardt's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 10
Received Thanks: 4


not sure if this is even relevent. I am clueless when it comes to this kind of stuff.
alregenhardt is offline  
Old 07/02/2010, 06:15   #5
 
elite*gold: 0
Join Date: Jun 2009
Posts: 49
Received Thanks: 8
tried that and its messed up the sv file
darryusa is offline  
Old 07/09/2010, 22:07   #6
 
lae's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 40
Received Thanks: 17
PSM is only using your SQL database and the account in the PSM is only a simple user of the SQL database with database access permit.

If you want to change the password of a user u can simple do it like this:

EXEC sp_password 'Old_password','new_password','login'

After you have to change the password in the PSM and update.
lae is offline  
Old 07/10/2010, 00:10   #7
 
elite*gold: 0
Join Date: Jul 2009
Posts: 126
Received Thanks: 9
Quote:
Originally Posted by lae View Post
PSM is only using your SQL database and the account in the PSM is only a simple user of the SQL database with database access permit.

If you want to change the password of a user u can simple do it like this:

EXEC sp_password 'Old_password','new_password','login'

After you have to change the password in the PSM and update.

i tried it, didnt work for my server
joeh1cks is offline  
Old 07/13/2010, 17:28   #8
 
elite*gold: 0
Join Date: May 2009
Posts: 118
Received Thanks: 77
Quote:
Originally Posted by lae View Post
PSM is only using your SQL database and the account in the PSM is only a simple user of the SQL database with database access permit.

If you want to change the password of a user u can simple do it like this:

EXEC sp_password 'Old_password','new_password','login'

After you have to change the password in the PSM and update.
This shit took me 2 days to figure out. After tries after tries , I finally managed to figure it out. The above statement is correct except one thing, DO NOT USE THIS TO PSM UPDATE tool! This does not work!

Before I start giving the actual technique, i would like to say is although there are some exceptional guys like our hero Lilpro, Profs, and a few others who continuously and selflessly contributed back to the Elitepvper community, i think generally the community here are relatively selfish in giving back or share their knowledge to the community. I am not blaming or trying to offend anyone but just wishes to express my disappointment. I think as community, our purpose is to help each other out where it is possible. But I thanks those who selflessly contributed to this community and i sincerely hope that we could be a better community as a whole.

Anyway, back to changing the password, the key word here is HASH. Just for your info, THE PSM also can run using another SQL username (if u created a different SQL username instead of just sticking to the original 'Shaiya') and still able to run the PSM.

1st Step:
I shutdown all services. Uninstall all services (which give u the pause button) and I also kill the PSM_Agent.exe and PSMServer_Agent.exe service from Task Manager just to make sure its clean.

2nd Step:
I changed the password of the SQL username 'Shaiya' by using SQL Server Management Studio. I changed from default Shaiya123 (the original password) to something like 'admin123'. Once ur password has change. U can close the SQL Server Management Studio.

3rd Step: This IS IMPORTANT
Now u need to open the following files using ur choice of text editor:
1. PSMServer_Config.ini --> found at "D:\SHAIYA_SERVER\SERVER\PSM_Server\Config"

2. ps_userlog.ini
3. ps_login.ini
4. ps_gameLog.ini
5. ps_game.ini
6. ps_dbAgent.ini
which u can find D:\SHAIYA_SERVER\SERVER\PSM_Client\Bin\Config

From here on u will need the following application called 'PS_PasswordEnc.exe' which u can find it on ur Shaiya Private Server Folder. I found this file under "D:\SHAIYA_SERVER\SERVER\PSM_Server". Open this executable application and u will see there is an input or text box. Enter your password that u have change into the input box, which in my case is "admin123". Now the moment u enter the password, u will see the encrypted or hash code below ur input box appear, which look something like:

FC4F94FE1DEF4900DBBC030D0F588488DED411C73BE405F563 DDF175566DF63AD80DF9F1FB2A3FB3223357620ED51D85A918 708501FB20E8CAA3608B0522A741C1A63027B2C8FD06865DFB 61D9AAD14698E8D87D3ED95D2B118D4B804B798326ED495989 EB609DCF26808384B0420A3A954AC26970ABFCF9307F8ED058 AB1575

THIS IS SOMETHING U NEED TO COPY TO your configuration files (or the opened ini files i mentioned above). Now the important part, u need to make new Hash Code for each of the Hash Code u have on ur ini files. If you notice, although your SQL user password is same, the Hash Code generated or (which already appeared on ur ini files) are very different. Therefore u will need to create new hash code for each line that need the hash code inside the specified ini files.

You may ask how can we generate new hash code? Well in the PS_PasswordEnc.exe text box, i just delete the old one and re enter back the password which in my case is admin123. U will see the Hash Code generated are different from the old one.

After you done with all the *.ini files changes (after u added ur version of hash code generated from the PS_PasswordEnc.exe) and save it. Restart/install the PSM services (if u terminated or killed ur PSM_Agent.exe and PSMServer_Agent.exe service, just restart ur machine is the easiest or else manually add them back to the service). And you will see this work. Hopefully my explanation helps.
jamessimpler is offline  
Thanks
19 Users
Old 07/13/2010, 17:31   #9
 
Danco1990's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 348
Received Thanks: 260
Changing the password takes ALOT more then just editing a few lines... Came into this myself a long time ago when i had my own server. Just make sure people cant reach your SQL and you wont have to change it... I made a tutorial here:



Danco1990
Danco1990 is offline  
Thanks
4 Users
Old 07/15/2010, 17:21   #10
 
elite*gold: 0
Join Date: May 2009
Posts: 118
Received Thanks: 77
Quote:
Originally Posted by Danco1990 View Post
Changing the password takes ALOT more then just editing a few lines... Came into this myself a long time ago when i had my own server. Just make sure people cant reach your SQL and you wont have to change it... I made a tutorial here:



Danco1990
After spending days after days on the server... i concluded and agreed with what Danco said is correct. SIMPLE DONT OPEN THE PORT 1433. Infact hell with changing password. There is so many hidden things in the Pserver that i was not made aware of and therefore not worth the time to explore it any further.
jamessimpler is offline  
Thanks
1 User
Old 08/04/2010, 03:57   #11
 
elite*gold: 0
Join Date: Aug 2010
Posts: 1
Received Thanks: 0
I know a tool which can instantly reset MS SQL Server and Express 2000/2005/2008 password, including SA and other users password, no matter the password is how long and complex, Only the master.mdf file is needed for resetting the password within seconds. And you do not need to reinstall MS SQL Server on your PC. Save more time and trouble.
yitiana is offline  
Old 11/18/2010, 10:26   #12
 
AriezOMG's Avatar
 
elite*gold: 100
Join Date: Mar 2009
Posts: 552
Received Thanks: 1,009
I've followed this tutorial jamessimpler wrote after getting my accounts table deleted by a php file, i'm requesting help as I am now getting an "Account Does Not Exist" error, people cannot login.
AriezOMG is offline  
Old 10/11/2011, 02:04   #13
 
[ADMIN]Cryptic's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 140
Received Thanks: 147
Quote:
Originally Posted by jamessimpler View Post
2nd Step:
I changed the password of the SQL username 'Shaiya' by using SQL Server Management Studio. I changed from default Shaiya123 (the original password) to something like 'admin123'. Once ur password has change. U can close the SQL Server Management Studio.
how exacly did you do that step? change the pw of the username shaiya thats it. Nothing seem to work for me
[ADMIN]Cryptic is offline  
Old 10/11/2011, 10:46   #14
 
elite*gold: 0
Join Date: Jul 2009
Posts: 408
Received Thanks: 180
Go into your SQLSMS
Go to Security, and find the account
Right click and go to properties
Then change your password
Simples But still not effective with hashing in the ini's
viper4513 is offline  
Old 10/12/2011, 15:04   #15
 
[ADMIN]Cryptic's Avatar
 
elite*gold: 0
Join Date: Sep 2011
Posts: 140
Received Thanks: 147
So this method not effective?

Ok I did this and added all HASH codes. But I get DC everytime right after I choose server

edit: this is the error I get in DBagent.

Code:
 2011-10-12 14:17:25 PS_DBAGENT__system log start (DBAgent01)

2011-10-12 14:17:31 connect game, Name=



2011-10-12 14:17:31 connect game, Name=



2011-10-12 14:17:51 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'Shaiya'., SQL STATE: 28000, NATIVE ERROR: 18456 (0x4818)

2011-10-12 14:17:51 ::LoadBillingItem 135  qerr=-1, EXEC usp_Read_Char_Product_Item_E 135

2011-10-12 14:18:10 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'Shaiya'., SQL STATE: 28000, NATIVE ERROR: 18456 (0x4818)

2011-10-12 14:18:10 ::LoadBillingItem 36  qerr=-1, EXEC usp_Read_Char_Product_Item_E 36

2011-10-12 14:18:22 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'Shaiya'., SQL STATE: 28000, NATIVE ERROR: 18456 (0x4818)

2011-10-12 14:18:22 ::LoadBillingItem 992  qerr=-1, EXEC usp_Read_Char_Product_Item_E 992

2011-10-12 14:18:47 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'Shaiya'., SQL STATE: 28000, NATIVE ERROR: 18456 (0x4818)

2011-10-12 14:18:47 ::LoadBillingItem 36  qerr=-1, EXEC usp_Read_Char_Product_Item_E 36

2011-10-12 14:18:55 1 1 SAgent::Disconnect: (4, 64)

2011-10-12 14:18:55 1 1 T=000:01:00:000, RC=8,RCS=0, RB=149,RBS=1, SC=114,SCS=1, SB=196008,SBS=2361

2011-10-12 14:18:55 disconnect game, Name=Game01



2011-10-12 14:18:55 1 1 SAgent::Disconnect: (4, 64)

2011-10-12 14:18:55 1 1 T=000:01:00:000, RC=16,RCS=0, RB=413,RBS=4, SC=76,SCS=0, SB=46693,SBS=562

2011-10-12 14:18:55 disconnect game, Name=Game01



2011-10-12 14:18:55 3 1 SERVICE_CONTROL_STOP

2011-10-12 14:18:55 save all... wait plz... enter /uc



2011-10-12 14:18:55 save market... wait plz...



2011-10-12 14:18:56 PS_DBAGENT__system log end (DBAgent01)


2011-10-12 14:18:56 3 1 SService::ServiceCtrlDispatcher(): service shutdown
[ADMIN]Cryptic is offline  
Reply


Similar Threads Similar Threads
How to do GM link, enchant and ep4 stats change trought DataBase
11/24/2014 - Shaiya Private Server - 20 Replies
Welcome everyone to my tutorial where u will learn how to do GM enchant|link|ep4 stats change 1st Go to Shaiya and get the items u whant. in this tutorial I will use a Goddess loop and a Dread Hive Muffler (lvl15) http://img210.imageshack.us/img210/730/shaiya.png http://img594.imageshack.us/img594/672/shaiya2.pn g advice: if ur playing a server alone, store the items on the last slots of ur WH, later it will be easier to find the items.
How can i change the sea emulator database with OO?
12/29/2010 - SRO Private Server - 10 Replies
hi i have a problem i dont know how i can open and change my sea emulator database with open office? when i open it with oo then it load and then nothing come^^ sry for my bad english^^ hi ich habe ein problem wenn ich versuche die db von meinem sea server zu öffnen mit open office läd es und dann wenn´s normal fertig ist hängt es sich auf uns geht aus kennt wer ne lösung?
[SEA]Small database change
05/23/2010 - SRO PServer Guides & Releases - 13 Replies
Changed all items in NPC To seal of sun, and return scrolls to globals DL Link: Database.rar Buy items, Teleport and they are converted to whatever you bought i will upload a media pk2 so this isnt neccesary later, with these items in the npcs
[REQUEST] Database
03/18/2010 - Dekaron Private Server - 5 Replies
I'd like a clean database please Dont tell me to use search and to download silk's database.. It does not contain the base chars that I need.. They are required to make chars and that is what Dekaron reads from to make the stats.. I dont want any flaming nerds either.. If you are going to flame.. Go and play with yourself.. Just a clean database please.. With the base chars in there so Dekaron can see them to make the chars.. Thanks guys
[Request]Database
07/03/2009 - CO2 Private Server - 12 Replies
Ok.. I have my old source... DreamCO.. and it works and all.. but my BACKUP Database has somethin wrong with it... How can I create a database to that source?



All times are GMT +1. The time now is 23:30.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.