Jump to content

Ragnarok Server Service Mode


jlquizon

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   1
  • Joined:  07/04/16
  • Last Seen:  

Run your Ragnarok Server in Windows Service mode

Can minimize usage of cpu memory

Auto Start Ragnarok Server when Computer/Server Computer Starts

Can Set your desired server process names

Can Revert the names of your servers to its default name

Can Auto Start servers if interrupted or suddenly closed

Encrypt server files when service is starts  [coming soon]

Decrypt server files when service is stops  [coming soon]

 

RagnarokServerService.7z

Size = 5.70kb

files : 1 file

Type: Windows Service

 

 

Untitled.png

 

 

How to Install:

 

1. download "Installer.7z" and extract it inside your Server File.

copypasteserverpath.png

 

 

2.  Run "CMD" : windows key + R then type "CMD" press Enter key.

                                                                                                              (Must be running as Administrator)

cmdfirst.png

 

3. copy this "c:\windows\microsoft.net\framework\v4.0.30319\installutil.exe" press spacebar

    and type your [Server Path]\RagnarokServerService.exe

 

in my case it looks like this:

 

"c:\windows\microsoft.net\framework\v4.0.30319\installutil.exe D:\RO\KRO_Server\RagnarokServerService.exe"

cmd1.png

 

 

Then press "Enter Key"

 

Status will appear if installation is success or failed to install.

you must see : Transacted Install has been completed

 

cmd2.png

 

 

4. Copy this Green text

<ServiceSettings>
<ServerPath>D:\RO\KRO_Server</ServerPath><!-- Set Your Server Path Here -->
<LogServName>svchost1</LogServName><!-- Set your desired Login Server Process Name Here -->
<MapServName>svchost2</MapServName><!-- Set your desired Map Server Process Name Here -->
<CharServName>svchost3</CharServName><!-- Set your desired Character Server Process Name Here -->
<LogBatName>logserv</LogBatName><!-- Your login batch file name (Change is required if you have a different Login Batch file Name) -->
<MapBatName>mapserv</MapBatName><!-- Your Map batch file name (Change is required if you have a different Map Batch file Name) -->
<CharBatName>charserv</CharBatName><!-- Your character batch file name (Change is required if you have a different Character Batch file Name) -->
<STARTSERVERBAT>START SERVER</STARTSERVERBAT><!-- Your START SERVER batch file name (Change is required if you have a different START SERVER Batch file Name) -->
<StopServiceStopServer>1</StopServiceStopServer><!-- Should the Servers stop when the Service Stop? set 1 if yes and 0 if no -->
<AutoStartServers>1</AutoStartServers><!-- Should the Servers Auto Start when interrupted or End Process? set 1 if yes and 0 if no requires:[service is running] -->
<StandardLogServName>login-server</StandardLogServName><!-- Your default Login Server Name -->
<StandardMapServName>map-server</StandardMapServName><!-- Your default Map Server Name -->
<StandardCharServName>char-server</StandardCharServName><!-- Your default Char Server Name -->
<AutoRevertServerNames>1</AutoRevertServerNames><!-- Should the Server Names Auto Revert when the Service Stop? set 1 if yes and 0 if no requires:[stopServiceStopServer must be set to 1] -->
<!--<AutoStartDelay>12</AutoStartDelay>--><!-- Servers Auto Start Delay set 12 = 12sec  -->
</ServiceSettings>

 

then paste it to Notepad or Notepad++ save it as "PCPPI.xml" in "C:\Windows\"

 

Set Your Server Path inside the ServerPath Node under <ServiceSettings> find <ServerPath>

<ServerPath>D:\RO\KRO_Server</ServerPath><!-- Set Your Server Path Here -->

 

ex: in my case my server path is in "D:\RO\KRO_Server"

 

last.png

 

5. Click Start type in the search bar "Component Services",

    Under the Console Root click "Services Local" find "RagnarokServerService"

 

services.png

 

Right Click then Click "Start"

 

services1.png

 

 

Done!
Your Ragnarok Server is now running. :)

 

Services_Xml.png

 

 

 

To set up the Configuration of the RagnarokServerService

Go to C:\Windows\ find PCPPI.xml open it in Notepad or Notepad++

 

last.png

 

 

 

 

The RagnarokServerService will auto save PCPPI.xml if it is not exist once the Service Start or you can copy this XML and paste it to "C:\Windows\" and set Service Settings before you Start RagnarokServerService :) - goodluck! :)

Edited by jlquizon
  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...