help me

06/26/2011 12:14 les11#1
Hello all,i have problem with my shaiya server Instal Server->Open the Server Pacht Config->Restart My Computer->open server patch config->my X all are red not green !!! need help
06/26/2011 13:51 Mr_Candyman#2
are u useing windows 7 ?
06/26/2011 14:12 les11#3
im windows XP
06/26/2011 14:26 les11#4
can you help me
06/27/2011 17:43 TumbsUp#5
Hey you installed SQL / installed SQL right?
06/27/2011 21:10 les11#6
yes i have instal SQL
06/27/2011 22:58 JohnHeatz#7
I'm not quite sure, but I think that i have seen this problem been asked about already, maybe use the search engine to find that out, cause I'm pretty sure that this has been answered already
06/28/2011 01:40 castor4878#8
check the status of the PSM_Server\PSMServer_Agent.exe and PSM_Client\PSM_Agent.exe services; they are supposed to be launched at startup.

if it's not the case (and I'm 100% sure they aren't) it's because you did a "blind-install-without-understanding-anything" and these services were likely (100% sure of that) registered with an invalid path.

dozens of posts explain that the server shall be installed in "d:\shaiyaServer" of course that's false, it's just a shortcut that assumes that users are not able to properly register a service. the funny thing is that the batch script (used to register services) that often comes with this tip is bugged and does not record the right path.

so simply, register the services with their right path (and btw, system restart to launch a service was relevant with windows 3.1 only, so useless since about 15 yrs).

to register them do: (spaces are relevant!!)
Code:
sc create ShaiyaAgentServer binPath= "<YOUR ACTUAL PATH>\PSM_Server\PSMServer_Agent.exe" start= auto DisplayName= "Shaiya Agent Server"
sc create ShaiyaAgentClient binPath= "<YOUR ACTUAL PATH>\PSM_Client\PSM_Agent.exe" start= auto DisplayName= "Shaiya Agent Client"

sc create ps_dbAgent binPath= "<YOUR ACTUAL PATH>\PSM_Client\bin\ps_dbAgent.exe" DisplayName= "Shaiya DBAgent Server"
sc create ps_gameLog binPath= "<YOUR ACTUAL PATH>\PSM_Client\bin\ps_gameLog.exe" DisplayName= "Shaiya Game Log Server"
sc create ps_userLog binPath= "<YOUR ACTUAL PATH>\PSM_Client\bin\ps_userLog.exe" DisplayName= "Shaiya User Log Server"
sc create ps_session binPath= "<YOUR ACTUAL PATH>\PSM_Client\bin\ps_session.exe" DisplayName= "Shaiya Session Server"
sc create ps_login   binPath= "<YOUR ACTUAL PATH>\PSM_Client\bin\ps_login.exe" DisplayName= "Shaiya Login Server"
sc create ps_game    binPath= "<YOUR ACTUAL PATH>\PSM_Client\bin\ps_game.exe" DisplayName= "Shaiya Game Server"
to start the game (all services) do:
Code:
sc start ShaiyaAgentServer
sc start ShaiyaAgentClient

sc start ps_dbAgent
sc start ps_gameLog
sc start ps_userLog
sc start ps_session
sc start ps_login
sc start ps_game
(you still have to use the "Server Patch Config" to issue the "/vchoff", "/nprotectoff" commands).

to stop the game (all services) do:
Code:
sc stop ps_game
sc stop ps_login
sc stop ps_session
sc stop ps_userLog
sc stop ps_gameLog
sc stop ps_dbAgent

sc stop ShaiyaAgentClient
sc stop ShaiyaAgentServer
of course, all these batch commands would be recorded once in some:
- install_services.bat
- start_services.bat
- stop_services.bat
files that we will execute upon needs.