New updated link and tuto server 2016-12-20

Results 1 to 7 of 7
  1. #1
    Apprentice nashiiree is offline
    MemberRank
    Jan 2009 Join Date
    9Posts

    idea New updated link and tuto server 2016-12-20

    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: LINK DOWNLOAD
    SQL 2005 MANAGEMENT STUDIO : https://www.microsoft.com/fr-ca/down...s.aspx?id=8961

    PACKAGE OF ALL FILES English Version (Client) ,LunaBinPacker, Server ( use winrar) :
    https://mega.nz/#!dMkiVQgK!LVu-2B4W6...cU7k6ldR931jyU
    Last edited by nashiiree; 21-12-16 at 06:59 PM.


  2. #2
    I play it straight up, yo pokchop1 is offline
    MemberRank
    May 2012 Join Date
    Emporia, KSLocation
    933Posts

    Re: New updated link and tuto server 2016-12-20

    Thanks, but this would have served just as well as a post in the original thread.

  3. #3
    Apprentice khuvish is offline
    MemberRank
    Mar 2014 Join Date
    12Posts

    Re: New updated link and tuto server 2016-12-20

    whats the reason why MS and MAS always crashing and only one left is monitoring server ?

  4. #4
    Apprentice LilOldMe is offline
    MemberRank
    May 2018 Join Date
    16Posts

    Re: New updated link and tuto server 2016-12-20

    Quote Originally Posted by khuvish View Post
    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 :)

  5. #5
    ʕ•ᴥ•ʔ racegod is offline
    MemberRank
    Feb 2014 Join Date
    399Posts

    Re: New updated link and tuto server 2016-12-20

    You actually don’t need the ms and mas to run the server.

  6. #6
    Apprentice LilOldMe is offline
    MemberRank
    May 2018 Join Date
    16Posts

    Re: New updated link and tuto server 2016-12-20

    Quote Originally Posted by racegod View Post
    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 ?

  7. #7
    ʕ•ᴥ•ʔ racegod is offline
    MemberRank
    Feb 2014 Join Date
    399Posts

    Re: New updated link and tuto server 2016-12-20

    Quote Originally Posted by LilOldMe View Post
    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 ?
    Yep, exactly.



Advertisement