Рейтинг темы:
  • 0 Голос(ов) - 0 в среднем
  • 1
  • 2
  • 3
  • 4
  • 5
ошибка cannot connect to the server
#1
При заходе на сервер с внешки после выбора сервера выскакивает ошибка cannot connect to the server.

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=192.168.0.164

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

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

# Id of this game server
gameserver.network.login.gsid=1

# Password of this game server
gameserver.network.login.password=123

# 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

# Enable/disable deadlock detector (true/false)
gameserver.deadlock.enable=false

# Interval for deadlock detector run schedule (seconds)
gameserver.deadlock.interval=300

# Name of gameserver
gameserver.name=aion private

# Character name pattern to be checked at char creation
# To enable UTF support for names - set this parameter to [a-zA-Z\u0410-\u042f\u0430-\u044f]{2,10}
gameserver.character.name.pattern=[a-zA-Z]{2,10}

# Server Country Code (cc)
gameserver.country.code=2

# Server Mode
# 0 = user is bind to a realm (can't create characters from both realms at the same time)
# 1 = user can create characters from both realms
# 34 = user is bind to a realm, can't create more than 2 characters and can't enter the game world (character reservation mode)
gameserver.mode=1

# Server shutdown delay in seconds
# Shall be a multiple of 10 (default: 60)
gameserver.shutdown.delay=60

#Speaking mode between factions
# 0 = default, factions can't speak together
# 1 = all players can speat to all others
gameserver.factions.speaking.mode=0

#Skill auto learn mode
# true = no skillbooks are required
# false = need skillbooks to learn lvl1 skill
gameserver.skill.autolearn=false



ipconfig.xml

Код:
<ipconfig default="192.164.0.164">

    <!--
        IANA-reserved private IPv4 network ranges
        Access only from local networks, external client can't have any of
        the following ip addresses
     -->
    <iprange min="0.0.0.0" max="255.255.255.255" address="192.168.0.164"/>

</ipconfig>


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.0.164

# 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=192.168.0.164

# 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
gameservers
1 192.168.0.164 123

в маршрутизаторе открыты порты:9014,2106,7777


Login Server
Код:
Starting Aion-Unique Login Server.

[INFO 2010-02-16 13-20-58] com.aionemu.commons.database.DatabaseFactory:134 - Su
ccessfully connected to database
[INFO 2010-02-16 13-21-00] com.aionemu.commons.database.dao.DAOManager:69 - Load
ed 4 DAO implementations.
[INFO 2010-02-16 13-21-00] com.aionemu.loginserver.network.ncrypt.KeyGen:60 - In
itializing Key Generator...
[INFO 2010-02-16 13-21-04] com.aionemu.loginserver.GameServerTable:68 - GameServ
erTable loaded 1 registered GameServers.
[INFO 2010-02-16 13-21-04] com.aionemu.loginserver.controller.BannedIpController
:63 - BannedIpController loaded 0 IP bans.
[INFO 2010-02-16 13-21-04] com.aionemu.commons.network.NioServer:121 - Server li
stening on IP: 192.168.0.164 Port 9014 for Gs Connections
[INFO 2010-02-16 13-21-04] com.aionemu.commons.network.NioServer:121 - Server li
stening on IP: 192.168.0.164 Port 2106 for Aion Connections
[INFO 2010-02-16 13-21-04] com.aionemu.loginserver.LoginServer:87 - Heap Memory
Usage: 9/30 MB
[INFO 2010-02-16 13-21-04] com.aionemu.loginserver.LoginServer:88 - NonHeap Memo
ry Usage: 15/96 MB
[INFO 2010-02-16 13-21-31] com.aionemu.loginserver.network.gameserver.GsConnecti
on:87 - GS connection from: 192.168.0.164
[INFO 2010-02-16 13-21-31] com.aionemu.loginserver.network.gameserver.GsConnecti
on:100 - recived packet: [C] 0x00 CM_GS_AUTH
[INFO 2010-02-16 13-21-31] com.aionemu.loginserver.network.gameserver.GsConnecti
on:180 - sending packet: [S] 0x00 SM_GS_AUTH_RESPONSE
[INFO 2010-02-16 13-21-31] com.aionemu.loginserver.network.gameserver.GsConnecti
on:100 - recived packet: [C] 0x04 CM_ACCOUNT_LIST
[INFO 2010-02-16 13-23-12] com.aionemu.loginserver.network.aion.AionConnection:1
32 - connection from: 85.174.44.41
[INFO 2010-02-16 13-23-12] com.aionemu.loginserver.network.aion.AionConnection:1
62 - recived packet: [C] 0x07 CM_AUTH_GG
[INFO 2010-02-16 13-23-13] com.aionemu.loginserver.network.aion.AionConnection:1
62 - recived packet: [C] 0x0B CM_LOGIN
[INFO 2010-02-16 13-23-13] com.aionemu.loginserver.network.aion.AionConnection:1
62 - recived packet: [C] 0x05 CM_SERVER_LIST
[INFO 2010-02-16 13-23-16] com.aionemu.loginserver.network.aion.AionConnection:1
62 - recived packet: [C] 0x02 CM_PLAY



Game Server
Код:
Starting Aion-Unique Game Server.

[INFO 2010-02-16 13-21-09] com.aionemu.commons.database.DatabaseFactory:134 - Su
ccessfully connected to database
[INFO 2010-02-16 13-21-11] com.aionemu.commons.database.dao.DAOManager:70 - Load
ed 13 DAO implementations.
[INFO 2010-02-16 13-21-12] com.aionemu.gameserver.dataholders.DataManager:127 -
##### STATIC DATA [section beginning] #####
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:108 -
Loaded world maps data: 41 maps
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:109 -
Loaded player exp table: 51 levels
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:110 -
Loaded 384 stat templates
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:111 -
Loaded 35425 item templates
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:112 -
Loaded 21710 npc templates
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:113 -
Loaded 4 initial player templates
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:114 -
Loaded 284 trade lists
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:115 -
Loaded 41 npc teleporter templates
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:116 -
Loaded 41 teleport locations
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:117 -
Loaded 5055 skill templates
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:118 -
Loaded 5900 skill learn entries
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:119 -
Loaded 7 cube expand entries
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:120 -
Loaded 41 bind point entries
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:121 -
Loaded 2784 quest data entries
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:122 -
Loaded 326 gatherable entries
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:123 -
Loaded 106 title entries
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:124 -
Loaded 16 walker routes
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:125 -
Loaded 176 zone entries
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:126 -
Loaded 560 goodslist entries
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:127 -
Loaded 32560 spawn entries
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:128 -
Loaded 266 tribe relation entries
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:129 -
Loaded 3784 recipe entries
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:165 -
##### [load time: 14 seconds] #####
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.dataholders.DataManager:166 -
##### STATIC DATA [section end] #####
[INFO 2010-02-16 13-21-26] com.aionemu.gameserver.services.DropService:65 - 2596
npc drops loaded
[INFO 2010-02-16 13-21-27] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 110010000 [1] : 226
[INFO 2010-02-16 13-21-27] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 120010000 [1] : 270
[INFO 2010-02-16 13-21-27] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 210010000 [1] : 1040
[INFO 2010-02-16 13-21-27] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 210010000 [2] : 1040
[INFO 2010-02-16 13-21-27] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 210030000 [1] : 2709
[INFO 2010-02-16 13-21-28] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 210020000 [1] : 4754
[INFO 2010-02-16 13-21-28] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 210060000 [1] : 3179
[INFO 2010-02-16 13-21-29] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 210040000 [1] : 3069
[INFO 2010-02-16 13-21-29] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 220010000 [1] : 1494
[INFO 2010-02-16 13-21-29] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 220010000 [2] : 1494
[INFO 2010-02-16 13-21-29] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 220030000 [1] : 3074
[INFO 2010-02-16 13-21-30] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 220020000 [1] : 4891
[INFO 2010-02-16 13-21-30] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 220050000 [1] : 2674
[INFO 2010-02-16 13-21-30] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 220040000 [1] : 3350
[INFO 2010-02-16 13-21-30] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 310040000 [1] : 1
[INFO 2010-02-16 13-21-30] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 310060000 [1] : 1
[INFO 2010-02-16 13-21-30] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 320040000 [1] : 1
[INFO 2010-02-16 13-21-30] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 320050000 [1] : 1
[INFO 2010-02-16 13-21-30] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 320070000 [1] : 1
[INFO 2010-02-16 13-21-31] com.aionemu.gameserver.spawnengine.SpawnEngine:348 -
Spawned 400010000 [1] : 1470
[INFO 2010-02-16 13-21-31] com.aionemu.gameserver.spawnengine.SpawnEngine:295 -
Loaded 22382 npc spawns
[INFO 2010-02-16 13-21-31] com.aionemu.gameserver.spawnengine.SpawnEngine:296 -
Loaded 12357 gatherable spawns
[INFO 2010-02-16 13-21-31] com.aionemu.gameserver.questEngine.handlers.QuestHand
lersManager:59 - Loaded 439 quest handler.
[INFO 2010-02-16 13-21-31] com.aionemu.gameserver.taskmanager.AbstractPeriodicTa
skManager:45 - PacketBroadcaster: Initialized.
[INFO 2010-02-16 13-21-31] com.aionemu.gameserver.GameServer:104 - Heap Memory U
sage: 396/989 MB
[INFO 2010-02-16 13-21-31] com.aionemu.gameserver.GameServer:105 - NonHeap Memor
y Usage: 22/96 MB
[INFO 2010-02-16 13-21-31] com.aionemu.gameserver.GameServer:103 - #############
####################################
[INFO 2010-02-16 13-21-31] com.aionemu.gameserver.GameServer:104 - AE Game Serve
r started in 22 seconds.
[INFO 2010-02-16 13-21-31] com.aionemu.gameserver.GameServer:105 - #############
####################################
[INFO 2010-02-16 13-21-31] com.aionemu.commons.network.NioServer:130 - Server li
stening on IP: 192.168.0.164 Port 7777 for Aion Connections
[INFO 2010-02-16 13-21-31] com.aionemu.gameserver.network.loginserver.LoginServe
r:102 - Connecting to LoginServer: /192.168.0.164:9014
[INFO 2010-02-16 13-21-31] com.aionemu.gameserver.network.loginserver.LoginServe
rConnection:90 - Connected to LoginServer!
[INFO 2010-02-16 13-21-31] com.aionemu.gameserver.network.loginserver.LoginServe
rConnection:185 - sending packet: [S] 0x00 SM_GS_AUTH
[INFO 2010-02-16 13-21-31] com.aionemu.gameserver.network.loginserver.LoginServe
rConnection:108 - recived packet: [C] 0x00 CM_GS_AUTH_RESPONSE
[INFO 2010-02-16 13-21-31] com.aionemu.gameserver.network.loginserver.LoginServe
rConnection:185 - sending packet: [S] 0x04 SM_ACCOUNT_LIST
[INFO 2010-02-16 13-21-41] com.aionemu.gameserver.spawnengine.RiftSpawnManager:9
5 - Spawning rift : ELTNEN_CM
[INFO 2010-02-16 13-21-41] com.aionemu.gameserver.spawnengine.RiftSpawnManager:9
5 - Spawning rift : HEIRON_FM
[INFO 2010-02-16 13-21-41] com.aionemu.gameserver.spawnengine.RiftSpawnManager:9
5 - Spawning rift : MORHEIM_BM
[INFO 2010-02-16 13-21-41] com.aionemu.gameserver.spawnengine.RiftSpawnManager:9
5 - Spawning rift : BELUSLAN_CM
Ответ
#2
Аналогичная проблема. Второю ночь не сплю, ламер я разэтакий. Меняли DLL-ку, переустанавилвали клиент, перписывали конфигурационные файлы. Всё без толку, не могут к моему гейм-серверу присоединиться!

P.S. Авторизацию проходим нормально.
Ответ
#3
gameserver.network.client.host=*
gameserver.network.login.address=localhost:9014
--------------------------
<ipconfig default="ВНЕШНИЙ IP">
--------------------------
loginserver.network.client.host=*
--------------------------
в БД:
gameservers
1 127.0.0.1 123
--------------------------
как то так пробуйте.
--------------------------
Пояснение:
gameserver.network.client.host=* - с какого ипа будут подключаться клиенты к геймсерверу. * - со всех.
gameserver.network.login.address=localhost:9014 - адрес логинсервера.
loginserver.network.client.host=* - с какого ипа будут подключаться клиенты к логинсерверу. * - со всех.
<ipconfig default="ВНЕШНИЙ IP"> - тут нужно указать ваш внешний айпи адрес, по которому к вам будут подключаться клиенты.
Ответ
#4
Спасибо, заработало.

Добавлено через 2 часа 56 минут
Теперь другой вопрос возник, как изменить статы персонажа? Судя по всему это в таблице player_settings, но поле settings там типа Blob и не понятно, что с ним делать.
Ответ
#5
Смотри Админ команды Aion. С их помощью сможешь изменить лвл/класс/добавить скиллы и т.д. Сами статы не меняются. Для того чтобы изменить статы какому-либо классу открываешь \gameserver\data\static_data\stats\класс.xml
и меняешь как тебе нужно Smile Внутри файла думаю разберешься сам, там всё понятно Smile А конкретному персу изменить хп/мп/дп пока не представляется возможным, по крайней мере я не в курсе где они хранятся.
Ответ


Возможно похожие темы ...
Тема Автор Ответы Просмотры Последний пост
  Ошибка при восстновления базы Nemesis 0 1,808 03-29-2015, 12:59 PM
Последний пост: Nemesis
  Ошибка при создании персонажа! бд Melinio 4 4,623 04-15-2014, 09:33 PM
Последний пост: Melinio
  Ошибка лс Азраэль 3 3,219 10-01-2013, 08:42 AM
Последний пост: TieLay
  Ошибка торговли с нипами чаром выше 60го уровня css 1 2,078 07-08-2013, 05:12 PM
Последний пост: css
  Досадная ошибка сервера которая вынесла уже мне мозг ... saati 27 6,503 03-18-2013, 09:02 PM
Последний пост: Krasavella
  Ошибка ЛС и ГС Keeborg 2 2,192 08-23-2012, 07:33 AM
Последний пост: Keeborg
  Ошибка LS smyke 6 2,629 05-05-2012, 10:18 PM
Последний пост: TieLay
  Ошибка в работе сервера 2.7 sullen.nv 3 2,877 01-25-2012, 05:22 PM
Последний пост: TieLay
  ошибка ЛС И ГС apinai 1 3,141 12-22-2011, 02:37 AM
Последний пост: iWord
  Ошибка 2.7 клиента OTCBuildClient32_woGG Wolfas 1 2,703 10-28-2011, 10:22 AM
Последний пост: 3EBC

Перейти к форуму:


Пользователи, просматривающие эту тему: 3 Гость(ей)