Thumbnail image
Инструкция по устанвке java сервера Aion от комманды Unique

Привет.
Сегодня мы рассмотрим установку и настройку сервера AION Unique.
Что нам нужно для установки:
Перед установкой сервера устанавливаем MySQL,Navicat и  JDK(java) (если они ещё не установлены)
Итак, распаковываем архив с сервером. После установки видим следующие папки (количество папок будет менятся в зависимости от сборки) :
Thumbnail image
Начнём настройку. А начнём мы с создания базы данных:
В отличии от сборки комманды EMU у Unique практически всегда есть инсталлер.
Находится он в папке ...\tools\database_installer.bat.
Итак, запускаем database_installer.bat и следуем указаниям:
  • Выбираем язык интерфейса
Thumbnail image 
  • указывем путь к папке bin MySQL (по умолчанию это -  С:\Program Files\MySQL\MySQL Server 5.1\bin\

Thumbnail image


  • потом указываем параметры БД (название, хост, юзер ....)

Thumbnail image


  • для полной инсталяции БД выбираем пункт Полная инсталяция
Thumbnail image
  • теперь настраиваем Логинсервер. Заходим в папку ...\loginserver\config и открываем файл database.properties. Изменяем параметры доступа к БД:


# This class represents database driver class that will be used while connecting to database
database.driver=com.mysql.jdbc.Driver

# This is database url.
database.url=jdbc:mysql://localhost:3306/aion (указываем имя БД)

# Database user
database.user=root(пользователь БД)

# Database password
database.password=root(пароль к БД)

# Minimum amount of database connections that will allways in the pool
database.connections.min=5

# Maximum amount of DB connections that server can use
database.connections.max=10

# Script context that will be loaded by database factory, it should implement DAO instances
database.scriptcontext.descriptor=./data/scripts/system/database/database.xml



  • Далее открываем файл loginserver.properties из этой же папки и настраиваем сам логин сервер.



# LoginServer will listen for connections on specified port
loginserver.network.client.port=2106

# LoginServer will bind specified network interface
# * - bind all interfaces
loginserver.network.client.host=192.168.1.3

# How many times player can try to login before he get's banned for bruteforcing
loginserver.network.client.logintrybeforeban=5

# For what time in minutes player should be banned in case of bruteforcing
loginserver.network.client.bantimeforbruteforcing=15

# Host that will be used by LS to listen for GS connections
loginserver.network.gameserver.host=*

# Port that will be used by LS to listen for GS connections
loginserver.network.gameserver.port=9014

# Nuber of additional threads for NIO that will handle only reading
loginserver.network.nio.threads.read=0

# Nuber of additional threads for NIO that will handle only writing
loginserver.network.nio.threads.write=0

# Create accounts automatically or not?
loginserver.accounts.autocreate=true




Так, с Логин сервером разобрались, теперь приступим к Гейм серверу.
  • Для начала нужно связать Гейм сервер и Логин сервер. Для этого открываем Navicat и открываем таблицу gameservers и пишем следующие параметры
id - 1 (id сервера)
mask - *(маска IP)
password - root (Ваш пароль к серверу, не перепутайте с паролем к БД)
Параметры id и password можно ставить на Ваше усмотрение. mask лучше оставить как *

Thumbnail image

  • Теперь настроим параметры доступа к бд и парметры самого гейм сервера.
Открываем ...\gameserver\config\database.properties и меняем следующие параметры:




# This class represents database driver class that will be used while connecting to database
database.driver=com.mysql.jdbc.Driver

# This is database url.
database.url=jdbc:mysql://localhost:3306/aion (имя БД )

# Database user
database.user=root (пользователь БД)

# Database password
database.password=root (пароль к БД)

# Minimum amount of database connections that will allways in the pool
database.connections.min=5

# Maximum amount of DB connections that server can use
database.connections.max=10

# Script context that will be loaded by database factory, it should implement DAO instances
database.scriptcontext.descriptor=./data/scripts/system/database/database.xml



Далее открываем ...\gameserver\config\gameserver.properties и настраиваем сам гейм сервер:



# Port that will be used to listen for client connections
gameserver.network.client.port=7777

# Host that will be used to listen for client connections
gameserver.network.client.host=*

# Maximum online players on the server
gameserver.network.client.maxplayers=100

# Address of login server
gameserver.network.login.address= 95.132.200.241:9014

# Id of this game server
gameserver.network.login.gsid=1 (ID гейм сервера)

# Password of this game server
gameserver.network.login.password=123456 (пароль к зарегистрированому гейм серверу)

# Additional threads that are used to read network data
gameserver.network.nio.threads.read=0

# Additional threads that are used to write network data
gameserver.network.nio.threads.write=0

# Name of gameserver
gameserver.name=aion private

# Character name pattern to be checked at char creation
gameserver.character.name.pattern=[a-zA-Z]{2,10}





Теперь осталось только запустить сервера:
  • Login server - ...\loginserver\StartLS.bat
Thumbnail image
  • Game server - ...\gameserver\StartGS.bat
Thumbnail image

Ну вот и всё.
Есть вопросы, тогда задайте их на нашем Форуме

Комментарии 

 
0 #12 Landerfire 10.07.2010 16:20
Я тупой!
Я ниче не понимаю!
Как соединить логинсервер и геймсервер?
 
 
-1 #11 HellR@iser 17.06.2010 07:19
art4121,поищите ответ на форуме. Если темы нету тогда создайте :)
 
 
0 #10 art4121 17.06.2010 07:16
Спс связал,терь другая проблема,ЛС запускаеться ,а вот ГС что то пишет про какие то ошибки и в конце:
"Server is terminated......"
Для продолжения нажмите любую кл...,хотя всё по 100 раз перепроверил,не подскажите
 
 
0 #9 HellR@iser 16.06.2010 19:24
art4121, они связываются через бд
 
 
0 #8 art4121 16.06.2010 09:56
Привет,не подскажите как связать Гейм серв и Логин серв???Не могу до тянуть ка это
 
 
0 #7 HellR@iser 02.06.2010 20:42
chameliond, а в чёт проблема собственно?
 
 
0 #6 chameliond 02.06.2010 19:02
плиз кто ставил и может помочь с установкой сервера напишите а лучше позвоните на скайп darckxoro
 
 
0 #5 HellR@iser 15.02.2010 23:24
Exploser, для того чтобы сделать себя админом нужно:
открываем Navicat находим таблицу players и открываем её. В данной таблице находим колонку admin и ставим там 3 для Вашего персонажа.
 
 
0 #4 Exploser 13.02.2010 19:35
напишите на мыло плз как сделать себя админом??? знаю что в 1047 сборке можно, только не могу понять как :cry:
 
 
0 #3 HellR@iser 11.02.2010 16:19
Читайте внимательнее
Для связки нужно в таблице gameservers зарегить свой серв и прописать в конфиге ГС
 

Гости не могут оставлять коментарии!

Авторизация



Кто на сайте

Сейчас 14 гостей онлайн

Aдминистрация

Hellr@iser - Администратор
icq_icon 5737487
spacer_1
S.e.n.s.o.R
- Главный модератор
icq_icon 462312011
spacer_1

Облако тегов



Каталог@MAIL.RU - каталог ресурсов интернет Информер тиц pr