How To Create Luna Private Server Tutorial By : Vinz

Download Microsoft SQL Server 2005 Express Edition.
- Run the Installer and follow it accordingly.

Download Microsoft SQL Server Management Studio Express
- Run the installer and follow it accordingly.

Download the Luna Online Server Files
- Extract them accordingly to where you want.
-- Go to your Luna Online Server Files/Dll Folder and run Register.bat

Download MHBinPacker
- Extract them accordingly to where you want.
-- Go to your MHBinPacker Folder and run Register.bat

Download OllyDbg
- Extract them accordingly to where you want.

Download the Luna Online Thai Client
- Run the installer and follow it accordingly.

Download Hex Workshop.
- Run the installer and follow it accordingly.

Optional

Download lunagamedb SQL (If you want 5 characters per account instead of 3)
- Extract them accordingly to where you want.

--

Open Microsoft SQL Server Management Studio Express.

- Right click on the item Database in the side pane.
-- Choose New Database...
--- For Database name put, Luna_Game
-- Open lunagamedb.sql for 5 Chracters on a account, or open lunagamedb00.sql for 3 characters on a account.
--- Press Execute

Notice: Ignore any SQL Errors.
The Error states that the database is missing tables and the stored procedures being created will not be able to be executed until the tables are present.

- Right click on the item Database in the side pane.
-- Choose New Database...
--- For Database name put, Luna_Member
-- Open lunamember.sql
--- Press Execute

Notice: Ignore any SQL Errors.
The Error states that the database is missing tables and the stored procedures being created will not be able to be executed until the tables are present.

- Right click on the item Database in the side pane.
-- Choose New Database...
--- For Database name put, Luna_Log
-- Open luna_logdb.sql
--- Press Execute

Notice: Ignore any SQL Errors.
The Error states that the database is missing tables and the stored procedures being created will not be able to be executed until the tables are present.

--

Open the RUN Dialog.
- Type, odbcad32
-- Submit
--- Click Add...
---- Select "SQL Server" from the list
----- Click Finish, When it asks for A Data Source Name, put "luna_gamedb".
------ Fill out the MSSQL Information Accordingly.
------- In the Drop menu for Default Database Choose "Luna_Game".
-------- Click Next until you are Finished.

--- Click Add...
---- Select "SQL Server" from the list
----- Click Finish, When it asks for A Data Source Name, put "luna_memberdb".
------ Fill out the MSSQL Information Accordingly.
------- In the Drop menu for Default Database Choose "Luna_Member".
-------- Click Next until you are Finished.

--- Click Add...
---- Select "SQL Server" from the list
----- Click Finish, When it asks for A Data Source Name, put "luna_logdb".
------ Fill out the MSSQL Information Accordingly.
------- In the Drop menu for Default Database Choose "Luna_Log".
-------- Click Next until you are Finished.

--

Go to your Luna Online Server Folder.

- Right click on "AgentServer.exe"
-- Chosoe to edit with Hex Workshop
--- Press "Ctrl+ f"
--- Search for GameSrv and replace it with your MSSQL Login User Name
---- Below that should be some text that says Luna, replace that with yout MSSQL User Password.
(Note: it is placed in the executable twice, both need to be replaced)
----- Save the Executable.

- Right click on "DistributeServer.exe"
-- Chosoe to edit with Hex Workshop
--- Press "Ctrl+ f"
--- Search for GameSrv and replace it with your MSSQL Login User Name
---- Below that should be some text that says Luna, replace that with yout MSSQL User Password.
(Note: it is placed in the executable twice, both need to be replaced)
----- Save the Executable.

- Right click on "MapServer.exe"
-- Chosoe to edit with Hex Workshop
--- Press "Ctrl+ f"
--- Search for GameSrv and replace it with your MSSQL Login User Name
---- Below that should be some text that says Luna, replace that with yout MSSQL User Password.
(Note: it is placed in the executable twice, both need to be replaced)

----- Save the Executable.

--

Go to your MHBinPacker Folder

- Start "MHBinPacker.exe"
-- Open the Open File Dialog
--- Navigate to your Luna Online Client/System Folder and open "settings.bin"
---- There should be 2 IP`s and a port Copy The Distribute Server IP Address to a notepad for later.
----- Change both of the IP Addresses to your IP, chanege the port to "16002"
------ Save the File

-- Open the Open File Dialog
--- Navigate to your Luna Online Client/System Folder and open "serverlist.bin"
---- There Should be a server name, a server port, and a server ip. I dont remember the order.
----- Change The Server Name to "YOUR SEVER NAME", change the port to "16002", Change the ip to "YOUR IP"
------ Save the File

-- Open the Open File Dialog
--- Navigate to your Luna Online Sercer/Serverset/0 Folder and open "ChannelInfo.bin"
---- Edit The Channel name According to how you want.
----- Save the File

--

Open your Luna Online Client Folder
-- Chosoe to edit with Hex Workshop
--- Press "Ctrl+ f"
---- Search for the IP address you got from the settings.bin File Earlier and repalce the ip with yours
----- Save The Executable

--

Go to your OllyDbg Folder
- Start "OllyDbg.exe"
-- Go to File -> Open
--- Navigate to your Luna Online Client Folder
---- Choose "LunaClient.exe"
----- Press OK/Open
------ In The CPU Window, Right Click
------- Select Search -> Search for All Refrenced Text Strings
-------- Right Click in the new Windows
--------- Select Search For Text
----------- UnCheck Case Sensitive, Ckeck Entire Scope
------------ Search for the String "You should not execute directly this file"
------------- Double Click onit, it will bring you back to the CPU Window

Should Look Like This


Code:
005D5104   . EB 1C          JE SHORT LUNAClie.005D5122
005D5106   . 50             PUSH EAX                                 ; /Style => MB_OK|MB_APPLMODAL
005D5107   . 68 48A99200    PUSH LUNAClie.0092A948                   ; |Title = "Error!!"
005D510C   . 68 14A99200    PUSH LUNAClie.0092A914                   ; |Text = "You should not execute directly this file!!
005D5111   . 50             PUSH EAX                                 ; |hOwner => NULL
005D5112   . FF15 E8DCB400  CALL DWORD PTR DS:[<&USER32.MessageBoxA>>; \MessageBoxA
-------------- Double Click on the text "JE SHORT LUNAClie."
--------------- In The Dialog, change the text "JNZ" to "JMP"
---------------- Click OK
----------------- Right Click in the CPU Window
------------------- Choose Copy To Executable -> All Modifications
-------------------- In The New Window, Right Click
--------------------- Choose to save file

--

Open your Luna Online Server/Serverset/0 Folder
-- Start "MakeServerList.exe"
You will need to make a Server List according to blow.

Code:
MAP_SERVER 2  YOUR_IP 18002  NO_IP NO_PORT
MAP_SERVER 12 YOUR_IP 18012  NO_IP NO_PORT
MAP_SERVER 13 YOUR_IP 18013  NO_IP NO_PORT
MAP_SERVER 14 YOUR_IP 18014  NO_IP NO_PORT
MAP_SERVER 15 YOUR_IP 18015  NO_IP NO_PORT
MAP_SERVER 16 YOUR_IP 18016  NO_IP NO_PORT
MAP_SERVER 17 YOUR_IP 18017  NO_IP NO_PORT
MAP_SERVER 18 YOUR_IP 18018  NO_IP NO_PORT
MAP_SERVER 19 YOUR_IP 18019  NO_IP NO_PORT
MAP_SERVER 20 YOUR_IP 18020  NO_IP NO_PORT
MAP_SERVER 21 YOUR_IP 18021  NO_IP NO_PORT
MAP_SERVER 22 YOUR_IP 18022  NO_IP NO_PORT
MAP_SERVER 23 YOUR_IP 18023  NO_IP NO_PORT
MAP_SERVER 24 YOUR_IP 18024  NO_IP NO_PORT
MAP_SERVER 25 YOUR_IP 18025  NO_IP NO_PORT
MAP_SERVER 26 YOUR_IP 18026  NO_IP NO_PORT
MAP_SERVER 27 YOUR_IP 18027  NO_IP NO_PORT
MAP_SERVER 28 YOUR_IP 18028  NO_IP NO_PORT
MAP_SERVER 29 YOUR_IP 18029  NO_IP NO_PORT
MAP_SERVER 30 YOUR_IP 18030  NO_IP NO_PORT
MAP_SERVER 31 YOUR_IP 18031  NO_IP NO_PORT
MAP_SERVER 32 YOUR_IP 18032  NO_IP NO_PORT
MAP_SERVER 33 YOUR_IP 18033  NO_IP NO_PORT
MAP_SERVER 34 YOUR_IP 18034  NO_IP NO_PORT
MAP_SERVER 41 YOUR_IP 18041  NO_IP NO_PORT
MAP_SERVER 42 YOUR_IP 18042  NO_IP NO_PORT
MAP_SERVER 51 YOUR_IP 18051  NO_IP NO_PORT
MAP_SERVER 52 YOUR_IP 18052  NO_IP NO_PORT
MAP_SERVER 53 YOUR_IP 18053  NO_IP NO_PORT
MAP_SERVER 54 YOUR_IP 18054  NO_IP NO_PORT
MAP_SERVER 55 YOUR_IP 18055  NO_IP NO_PORT
MAP_SERVER 91 YOUR_IP 18091  NO_IP NO_PORT
MAP_SERVER 92 YOUR_IP 18092  NO_IP NO_PORT
MAP_SERVER 93 YOUR_IP 18093  NO_IP NO_PORT
MAP_SERVER 94 YOUR_IP 18094  NO_IP NO_PORT
DISTRIBUTE_SERVER 0 YOUR_IP 16001 YOUR_IP 16002
AGENT_SERVER 0 YOUR_IP 17001 YOUR_IP 17002
ServerSet No. 0
--- Save as "serverlist.msl"
--

Open your Luna Online Server Folder
- Start "DistributeServe.exe"
-- Start "MapServer.exe" with the following Syntaxes, how you choose to do them is up to you.

Code:
mapserver.exe 2
mapserver.exe 12
mapserver.exe 13
mapserver.exe 14
mapserver.exe 15
mapserver.exe 16
mapserver.exe 17
mapserver.exe 18
mapserver.exe 19
mapserver.exe 20
mapserver.exe 21
mapserver.exe 22
mapserver.exe 23
mapserver.exe 24
mapserver.exe 25
mapserver.exe 26
mapserver.exe 27
mapserver.exe 28
mapserver.exe 29
mapserver.exe 30
mapserver.exe 31
mapserver.exe 32
mapserver.exe 33
mapserver.exe 34
mapserver.exe 41
mapserver.exe 42
mapserver.exe 51
mapserver.exe 52
Mapserver.exe 53
mapserver.exe 54
mapserver.exe 55
mapserver.exe 91
mapserver.exe 92
mapserver.exe 93
mapserver.exe 94
--- Start "AgentServer.exe"

Notce: Ignore errors "Cannot Connect to MS Server".
The Monitor Server is not currently available due to a compressesion or encryption on the ".tmp" file that is supposed to be included. The ".tmp" file contains some SQL Connection Information. As to how to edit the ".tmp" file is not publicly known. If the file is present in the Server Folder all the server files will try to use it. Currently recommended to remove the file if present. If anyone has information to editing the ".tmp" file please post it. It is required to run the Monitor Servers.

--

Download the Apache HTTP Server
- Run the installer and follow it accordingly.
-- Install it to the Path "c"/web/apache"

Download the PHP Server
- Run the installer and follow it accordingly.
-- Install it to the Path "c"/web/php"
--- Apache`s configuration path is "c/web/apache/conf"
---- Click on Extensions in the features panel Choose to install all.

In the Notifications area of your task-bar should be a Apache icon, click it
-- Choose Restart Apache

Download The Registration Script
- Extract it to "c/web/apache/htdocs"
-- open the file "config.php" inside the "include" folder
-- Fill out your MSSQL Server and Login Infom then Save the file.

Create a Account at ReCaptcha
- Upon Completion you will receive a public and a private key
-- Open the file "Register.php" inside the "htdocs" folder
--- Search for "$publickey = "6Ld6kAYAAAAAAInr_9SvDx5ZEof1i9Zy9wDthKHw";"
---- Replace whats in the "" with your Public Key
--- Search for "$privatekey = "6Ld6kAYAAAAAANuPFflVV7lpKsXCZQrdFDz8BiWt";"
---- Replace whats in the "" with your Private Key
----- Save File

------- Download The ReCaptcha lib PHP file
-------- Extract the php file to "c/web/apache/htdocs/include"

--

Go to "http://YOUR_IP/Register.php" to create a account.

--

Go to you Luna Online Client Folder and Start LunaClient.exe
- Select Server
-- Login

Notice: This Guide was made based off of memory, I have not touched Luna Online in over 2 months.
Credit : ragezone.com ... thanks vinz ...

 Mau Cara Buat Private Server Dengan tutorial video ?? Follow blog dolo .. baru koment di bawah untuk minta ..


3 Koment to "How To Create Luna Private Server Tutorial By : Vinz"

Poskan Komentar

Diberdayakan oleh Blogger.

 

Can't hear anything? Please try one of the player links.

Play stream in WinampWinamp/iTunes
Play stream in Windows Media PlayerWindows Media Player
Play stream in Real PlayerReal Player

Pengikut

Follow NetworkedBlog

Promosi Banner

ads ads ads ads

Chit Chat

Fans Page

User Online

Translator

English French German Spain Italian Dutch
Russian Portuguese Japanese Korean Arabic Chinese Simplified

Blog Archive

Home Hosting