PDA

Просмотр полной версии : Luna Online Server


FFForever
12.03.2009, 20:45
Скачать сервер ([Ссылки могут видеть только зарегистрированные и активированные пользователи])
Скачать SQL 2005 ([Ссылки могут видеть только зарегистрированные и активированные пользователи])
Клиент (ftp://download:[email protected]/MY_LUNA_Setup.exe)
LunaBinPacker ([Ссылки могут видеть только зарегистрированные и активированные пользователи])


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.

GidRo
07.01.2010, 10:50
Шаг 1: Установка SQL
Первым сначала устанавливаем SQL2000 или 2005.
Создание базы данных

Теперь нужно создать 3 базы luna_logdb, lunagamedb00 И lunamember
Щелкните правой кнопкой мыши Базы данных> Новая база (Databases > New Database) затем поместить в базу данных имя для каждого из них.

Теперь у вас есть 3 новые базы данных, теперь нужно импортировать файл сценария SQL, используя Query Analyzer. Нажмите на любую базу данных, а затем перейдите на вкладку "Инструменты" (Tools) и выберите SQL Query Analyzer.
Когда Query Analyzer работает, выберите Файл> Открыть (File > Open) и найдите файлы Луна сервера, перейдите в папку DB вы увидите SQL скрипт для каждой базы данных. Откройте файл сценария для базы данных, теперь вверху вы увидите кнопку воспроизведения ">", нажмите кнопку воспроизведения.
Проделайте это для всех баз данных!

ODBC

Перейдите в Панель управления> Администрирование> Источники данных (ODBC) (control panel > Administrative Tools > Data Sources (ODBC)).

Затем вкладку DSN системы (System DSN). Нажмите кнопку Добавить (Add) и прокрутите вниз до SQL Server и нажмите кнопку "Готово" (Finish). Нужно сделать это 3 раза для каждой из следующих БД: luna_gamedb, luna_logdb, luna_memberdb.
Когда вы поставите базы данных в настоящее время и тип сервера (локальный), нажмите кнопку "Далее". Далее появится окно, поставить галочку "В SQL Server, используя проверку подлинности пользователя и пароль" (With SQL Server authentication using login and password) в настоящее время для входа ID поставить "SA" (если у вас есть свой собственный пароль, то впишите его) и поставить в ваш SQL пароль потом нажать кнопку "Далее". Проделайте это для всех 3 баз!

―――――――――--

Установка файлов сервера

Вначале зайдите в DLL папку и запустите Regbad.exe, чтобы зарегистрироваться.

кривой английский
Теперь нам нужно изменить шестнадцатиричное AgentServer, DistributeServer, MapServer И RecoveryServer, чтобы открыть их в соответствие с шестнадцатиричный редактор (UltraEdit) и поиск GameSrv, нужно заменить это с вашей SQL Логин ID, существует около 2 нужно изменить, а затем Луна поиска и замены, что с вашей SQL пароль, есть также 2 нужно найти, повторить это для каждого сервера ворот.


Теперь перейдите в Serverset> 0>, в котором вы увидите файл с именем Serverlist он содержит IP, в папке установлен 127.0.0.1, если вы хотите изменить его, то введите свой, кривой английский
затем откройте его с MakeServerList.exe и копировать , но изменить IP в локальной сети IP.


После того, как вы отсортировали IP, вам нужно вернуться к вашему серверу и сделать ссылку на MapServer.exe, переименуйте ярлык для MapServer 2. , а затем щелкните правой кнопкой мыши > Свойства и добавьте C: \ Luna \ MapServer.exe 2.exe.

Теперь создайте 3 копии из MonitorServer.exe, это для MAS, MS И RMTOOL, но вы все еще можете получить его игру без них так что не волнуйтесь, если у вас возникнут проблемы.

Запуск сервера

Начните с открытия MAS, MS RMTOOL И, если они не открываются, то не беспокойтесь и перейдите на следующий шаг. Откройте AgentServer, DistributeServer затем MapServer (тот, который вы создали с ярлыка), и если вы сделали это правильно он должен сказать Server подключен.

―――――――――--

Клиент

Как я уже говорил выше, то вы должны использовать тайский вариант для этого.
Как только вы загрузили тайский клиент, запустите и обновите его до последнего.

С помощью LunaBinPacker, открыть файл настроек в системной папке и изменить IP на ваш. Использование официального запуска для входа.

Теперь вы должны иметь запущенный сервер.

Создание учетной записи
Откройте Enterprise Manager и перейдите в lunamember DB > Tables > chr_log_info. Заполните его, чтобы создать учетную запись.
ПЕРЕВЕДЕНО :ban::ban::ban::ban::ban::ban: