• SiteAnalyzer, технический и SEO-анализ сайтов

как сделать 2 ЛС с 1 базой акков

На форуме видел описания запуска двух сервов на 1 лс и человек отписался что сделал 2 логин сервера с одной базой аккаунтов и 2 сервера соответственно и все работает.
https://forum.zone-game.info/showthread.php?t=8266&page=2 2 сервера на 1'ом логине работать не будут
я себе поставил 2 логина которые используют 1 базу с аккаунтами
и 2 разных сервера с 1 паролем и разными портами чтоб не было конфликта и всё прекрасно работает )
как сделать 2 ЛС с одной базой аккаунтов не знаю( Подскажите плиз...
 
1 логинсервер можно ставить на 2-10 геймсерверов если только они 1 команды

1) в бд gsid 1 добавляешь строку ниже(после 1 ставишь 2 - 3 и т.д.)
2)в геймсервере конфиги находишь нетворк
# Id of this game server
gameserver.network.login.gsid = 1 (вместо 1 сюда 2 - 3 и т.д.)
 
Последнее редактирование:
1 логинсервер можно ставить на 2-10 геймсерверов если только они 1 команды

1) в бд gsid 1 добавляешь строку ниже(после 1 ставишь 2 - 3 и т.д.)
2)в геймсервере конфиги находишь нетворк
# Id of this game server
gameserver.network.login.gsid = 1 (вместо 1 сюда 2 - 3 и т.д.)
Спасибо, но я это знаю, проблема в том что когда запускаешь игру, клиент видит 2 сервера, заходишь на любой сервак и попадаешь на один и тот же. как это тогда исправить????
 
Спасибо, но я это знаю, проблема в том что когда запускаешь игру, клиент видит 2 сервера, заходишь на любой сервак и попадаешь на один и тот же. как это тогда исправить????
скрин с бд gsid

сюда скинь
 
#
# This file is part of aion-lightning <aion-lightning.org>.
#
# aion-lightning is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# aion-lightning is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with aion-lightning. If not, see <http://www.gnu.org/licenses/>.
#
# ----------------------------
# Network Config's:
# ----------------------------

# 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 = 127.0.0.1:9014

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

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

# Address of chat server
# Ip and port of chat server should be accessible from
# 1) game server
# 2) all connected clients
gameserver.network.chat.address = 127.0.0.1:9021

# Password of this game server for chat server
gameserver.network.chat.password = aion

# Number of extra threads dedicated only to read/write network data.
# Value < 1 means that acceptor thread will also handle read & write.
# Value > 0 means there will be x dedicated read/write threads + 1 acceptor.
gameserver.network.nio.threads = 1

# Number of threads (min) that will be used to execute client packets
gameserver.network.packet.processor.threads.min = 4

# Number of threads (max) that will be used to execute client packets
gameserver.network.packet.processor.threads.max = 4

# Threshold used to decide when packet processor thread should be killed
# It have effect only if min threads != max threads
gameserver.network.packet.processor.threshold.kill = 3

# Threshold used to decide when extra packet processor thread should be spawned
# It have effect only if min threads != max threads
gameserver.network.packet.processor.threshold.spawn = 50

# This will enable or disable the messages for unknown packets
gameserver.network.display.unknownpackets = true

# Enable flood protector
gameserver.network.flood.connections = false

# Flood ms in tick
gameserver.network.flood.tick = 1000

# Short period
gameserver.network.flood.short.warn = 10
gameserver.network.flood.short.reject = 20
gameserver.network.flood.short.tick = 10

# Long period
gameserver.network.flood.long.warn = 30
gameserver.network.flood.long.reject = 60
gameserver.network.flood.long.tick = 60
#
# This file is part of aion-lightning <aion-lightning.org>.
#
# aion-lightning is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# aion-lightning is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with aion-lightning. If not, see <http://www.gnu.org/licenses/>.
#
# ----------------------------
# Network Config's:
# ----------------------------

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

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

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

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

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

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

# Address of chat server
# Ip and port of chat server should be accessible from
# 1) game server
# 2) all connected clients
gameserver.network.chat.address = 127.0.0.1:9021

# Password of this game server for chat server
gameserver.network.chat.password = aion2

# Number of extra threads dedicated only to read/write network data.
# Value < 1 means that acceptor thread will also handle read & write.
# Value > 0 means there will be x dedicated read/write threads + 1 acceptor.
gameserver.network.nio.threads = 1

# Number of threads (min) that will be used to execute client packets
gameserver.network.packet.processor.threads.min = 4

# Number of threads (max) that will be used to execute client packets
gameserver.network.packet.processor.threads.max = 4

# Threshold used to decide when packet processor thread should be killed
# It have effect only if min threads != max threads
gameserver.network.packet.processor.threshold.kill = 3

# Threshold used to decide when extra packet processor thread should be spawned
# It have effect only if min threads != max threads
gameserver.network.packet.processor.threshold.spawn = 50

# This will enable or disable the messages for unknown packets
gameserver.network.display.unknownpackets = true

# Enable flood protector
gameserver.network.flood.connections = false

# Flood ms in tick
gameserver.network.flood.tick = 1000

# Short period
gameserver.network.flood.short.warn = 10
gameserver.network.flood.short.reject = 20
gameserver.network.flood.short.tick = 10

# Long period
gameserver.network.flood.long.warn = 30
gameserver.network.flood.long.reject = 60
gameserver.network.flood.long.tick = 60
 
#
# This file is part of aion-lightning <aion-lightning.org>.
#
# aion-lightning is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# aion-lightning is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with aion-lightning. If not, see <http://www.gnu.org/licenses/>.
#
# ----------------------------
# Network Config's:
# ----------------------------

# 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 = 127.0.0.1:9014

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

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

# Address of chat server
# Ip and port of chat server should be accessible from
# 1) game server
# 2) all connected clients
gameserver.network.chat.address = 127.0.0.1:9021

# Password of this game server for chat server
gameserver.network.chat.password = aion

# Number of extra threads dedicated only to read/write network data.
# Value < 1 means that acceptor thread will also handle read & write.
# Value > 0 means there will be x dedicated read/write threads + 1 acceptor.
gameserver.network.nio.threads = 1

# Number of threads (min) that will be used to execute client packets
gameserver.network.packet.processor.threads.min = 4

# Number of threads (max) that will be used to execute client packets
gameserver.network.packet.processor.threads.max = 4

# Threshold used to decide when packet processor thread should be killed
# It have effect only if min threads != max threads
gameserver.network.packet.processor.threshold.kill = 3

# Threshold used to decide when extra packet processor thread should be spawned
# It have effect only if min threads != max threads
gameserver.network.packet.processor.threshold.spawn = 50

# This will enable or disable the messages for unknown packets
gameserver.network.display.unknownpackets = true

# Enable flood protector
gameserver.network.flood.connections = false

# Flood ms in tick
gameserver.network.flood.tick = 1000

# Short period
gameserver.network.flood.short.warn = 10
gameserver.network.flood.short.reject = 20
gameserver.network.flood.short.tick = 10

# Long period
gameserver.network.flood.long.warn = 30
gameserver.network.flood.long.reject = 60
gameserver.network.flood.long.tick = 60
#
# This file is part of aion-lightning <aion-lightning.org>.
#
# aion-lightning is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# aion-lightning is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with aion-lightning. If not, see <http://www.gnu.org/licenses/>.
#
# ----------------------------
# Network Config's:
# ----------------------------

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

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

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

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

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

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

# Address of chat server
# Ip and port of chat server should be accessible from
# 1) game server
# 2) all connected clients
gameserver.network.chat.address = 127.0.0.1:9021

# Password of this game server for chat server
gameserver.network.chat.password = aion2

# Number of extra threads dedicated only to read/write network data.
# Value < 1 means that acceptor thread will also handle read & write.
# Value > 0 means there will be x dedicated read/write threads + 1 acceptor.
gameserver.network.nio.threads = 1

# Number of threads (min) that will be used to execute client packets
gameserver.network.packet.processor.threads.min = 4

# Number of threads (max) that will be used to execute client packets
gameserver.network.packet.processor.threads.max = 4

# Threshold used to decide when packet processor thread should be killed
# It have effect only if min threads != max threads
gameserver.network.packet.processor.threshold.kill = 3

# Threshold used to decide when extra packet processor thread should be spawned
# It have effect only if min threads != max threads
gameserver.network.packet.processor.threshold.spawn = 50

# This will enable or disable the messages for unknown packets
gameserver.network.display.unknownpackets = true

# Enable flood protector
gameserver.network.flood.connections = false

# Flood ms in tick
gameserver.network.flood.tick = 1000

# Short period
gameserver.network.flood.short.warn = 10
gameserver.network.flood.short.reject = 20
gameserver.network.flood.short.tick = 10

# Long period
gameserver.network.flood.long.warn = 30
gameserver.network.flood.long.reject = 60
gameserver.network.flood.long.tick = 60
скрин бд, а не конфиги
 
Последовательность моих действий: сначало я запустил первый сервер, проверил, все работает клиент запускается, почти все нужные изменения сделал. Затем сделал копию папка ГС и переименовал ее в ГС1 , в навикат добавил второй сервер, в конфигах 2 ГС изменил gsid на 126 и port на 7778, поменял пароль. Судя по мануалам все должно работать, но не работает.
 
Последовательность моих действий: сначало я запустил первый сервер, проверил, все работает клиент запускается, почти все нужные изменения сделал. Затем сделал копию папка ГС и переименовал ее в ГС1 , в навикат добавил второй сервер, в конфигах 2 ГС изменил gsid на 126 и port на 7778, поменял пароль. Судя по мануалам все должно работать, но не работает.
в бд и ГСах выставляй ип адреса а не *
 
а есть решение подобной проблемы???
есть но наврятли кто будет заниматся решением такой проблемы.

проще у провайдера купить статику за 300 рублей и не парится
 
Назад
Сверху