Primeiro você deve criar 2 hexid no LS; no caso os GS vão estar no DB que o login ta conectado, você deve abrir o db ir na tabela de gameserver, click botão direito do mouse e vai na opção "Dump SQL File" e salva em algum lugar, depois você abre o arquivo "gameservers.sql" que você salvo, e vai está assim.
/*
MySQL Data Transfer
Source Host: localhost
Source Database: db2
Target Host: localhost
Target Database: db2
Date: 17/02/2011 16:57:01
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for gameservers
-- ----------------------------
CREATE TABLE `gameservers` (
`server_id` int(11) NOT NULL DEFAULT '0',
`hexid` varchar(50) NOT NULL DEFAULT '',
`host` varchar(50) NOT NULL DEFAULT '',
PRIMARY KEY (`server_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records
-- ----------------------------
INSERT INTO `gameservers` VALUES ('1', '-56d34a09ee91f974915a37258ae15585', '');
INSERT INTO `gameservers` VALUES ('2', '-155cffdb4f13f99e06101ce3f5464285', '127.0.0.1');
Retira o que está vermelho e salva.
Depois va na outra db do outro GS e Execute Batch File no arquivo salvo já dito.
Obs: Cada GS deve ter IP diferente.
GS 1
# Bind ip of the gameserver, use * to bind on all available IPs
GameserverHostname = *
GameserverPort = 7777
GS 2
# Bind ip of the gameserver, use * to bind on all available IPs
GameserverHostname = *
GameserverPort = 7778
|