Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

New updated link and tuto server 2016-12-20

Newbie Spellweaver
Joined
Jan 29, 2009
Messages
9
Reaction score
0
Server Setup

Step 1: Installing SQL
First start of by installing SQL2000 or 2005. If you don't know how, there are plenty of guides around, shouldn't be to hard to hard.

Creating Databases
Once that is complete, Open up Enterprise Manager. Keep clicking the + until you have connected.

You now need to create 3 Databases luna_logdb,lunagamedb00 & lunamember
Right click Databases > New Database then put in the Database name for each one.

Now you should have 3 new databases made, you now need to import the SQL Script file using Query Analyzer. Click on any database so it's highlighted (remember this database), then go to the Tools tab and click SQL Query Analyzer.
Now go Query Analyzer is open, go to File > Open and find your Luna Server Files, go into db folder were you will see the SQL script files for each Database. Open the script file for the database you highlighted, should now appear in the Analyzer, now near the top you should see a play button and a > button, click the play button first and once it's done click the > button.
Do this for all 3 databases!.

ODBC

Go to control panel > Administrative Tools > Data Sources (ODBC).

Then System DSN tab. Click Add and scroll down to SQL Server and click finish. We need to do this 3 times now for each of the following luna_gamedb, luna_logdb, luna_memberdb.
Where it says Name, that is where you put the the database now and for server type (local) and click Next. Next window will appear, tick "With SQL Server authentication using login and password" now for login ID put "sa" (unless you have your own) and put in your SQL password then keep click Next until you have finished. Do this for all 3 Databases remember!.

---------------------------------------------------------------------------------------

Server Files Setup

First go into the dll folder and click Regbad.exe to register.

Now we need to hex edit AgentServer, DistributeServer,MapServer & RecoveryServer, so open these with the hex editor (UltraEdit) and search for GameSrv, you need to replace this with your SQL Login ID, there is about 2 you need to change, then search Luna and replace that with your SQL Password, there is also 2 you need to find, repeat this for each server gate.

Now go into Serverset > 0 > were you will see a file called Serverlist, this contains IP's, the current one in the folder is set to 127.0.0.1, if you want to change it then open it up with the MakeServerList.exe and copy it but change the IP to your Lan IP.

Once you have sorted the IP's you need to go back to your server gates and make a shortcut for MapServer.exe, rename the Shortcut to MapServer 2. and then right click it > Properties and add the 2 to the target like C:\luna\MapServer.exe 2.exe .

Now Create 3 copys of the MonitorServer.exe , this is for MAS,MS & RMTOOL, but you can still get it game without these so don't worry if you have trouble getting them to work.

Starting The Server

Start by opening MAS,MS & RMTOOL, if they fail to open then don't worry and move onto the next step. Now open AgentServer, DistributeServer then MapServer (The one you created with the shortcut) and if you have done it correctly it should say Server Connected.

---------------------------------------------------------------------------------------

Client

Like i said above, you must be using the Thai version for this.
Once you have downloaded the Thai client, run the launcher and patch it up to the latest.

By using LunaBinPacker, open up settings file in System Folder and change the IP to yours. Use the official launcher to login.

(Client step is not finished, Just not on my main PC to remember everything, will edit it when am back on it)

Now you should have a running server.

Creating account
Open up Enterprise Manager and go into lunamember DB > Tables > chr_log_info. Fill it in to create your account.


Use these server files: [Release] Server Files

SQL 2005:
SQL 2005 MANAGEMENT STUDIO :

PACKAGE OF ALL FILES English Version (Client) ,LunaBinPacker, Server ( use winrar) :
 
Last edited:
Newbie Spellweaver
Joined
Mar 6, 2014
Messages
14
Reaction score
4
whats the reason why MS and MAS always crashing and only one left is monitoring server ?
 
Newbie Spellweaver
Joined
May 31, 2018
Messages
16
Reaction score
0
whats the reason why MS and MAS always crashing and only one left is monitoring server ?
It could be anything really i mean MAS/MS are like very foundation of the server its hard to tell without looking at the setup where the problem lies but they are not that hard to configure follow the tutorials dutifully and you will figure it out :)
 
Newbie Spellweaver
Joined
May 31, 2018
Messages
16
Reaction score
0
You actually don’t need the ms and mas to run the server.
Wow i never knew that before reading your post lol even tho Agent Server keep spamming " Failed to connect to server " we really can run server without them Thank you for enlightening me dude :) so you need 3 MAS servers for ServerTool only then ?
 
Back
Top