From 4e377195037f010f243d4bb3d40efd7a00d0decd Mon Sep 17 00:00:00 2001 From: luying Date: Wed, 13 Sep 2023 17:15:37 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8E=20ci(=E9=85=8D=E7=BD=AE):=20?= =?UTF-8?q?=E5=9B=9E=E6=94=B6=E6=9C=8D=E5=8A=A1=E5=99=A8=E5=90=8E=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app.ts | 2 +- game-server/config/genServers.ts | 42 +- game-server/config/yjz_ch.ts | 927 +------------------ game-server/config/yjz_zy.ts | 1486 ++---------------------------- pushAndRestart.sh | 8 +- pushdocker.sh | 88 -- 6 files changed, 95 insertions(+), 2458 deletions(-) diff --git a/game-server/app.ts b/game-server/app.ts index fe74dd786..480807e49 100644 --- a/game-server/app.ts +++ b/game-server/app.ts @@ -228,7 +228,7 @@ async function treatStartLogic(app: _pinus.Application) { } if(app.isMaster()) { - redisService.initAllRank(); + // redisService.initAllRank(); redisService.readDataBase(); redisService.clearComBtlQueue(); redisService.clearChannelServers(); diff --git a/game-server/config/genServers.ts b/game-server/config/genServers.ts index 32ba9d542..741e0b03b 100644 --- a/game-server/config/genServers.ts +++ b/game-server/config/genServers.ts @@ -24,19 +24,19 @@ interface ServerConfig { name: string, host: string, clientHost: string, connect let [totalConnector, totalChat, totalRole, totalBattle, totalComBattle, totalGuild, totalActivity, totalOrder, totalGm, totalSystimer, totalGmConnector] = Array(11).fill(0); -// 服务器配置:公测渠道 +// // 服务器配置:公测渠道 // const CH_SERVERS_FILE = 'yjz_ch.ts'; // const ch1ServerConfig: ServerConfig[] = [ // { name: 'ch1', host: '172.16.4.144', clientHost: 'yjz-ch-game1.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 2, comBattleCnt: 1, guildCnt: 6, activityCnt: 2, orderCnt: 2, gmCnt: 1, systimerCnt: 1, gmConnectorCnt: 0 }, // { name: 'ch2', host: '172.16.4.139', clientHost: 'yjz-ch-game2.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 4, comBattleCnt: 1, guildCnt: 6, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, -// { name: 'ch3', host: '172.16.4.143', clientHost: 'yjz-ch-game3.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 2, comBattleCnt: 1, guildCnt: 6, activityCnt: 2, orderCnt: 2, gmCnt: 2, systimerCnt: 0, gmConnectorCnt: 1 }, +// { name: 'ch3', host: '172.16.4.143', clientHost: 'yjz-ch-game3.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 4, comBattleCnt: 1, guildCnt: 6, activityCnt: 2, orderCnt: 2, gmCnt: 2, systimerCnt: 0, gmConnectorCnt: 1 }, // { name: 'ch4', host: '172.16.4.175', clientHost: 'yjz-ch-game4.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 4, comBattleCnt: 1, guildCnt: 6, activityCnt: 4, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, -// { name: 'ch5', host: '172.16.4.172', clientHost: 'yjz-ch-game5.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 4, comBattleCnt: 1, guildCnt: 6, activityCnt: 4, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, -// { name: 'ch6', host: '172.16.4.170', clientHost: 'yjz-ch-game6.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 4, comBattleCnt: 1, guildCnt: 6, activityCnt: 4, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, -// { name: 'ch7', host: '172.16.4.199', clientHost: 'yjz-bk-game10.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 20, battleCnt: 0, comBattleCnt: 0, guildCnt: 0, activityCnt: 2, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, -// { name: 'ch8', host: '172.16.4.200', clientHost: 'yjz-bk-game11.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 10, battleCnt: 5, comBattleCnt: 2, guildCnt: 0, activityCnt: 5, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, -// { name: 'ch9', host: '172.16.4.201', clientHost: 'yjz-bk-game12.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 10, battleCnt: 5, comBattleCnt: 2, guildCnt: 0, activityCnt: 5, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, +// // { name: 'ch5', host: '172.16.4.172', clientHost: 'yjz-ch-game5.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 4, comBattleCnt: 1, guildCnt: 6, activityCnt: 4, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, +// // { name: 'ch6', host: '172.16.4.170', clientHost: 'yjz-ch-game6.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 6, battleCnt: 4, comBattleCnt: 1, guildCnt: 6, activityCnt: 4, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, +// // { name: 'ch7', host: '172.16.4.199', clientHost: 'yjz-bk-game10.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 20, battleCnt: 0, comBattleCnt: 0, guildCnt: 0, activityCnt: 2, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, +// // { name: 'ch8', host: '172.16.4.200', clientHost: 'yjz-bk-game11.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 10, battleCnt: 5, comBattleCnt: 2, guildCnt: 0, activityCnt: 5, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, +// // { name: 'ch9', host: '172.16.4.201', clientHost: 'yjz-bk-game12.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 10, battleCnt: 5, comBattleCnt: 2, guildCnt: 0, activityCnt: 5, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, // // { name: 'ch10', host: '172.16.4.203', clientHost: 'yjz-bk-game13.fdd73.com', connectorCnt: 0, chatCnt: 0, roleCnt: 0, battleCnt: 0, comBattleCnt: 0, guildCnt: 0, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, // // { name: 'ch11', host: '172.16.4.198', clientHost: 'yjz-bk-game14.fdd73.com', connectorCnt: 0, chatCnt: 0, roleCnt: 0, battleCnt: 0, comBattleCnt: 0, guildCnt: 0, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, // // { name: 'ch12', host: '172.16.4.204', clientHost: 'yjz-bk-game15.fdd73.com', connectorCnt: 0, chatCnt: 0, roleCnt: 0, battleCnt: 0, comBattleCnt: 0, guildCnt: 0, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, @@ -49,20 +49,20 @@ const ZY_SERVERS_FILE = 'yjz_zy.ts'; const zy1ServerConfig: ServerConfig[] = [ { name: 'zy1', host: '172.16.4.140', clientHost: 'yjz-zy-game1.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 1, guildCnt: 3, activityCnt: 2, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, { name: 'zy2', host: '172.16.4.146', clientHost: 'yjz-zy-game2.fdd73.com', connectorCnt: 4, chatCnt: 2, roleCnt: 9, battleCnt: 4, comBattleCnt: 1, guildCnt: 0, activityCnt: 3, orderCnt: 2, gmCnt: 1, systimerCnt: 1, gmConnectorCnt: 0 }, - { name: 'zy3', host: '172.16.4.142', clientHost: 'yjz-zy-game3.fdd73.com', connectorCnt: 2, chatCnt: 2, roleCnt: 9, battleCnt: 4, comBattleCnt: 1, guildCnt: 5, activityCnt: 0, orderCnt: 2, gmCnt: 2, systimerCnt: 0, gmConnectorCnt: 1 }, - { name: 'zy4', host: '172.16.4.145', clientHost: 'yjz-zy-game4.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, - { name: 'zy5', host: '172.16.4.141', clientHost: 'yjz-zy-game5.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, - { name: 'zy6', host: '172.16.4.174', clientHost: 'yjz-zy-game6.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, - { name: 'zy7', host: '172.16.4.173', clientHost: 'yjz-zy-game7.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, - { name: 'zy8', host: '172.16.4.169', clientHost: 'yjz-zy-game8.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, - { name: 'zy9', host: '172.16.4.176', clientHost: 'yjz-zy-game9.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, - { name: 'zy10', host: '172.16.4.171', clientHost: 'yjz-zy-game10.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, - { name: 'zy11', host: '172.16.4.195', clientHost: 'yjz-bk-game1.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 20, battleCnt: 0, comBattleCnt: 0, guildCnt: 2, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, - { name: 'zy12', host: '172.16.4.196', clientHost: 'yjz-bk-game2.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 20, battleCnt: 0, comBattleCnt: 0, guildCnt: 2, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, - { name: 'zy13', host: '172.16.4.193', clientHost: 'yjz-bk-game3.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 20, battleCnt: 0, comBattleCnt: 0, guildCnt: 2, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, - { name: 'zy14', host: '172.16.4.194', clientHost: 'yjz-bk-game4.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 0, battleCnt: 10, comBattleCnt: 0, guildCnt: 2, activityCnt: 10, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, - { name: 'zy15', host: '172.16.4.197', clientHost: 'yjz-bk-game5.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 0, battleCnt: 10, comBattleCnt: 0, guildCnt: 2, activityCnt: 10, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, - { name: 'zy16', host: '172.16.4.205', clientHost: 'yjz-bk-game6.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 0, battleCnt: 10, comBattleCnt: 5, guildCnt: 5, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + { name: 'zy3', host: '172.16.4.142', clientHost: 'yjz-zy-game3.fdd73.com', connectorCnt: 2, chatCnt: 2, roleCnt: 9, battleCnt: 4, comBattleCnt: 1, guildCnt: 5, activityCnt: 1, orderCnt: 2, gmCnt: 2, systimerCnt: 0, gmConnectorCnt: 1 }, + { name: 'zy4', host: '172.16.4.145', clientHost: 'yjz-zy-game4.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 3, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + { name: 'zy5', host: '172.16.4.141', clientHost: 'yjz-zy-game5.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 3, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + { name: 'zy6', host: '172.16.4.174', clientHost: 'yjz-zy-game6.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 3, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + { name: 'zy7', host: '172.16.4.173', clientHost: 'yjz-zy-game7.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 3, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + { name: 'zy8', host: '172.16.4.169', clientHost: 'yjz-zy-game8.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 2, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + // { name: 'zy9', host: '172.16.4.176', clientHost: 'yjz-zy-game9.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + // { name: 'zy10', host: '172.16.4.171', clientHost: 'yjz-zy-game10.fdd73.com', connectorCnt: 6, chatCnt: 2, roleCnt: 9, battleCnt: 2, comBattleCnt: 1, guildCnt: 5, activityCnt: 3, orderCnt: 2, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + // { name: 'zy11', host: '172.16.4.195', clientHost: 'yjz-bk-game1.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 20, battleCnt: 0, comBattleCnt: 0, guildCnt: 2, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + // { name: 'zy12', host: '172.16.4.196', clientHost: 'yjz-bk-game2.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 20, battleCnt: 0, comBattleCnt: 0, guildCnt: 2, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + // { name: 'zy13', host: '172.16.4.193', clientHost: 'yjz-bk-game3.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 20, battleCnt: 0, comBattleCnt: 0, guildCnt: 2, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + // { name: 'zy14', host: '172.16.4.194', clientHost: 'yjz-bk-game4.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 0, battleCnt: 10, comBattleCnt: 0, guildCnt: 2, activityCnt: 10, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + // { name: 'zy15', host: '172.16.4.197', clientHost: 'yjz-bk-game5.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 0, battleCnt: 10, comBattleCnt: 0, guildCnt: 2, activityCnt: 10, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, + // { name: 'zy16', host: '172.16.4.205', clientHost: 'yjz-bk-game6.fdd73.com', connectorCnt: 6, chatCnt: 0, roleCnt: 0, battleCnt: 10, comBattleCnt: 5, guildCnt: 5, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, // { name: 'zy17', host: '172.16.4.202', clientHost: 'yjz-bk-game7.fdd73.com', connectorCnt: 0, chatCnt: 0, roleCnt: 0, battleCnt: 0, comBattleCnt: 0, guildCnt: 0, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, // { name: 'zy18', host: '172.16.4.207', clientHost: 'yjz-bk-game8.fdd73.com', connectorCnt: 0, chatCnt: 0, roleCnt: 0, battleCnt: 0, comBattleCnt: 0, guildCnt: 0, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, // { name: 'zy19', host: '172.16.4.206', clientHost: 'yjz-bk-game9.fdd73.com', connectorCnt: 0, chatCnt: 0, roleCnt: 0, battleCnt: 0, comBattleCnt: 0, guildCnt: 0, activityCnt: 0, orderCnt: 0, gmCnt: 0, systimerCnt: 0, gmConnectorCnt: 0 }, diff --git a/game-server/config/yjz_ch.ts b/game-server/config/yjz_ch.ts index 8af80d0a8..7d87725f4 100644 --- a/game-server/config/yjz_ch.ts +++ b/game-server/config/yjz_ch.ts @@ -486,6 +486,16 @@ export const ch3 = { "id": "battle-server-8", "host": "172.16.4.143", "port": 6032 + }, + { + "id": "battle-server-9", + "host": "172.16.4.143", + "port": 6033 + }, + { + "id": "battle-server-10", + "host": "172.16.4.143", + "port": 6034 } ], "comBattle": [ @@ -662,22 +672,22 @@ export const ch4 = { ], "battle": [ { - "id": "battle-server-9", + "id": "battle-server-11", "host": "172.16.4.175", "port": 6031 }, { - "id": "battle-server-10", + "id": "battle-server-12", "host": "172.16.4.175", "port": 6032 }, { - "id": "battle-server-11", + "id": "battle-server-13", "host": "172.16.4.175", "port": 6033 }, { - "id": "battle-server-12", + "id": "battle-server-14", "host": "172.16.4.175", "port": 6034 } @@ -757,913 +767,4 @@ export const ch4 = { ], "gm": [], "systimer": [] -}; -export const ch5 = { - "connector": [ - { - "id": "connector-server-25", - "host": "172.16.4.172", - "port": 4051, - "clientHost": "yjz-ch-game5.fdd73.com", - "clientPort": 3051, - "frontend": true - }, - { - "id": "connector-server-26", - "host": "172.16.4.172", - "port": 4052, - "clientHost": "yjz-ch-game5.fdd73.com", - "clientPort": 3052, - "frontend": true - }, - { - "id": "connector-server-27", - "host": "172.16.4.172", - "port": 4053, - "clientHost": "yjz-ch-game5.fdd73.com", - "clientPort": 3053, - "frontend": true - }, - { - "id": "connector-server-28", - "host": "172.16.4.172", - "port": 4054, - "clientHost": "yjz-ch-game5.fdd73.com", - "clientPort": 3054, - "frontend": true - }, - { - "id": "connector-server-29", - "host": "172.16.4.172", - "port": 4055, - "clientHost": "yjz-ch-game5.fdd73.com", - "clientPort": 3055, - "frontend": true - }, - { - "id": "connector-server-30", - "host": "172.16.4.172", - "port": 4056, - "clientHost": "yjz-ch-game5.fdd73.com", - "clientPort": 3056, - "frontend": true - } - ], - "chat": [ - { - "id": "chat-server-9", - "host": "172.16.4.172", - "port": 6011 - }, - { - "id": "chat-server-10", - "host": "172.16.4.172", - "port": 6012 - } - ], - "role": [ - { - "id": "role-server-25", - "host": "172.16.4.172", - "port": 6021 - }, - { - "id": "role-server-26", - "host": "172.16.4.172", - "port": 6022 - }, - { - "id": "role-server-27", - "host": "172.16.4.172", - "port": 6023 - }, - { - "id": "role-server-28", - "host": "172.16.4.172", - "port": 6024 - }, - { - "id": "role-server-29", - "host": "172.16.4.172", - "port": 6025 - }, - { - "id": "role-server-30", - "host": "172.16.4.172", - "port": 6026 - } - ], - "battle": [ - { - "id": "battle-server-13", - "host": "172.16.4.172", - "port": 6031 - }, - { - "id": "battle-server-14", - "host": "172.16.4.172", - "port": 6032 - }, - { - "id": "battle-server-15", - "host": "172.16.4.172", - "port": 6033 - }, - { - "id": "battle-server-16", - "host": "172.16.4.172", - "port": 6034 - } - ], - "comBattle": [ - { - "id": "comBattle-server-5", - "host": "172.16.4.172", - "port": 6091 - } - ], - "guild": [ - { - "id": "guild-server-25", - "host": "172.16.4.172", - "port": 6041 - }, - { - "id": "guild-server-26", - "host": "172.16.4.172", - "port": 6042 - }, - { - "id": "guild-server-27", - "host": "172.16.4.172", - "port": 6043 - }, - { - "id": "guild-server-28", - "host": "172.16.4.172", - "port": 6044 - }, - { - "id": "guild-server-29", - "host": "172.16.4.172", - "port": 6045 - }, - { - "id": "guild-server-30", - "host": "172.16.4.172", - "port": 6046 - } - ], - "activity": [ - { - "id": "activity-server-12", - "host": "172.16.4.172", - "port": 6051 - }, - { - "id": "activity-server-13", - "host": "172.16.4.172", - "port": 6052 - }, - { - "id": "activity-server-14", - "host": "172.16.4.172", - "port": 6053 - }, - { - "id": "activity-server-15", - "host": "172.16.4.172", - "port": 6054 - } - ], - "order": [ - { - "id": "order-server-9", - "host": "172.16.4.172", - "port": 6061 - }, - { - "id": "order-server-10", - "host": "172.16.4.172", - "port": 6062 - } - ], - "gm": [], - "systimer": [] -}; -export const ch6 = { - "connector": [ - { - "id": "connector-server-31", - "host": "172.16.4.170", - "port": 4051, - "clientHost": "yjz-ch-game6.fdd73.com", - "clientPort": 3051, - "frontend": true - }, - { - "id": "connector-server-32", - "host": "172.16.4.170", - "port": 4052, - "clientHost": "yjz-ch-game6.fdd73.com", - "clientPort": 3052, - "frontend": true - }, - { - "id": "connector-server-33", - "host": "172.16.4.170", - "port": 4053, - "clientHost": "yjz-ch-game6.fdd73.com", - "clientPort": 3053, - "frontend": true - }, - { - "id": "connector-server-34", - "host": "172.16.4.170", - "port": 4054, - "clientHost": "yjz-ch-game6.fdd73.com", - "clientPort": 3054, - "frontend": true - }, - { - "id": "connector-server-35", - "host": "172.16.4.170", - "port": 4055, - "clientHost": "yjz-ch-game6.fdd73.com", - "clientPort": 3055, - "frontend": true - }, - { - "id": "connector-server-36", - "host": "172.16.4.170", - "port": 4056, - "clientHost": "yjz-ch-game6.fdd73.com", - "clientPort": 3056, - "frontend": true - } - ], - "chat": [ - { - "id": "chat-server-11", - "host": "172.16.4.170", - "port": 6011 - }, - { - "id": "chat-server-12", - "host": "172.16.4.170", - "port": 6012 - } - ], - "role": [ - { - "id": "role-server-31", - "host": "172.16.4.170", - "port": 6021 - }, - { - "id": "role-server-32", - "host": "172.16.4.170", - "port": 6022 - }, - { - "id": "role-server-33", - "host": "172.16.4.170", - "port": 6023 - }, - { - "id": "role-server-34", - "host": "172.16.4.170", - "port": 6024 - }, - { - "id": "role-server-35", - "host": "172.16.4.170", - "port": 6025 - }, - { - "id": "role-server-36", - "host": "172.16.4.170", - "port": 6026 - } - ], - "battle": [ - { - "id": "battle-server-17", - "host": "172.16.4.170", - "port": 6031 - }, - { - "id": "battle-server-18", - "host": "172.16.4.170", - "port": 6032 - }, - { - "id": "battle-server-19", - "host": "172.16.4.170", - "port": 6033 - }, - { - "id": "battle-server-20", - "host": "172.16.4.170", - "port": 6034 - } - ], - "comBattle": [ - { - "id": "comBattle-server-6", - "host": "172.16.4.170", - "port": 6091 - } - ], - "guild": [ - { - "id": "guild-server-31", - "host": "172.16.4.170", - "port": 6041 - }, - { - "id": "guild-server-32", - "host": "172.16.4.170", - "port": 6042 - }, - { - "id": "guild-server-33", - "host": "172.16.4.170", - "port": 6043 - }, - { - "id": "guild-server-34", - "host": "172.16.4.170", - "port": 6044 - }, - { - "id": "guild-server-35", - "host": "172.16.4.170", - "port": 6045 - }, - { - "id": "guild-server-36", - "host": "172.16.4.170", - "port": 6046 - } - ], - "activity": [ - { - "id": "activity-server-16", - "host": "172.16.4.170", - "port": 6051 - }, - { - "id": "activity-server-17", - "host": "172.16.4.170", - "port": 6052 - }, - { - "id": "activity-server-18", - "host": "172.16.4.170", - "port": 6053 - }, - { - "id": "activity-server-19", - "host": "172.16.4.170", - "port": 6054 - } - ], - "order": [ - { - "id": "order-server-11", - "host": "172.16.4.170", - "port": 6061 - }, - { - "id": "order-server-12", - "host": "172.16.4.170", - "port": 6062 - } - ], - "gm": [], - "systimer": [] -}; -export const ch7 = { - "connector": [ - { - "id": "connector-server-37", - "host": "172.16.4.199", - "port": 4051, - "clientHost": "yjz-bk-game10.fdd73.com", - "clientPort": 3051, - "frontend": true - }, - { - "id": "connector-server-38", - "host": "172.16.4.199", - "port": 4052, - "clientHost": "yjz-bk-game10.fdd73.com", - "clientPort": 3052, - "frontend": true - }, - { - "id": "connector-server-39", - "host": "172.16.4.199", - "port": 4053, - "clientHost": "yjz-bk-game10.fdd73.com", - "clientPort": 3053, - "frontend": true - }, - { - "id": "connector-server-40", - "host": "172.16.4.199", - "port": 4054, - "clientHost": "yjz-bk-game10.fdd73.com", - "clientPort": 3054, - "frontend": true - }, - { - "id": "connector-server-41", - "host": "172.16.4.199", - "port": 4055, - "clientHost": "yjz-bk-game10.fdd73.com", - "clientPort": 3055, - "frontend": true - }, - { - "id": "connector-server-42", - "host": "172.16.4.199", - "port": 4056, - "clientHost": "yjz-bk-game10.fdd73.com", - "clientPort": 3056, - "frontend": true - } - ], - "chat": [], - "role": [ - { - "id": "role-server-37", - "host": "172.16.4.199", - "port": 6021 - }, - { - "id": "role-server-38", - "host": "172.16.4.199", - "port": 6022 - }, - { - "id": "role-server-39", - "host": "172.16.4.199", - "port": 6023 - }, - { - "id": "role-server-40", - "host": "172.16.4.199", - "port": 6024 - }, - { - "id": "role-server-41", - "host": "172.16.4.199", - "port": 6025 - }, - { - "id": "role-server-42", - "host": "172.16.4.199", - "port": 6026 - }, - { - "id": "role-server-43", - "host": "172.16.4.199", - "port": 6027 - }, - { - "id": "role-server-44", - "host": "172.16.4.199", - "port": 6028 - }, - { - "id": "role-server-45", - "host": "172.16.4.199", - "port": 6029 - }, - { - "id": "role-server-46", - "host": "172.16.4.199", - "port": 6030 - }, - { - "id": "role-server-47", - "host": "172.16.4.199", - "port": 6031 - }, - { - "id": "role-server-48", - "host": "172.16.4.199", - "port": 6032 - }, - { - "id": "role-server-49", - "host": "172.16.4.199", - "port": 6033 - }, - { - "id": "role-server-50", - "host": "172.16.4.199", - "port": 6034 - }, - { - "id": "role-server-51", - "host": "172.16.4.199", - "port": 6035 - }, - { - "id": "role-server-52", - "host": "172.16.4.199", - "port": 6036 - }, - { - "id": "role-server-53", - "host": "172.16.4.199", - "port": 6037 - }, - { - "id": "role-server-54", - "host": "172.16.4.199", - "port": 6038 - }, - { - "id": "role-server-55", - "host": "172.16.4.199", - "port": 6039 - }, - { - "id": "role-server-56", - "host": "172.16.4.199", - "port": 6040 - } - ], - "battle": [], - "comBattle": [], - "guild": [], - "activity": [ - { - "id": "activity-server-20", - "host": "172.16.4.199", - "port": 6051 - }, - { - "id": "activity-server-21", - "host": "172.16.4.199", - "port": 6052 - } - ], - "order": [], - "gm": [], - "systimer": [] -}; -export const ch8 = { - "connector": [ - { - "id": "connector-server-43", - "host": "172.16.4.200", - "port": 4051, - "clientHost": "yjz-bk-game11.fdd73.com", - "clientPort": 3051, - "frontend": true - }, - { - "id": "connector-server-44", - "host": "172.16.4.200", - "port": 4052, - "clientHost": "yjz-bk-game11.fdd73.com", - "clientPort": 3052, - "frontend": true - }, - { - "id": "connector-server-45", - "host": "172.16.4.200", - "port": 4053, - "clientHost": "yjz-bk-game11.fdd73.com", - "clientPort": 3053, - "frontend": true - }, - { - "id": "connector-server-46", - "host": "172.16.4.200", - "port": 4054, - "clientHost": "yjz-bk-game11.fdd73.com", - "clientPort": 3054, - "frontend": true - }, - { - "id": "connector-server-47", - "host": "172.16.4.200", - "port": 4055, - "clientHost": "yjz-bk-game11.fdd73.com", - "clientPort": 3055, - "frontend": true - }, - { - "id": "connector-server-48", - "host": "172.16.4.200", - "port": 4056, - "clientHost": "yjz-bk-game11.fdd73.com", - "clientPort": 3056, - "frontend": true - } - ], - "chat": [], - "role": [ - { - "id": "role-server-57", - "host": "172.16.4.200", - "port": 6021 - }, - { - "id": "role-server-58", - "host": "172.16.4.200", - "port": 6022 - }, - { - "id": "role-server-59", - "host": "172.16.4.200", - "port": 6023 - }, - { - "id": "role-server-60", - "host": "172.16.4.200", - "port": 6024 - }, - { - "id": "role-server-61", - "host": "172.16.4.200", - "port": 6025 - }, - { - "id": "role-server-62", - "host": "172.16.4.200", - "port": 6026 - }, - { - "id": "role-server-63", - "host": "172.16.4.200", - "port": 6027 - }, - { - "id": "role-server-64", - "host": "172.16.4.200", - "port": 6028 - }, - { - "id": "role-server-65", - "host": "172.16.4.200", - "port": 6029 - }, - { - "id": "role-server-66", - "host": "172.16.4.200", - "port": 6030 - } - ], - "battle": [ - { - "id": "battle-server-21", - "host": "172.16.4.200", - "port": 6031 - }, - { - "id": "battle-server-22", - "host": "172.16.4.200", - "port": 6032 - }, - { - "id": "battle-server-23", - "host": "172.16.4.200", - "port": 6033 - }, - { - "id": "battle-server-24", - "host": "172.16.4.200", - "port": 6034 - }, - { - "id": "battle-server-25", - "host": "172.16.4.200", - "port": 6035 - } - ], - "comBattle": [ - { - "id": "comBattle-server-7", - "host": "172.16.4.200", - "port": 6091 - }, - { - "id": "comBattle-server-8", - "host": "172.16.4.200", - "port": 6092 - } - ], - "guild": [], - "activity": [ - { - "id": "activity-server-22", - "host": "172.16.4.200", - "port": 6051 - }, - { - "id": "activity-server-23", - "host": "172.16.4.200", - "port": 6052 - }, - { - "id": "activity-server-24", - "host": "172.16.4.200", - "port": 6053 - }, - { - "id": "activity-server-25", - "host": "172.16.4.200", - "port": 6054 - }, - { - "id": "activity-server-26", - "host": "172.16.4.200", - "port": 6055 - } - ], - "order": [], - "gm": [], - "systimer": [] -}; -export const ch9 = { - "connector": [ - { - "id": "connector-server-49", - "host": "172.16.4.201", - "port": 4051, - "clientHost": "yjz-bk-game12.fdd73.com", - "clientPort": 3051, - "frontend": true - }, - { - "id": "connector-server-50", - "host": "172.16.4.201", - "port": 4052, - "clientHost": "yjz-bk-game12.fdd73.com", - "clientPort": 3052, - "frontend": true - }, - { - "id": "connector-server-51", - "host": "172.16.4.201", - "port": 4053, - "clientHost": "yjz-bk-game12.fdd73.com", - "clientPort": 3053, - "frontend": true - }, - { - "id": "connector-server-52", - "host": "172.16.4.201", - "port": 4054, - "clientHost": "yjz-bk-game12.fdd73.com", - "clientPort": 3054, - "frontend": true - }, - { - "id": "connector-server-53", - "host": "172.16.4.201", - "port": 4055, - "clientHost": "yjz-bk-game12.fdd73.com", - "clientPort": 3055, - "frontend": true - }, - { - "id": "connector-server-54", - "host": "172.16.4.201", - "port": 4056, - "clientHost": "yjz-bk-game12.fdd73.com", - "clientPort": 3056, - "frontend": true - } - ], - "chat": [], - "role": [ - { - "id": "role-server-67", - "host": "172.16.4.201", - "port": 6021 - }, - { - "id": "role-server-68", - "host": "172.16.4.201", - "port": 6022 - }, - { - "id": "role-server-69", - "host": "172.16.4.201", - "port": 6023 - }, - { - "id": "role-server-70", - "host": "172.16.4.201", - "port": 6024 - }, - { - "id": "role-server-71", - "host": "172.16.4.201", - "port": 6025 - }, - { - "id": "role-server-72", - "host": "172.16.4.201", - "port": 6026 - }, - { - "id": "role-server-73", - "host": "172.16.4.201", - "port": 6027 - }, - { - "id": "role-server-74", - "host": "172.16.4.201", - "port": 6028 - }, - { - "id": "role-server-75", - "host": "172.16.4.201", - "port": 6029 - }, - { - "id": "role-server-76", - "host": "172.16.4.201", - "port": 6030 - } - ], - "battle": [ - { - "id": "battle-server-26", - "host": "172.16.4.201", - "port": 6031 - }, - { - "id": "battle-server-27", - "host": "172.16.4.201", - "port": 6032 - }, - { - "id": "battle-server-28", - "host": "172.16.4.201", - "port": 6033 - }, - { - "id": "battle-server-29", - "host": "172.16.4.201", - "port": 6034 - }, - { - "id": "battle-server-30", - "host": "172.16.4.201", - "port": 6035 - } - ], - "comBattle": [ - { - "id": "comBattle-server-9", - "host": "172.16.4.201", - "port": 6091 - }, - { - "id": "comBattle-server-10", - "host": "172.16.4.201", - "port": 6092 - } - ], - "guild": [], - "activity": [ - { - "id": "activity-server-27", - "host": "172.16.4.201", - "port": 6051 - }, - { - "id": "activity-server-28", - "host": "172.16.4.201", - "port": 6052 - }, - { - "id": "activity-server-29", - "host": "172.16.4.201", - "port": 6053 - }, - { - "id": "activity-server-30", - "host": "172.16.4.201", - "port": 6054 - }, - { - "id": "activity-server-31", - "host": "172.16.4.201", - "port": 6055 - } - ], - "order": [], - "gm": [], - "systimer": [] }; \ No newline at end of file diff --git a/game-server/config/yjz_zy.ts b/game-server/config/yjz_zy.ts index a4c3af669..97adeaae0 100644 --- a/game-server/config/yjz_zy.ts +++ b/game-server/config/yjz_zy.ts @@ -483,7 +483,13 @@ export const zy3 = { "port": 6045 } ], - "activity": [], + "activity": [ + { + "id": "activity-server-6", + "host": "172.16.4.142", + "port": 6051 + } + ], "order": [ { "id": "order-server-5", @@ -630,6 +636,11 @@ export const zy4 = { "id": "battle-server-12", "host": "172.16.4.145", "port": 6032 + }, + { + "id": "battle-server-13", + "host": "172.16.4.145", + "port": 6033 } ], "comBattle": [ @@ -668,17 +679,17 @@ export const zy4 = { ], "activity": [ { - "id": "activity-server-6", + "id": "activity-server-7", "host": "172.16.4.145", "port": 6051 }, { - "id": "activity-server-7", + "id": "activity-server-8", "host": "172.16.4.145", "port": 6052 }, { - "id": "activity-server-8", + "id": "activity-server-9", "host": "172.16.4.145", "port": 6053 } @@ -810,14 +821,19 @@ export const zy5 = { ], "battle": [ { - "id": "battle-server-13", + "id": "battle-server-14", "host": "172.16.4.141", "port": 6031 }, { - "id": "battle-server-14", + "id": "battle-server-15", "host": "172.16.4.141", "port": 6032 + }, + { + "id": "battle-server-16", + "host": "172.16.4.141", + "port": 6033 } ], "comBattle": [ @@ -856,17 +872,17 @@ export const zy5 = { ], "activity": [ { - "id": "activity-server-9", + "id": "activity-server-10", "host": "172.16.4.141", "port": 6051 }, { - "id": "activity-server-10", + "id": "activity-server-11", "host": "172.16.4.141", "port": 6052 }, { - "id": "activity-server-11", + "id": "activity-server-12", "host": "172.16.4.141", "port": 6053 } @@ -998,14 +1014,19 @@ export const zy6 = { ], "battle": [ { - "id": "battle-server-15", + "id": "battle-server-17", "host": "172.16.4.174", "port": 6031 }, { - "id": "battle-server-16", + "id": "battle-server-18", "host": "172.16.4.174", "port": 6032 + }, + { + "id": "battle-server-19", + "host": "172.16.4.174", + "port": 6033 } ], "comBattle": [ @@ -1044,17 +1065,17 @@ export const zy6 = { ], "activity": [ { - "id": "activity-server-12", + "id": "activity-server-13", "host": "172.16.4.174", "port": 6051 }, { - "id": "activity-server-13", + "id": "activity-server-14", "host": "172.16.4.174", "port": 6052 }, { - "id": "activity-server-14", + "id": "activity-server-15", "host": "172.16.4.174", "port": 6053 } @@ -1186,14 +1207,19 @@ export const zy7 = { ], "battle": [ { - "id": "battle-server-17", + "id": "battle-server-20", "host": "172.16.4.173", "port": 6031 }, { - "id": "battle-server-18", + "id": "battle-server-21", "host": "172.16.4.173", "port": 6032 + }, + { + "id": "battle-server-22", + "host": "172.16.4.173", + "port": 6033 } ], "comBattle": [ @@ -1232,17 +1258,17 @@ export const zy7 = { ], "activity": [ { - "id": "activity-server-15", + "id": "activity-server-16", "host": "172.16.4.173", "port": 6051 }, { - "id": "activity-server-16", + "id": "activity-server-17", "host": "172.16.4.173", "port": 6052 }, { - "id": "activity-server-17", + "id": "activity-server-18", "host": "172.16.4.173", "port": 6053 } @@ -1374,12 +1400,12 @@ export const zy8 = { ], "battle": [ { - "id": "battle-server-19", + "id": "battle-server-23", "host": "172.16.4.169", "port": 6031 }, { - "id": "battle-server-20", + "id": "battle-server-24", "host": "172.16.4.169", "port": 6032 } @@ -1389,6 +1415,11 @@ export const zy8 = { "id": "comBattle-server-8", "host": "172.16.4.169", "port": 6091 + }, + { + "id": "comBattle-server-9", + "host": "172.16.4.169", + "port": 6092 } ], "guild": [ @@ -1420,17 +1451,17 @@ export const zy8 = { ], "activity": [ { - "id": "activity-server-18", + "id": "activity-server-19", "host": "172.16.4.169", "port": 6051 }, { - "id": "activity-server-19", + "id": "activity-server-20", "host": "172.16.4.169", "port": 6052 }, { - "id": "activity-server-20", + "id": "activity-server-21", "host": "172.16.4.169", "port": 6053 } @@ -1449,1411 +1480,4 @@ export const zy8 = { ], "gm": [], "systimer": [] -}; -export const zy9 = { - "connector": [ - { - "id": "connector-server-43", - "host": "172.16.4.176", - "port": 4051, - "clientHost": "yjz-zy-game9.fdd73.com", - "clientPort": 3051, - "frontend": true - }, - { - "id": "connector-server-44", - "host": "172.16.4.176", - "port": 4052, - "clientHost": "yjz-zy-game9.fdd73.com", - "clientPort": 3052, - "frontend": true - }, - { - "id": "connector-server-45", - "host": "172.16.4.176", - "port": 4053, - "clientHost": "yjz-zy-game9.fdd73.com", - "clientPort": 3053, - "frontend": true - }, - { - "id": "connector-server-46", - "host": "172.16.4.176", - "port": 4054, - "clientHost": "yjz-zy-game9.fdd73.com", - "clientPort": 3054, - "frontend": true - }, - { - "id": "connector-server-47", - "host": "172.16.4.176", - "port": 4055, - "clientHost": "yjz-zy-game9.fdd73.com", - "clientPort": 3055, - "frontend": true - }, - { - "id": "connector-server-48", - "host": "172.16.4.176", - "port": 4056, - "clientHost": "yjz-zy-game9.fdd73.com", - "clientPort": 3056, - "frontend": true - } - ], - "chat": [ - { - "id": "chat-server-17", - "host": "172.16.4.176", - "port": 6011 - }, - { - "id": "chat-server-18", - "host": "172.16.4.176", - "port": 6012 - } - ], - "role": [ - { - "id": "role-server-73", - "host": "172.16.4.176", - "port": 6021 - }, - { - "id": "role-server-74", - "host": "172.16.4.176", - "port": 6022 - }, - { - "id": "role-server-75", - "host": "172.16.4.176", - "port": 6023 - }, - { - "id": "role-server-76", - "host": "172.16.4.176", - "port": 6024 - }, - { - "id": "role-server-77", - "host": "172.16.4.176", - "port": 6025 - }, - { - "id": "role-server-78", - "host": "172.16.4.176", - "port": 6026 - }, - { - "id": "role-server-79", - "host": "172.16.4.176", - "port": 6027 - }, - { - "id": "role-server-80", - "host": "172.16.4.176", - "port": 6028 - }, - { - "id": "role-server-81", - "host": "172.16.4.176", - "port": 6029 - } - ], - "battle": [ - { - "id": "battle-server-21", - "host": "172.16.4.176", - "port": 6031 - }, - { - "id": "battle-server-22", - "host": "172.16.4.176", - "port": 6032 - } - ], - "comBattle": [ - { - "id": "comBattle-server-9", - "host": "172.16.4.176", - "port": 6091 - } - ], - "guild": [ - { - "id": "guild-server-34", - "host": "172.16.4.176", - "port": 6041 - }, - { - "id": "guild-server-35", - "host": "172.16.4.176", - "port": 6042 - }, - { - "id": "guild-server-36", - "host": "172.16.4.176", - "port": 6043 - }, - { - "id": "guild-server-37", - "host": "172.16.4.176", - "port": 6044 - }, - { - "id": "guild-server-38", - "host": "172.16.4.176", - "port": 6045 - } - ], - "activity": [ - { - "id": "activity-server-21", - "host": "172.16.4.176", - "port": 6051 - }, - { - "id": "activity-server-22", - "host": "172.16.4.176", - "port": 6052 - }, - { - "id": "activity-server-23", - "host": "172.16.4.176", - "port": 6053 - } - ], - "order": [ - { - "id": "order-server-17", - "host": "172.16.4.176", - "port": 6061 - }, - { - "id": "order-server-18", - "host": "172.16.4.176", - "port": 6062 - } - ], - "gm": [], - "systimer": [] -}; -export const zy10 = { - "connector": [ - { - "id": "connector-server-49", - "host": "172.16.4.171", - "port": 4051, - "clientHost": "yjz-zy-game10.fdd73.com", - "clientPort": 3051, - "frontend": true - }, - { - "id": "connector-server-50", - "host": "172.16.4.171", - "port": 4052, - "clientHost": "yjz-zy-game10.fdd73.com", - "clientPort": 3052, - "frontend": true - }, - { - "id": "connector-server-51", - "host": "172.16.4.171", - "port": 4053, - "clientHost": "yjz-zy-game10.fdd73.com", - "clientPort": 3053, - "frontend": true - }, - { - "id": "connector-server-52", - "host": "172.16.4.171", - "port": 4054, - "clientHost": "yjz-zy-game10.fdd73.com", - "clientPort": 3054, - "frontend": true - }, - { - "id": "connector-server-53", - "host": "172.16.4.171", - "port": 4055, - "clientHost": "yjz-zy-game10.fdd73.com", - "clientPort": 3055, - "frontend": true - }, - { - "id": "connector-server-54", - "host": "172.16.4.171", - "port": 4056, - "clientHost": "yjz-zy-game10.fdd73.com", - "clientPort": 3056, - "frontend": true - } - ], - "chat": [ - { - "id": "chat-server-19", - "host": "172.16.4.171", - "port": 6011 - }, - { - "id": "chat-server-20", - "host": "172.16.4.171", - "port": 6012 - } - ], - "role": [ - { - "id": "role-server-82", - "host": "172.16.4.171", - "port": 6021 - }, - { - "id": "role-server-83", - "host": "172.16.4.171", - "port": 6022 - }, - { - "id": "role-server-84", - "host": "172.16.4.171", - "port": 6023 - }, - { - "id": "role-server-85", - "host": "172.16.4.171", - "port": 6024 - }, - { - "id": "role-server-86", - "host": "172.16.4.171", - "port": 6025 - }, - { - "id": "role-server-87", - "host": "172.16.4.171", - "port": 6026 - }, - { - "id": "role-server-88", - "host": "172.16.4.171", - "port": 6027 - }, - { - "id": "role-server-89", - "host": "172.16.4.171", - "port": 6028 - }, - { - "id": "role-server-90", - "host": "172.16.4.171", - "port": 6029 - } - ], - "battle": [ - { - "id": "battle-server-23", - "host": "172.16.4.171", - "port": 6031 - }, - { - "id": "battle-server-24", - "host": "172.16.4.171", - "port": 6032 - } - ], - "comBattle": [ - { - "id": "comBattle-server-10", - "host": "172.16.4.171", - "port": 6091 - } - ], - "guild": [ - { - "id": "guild-server-39", - "host": "172.16.4.171", - "port": 6041 - }, - { - "id": "guild-server-40", - "host": "172.16.4.171", - "port": 6042 - }, - { - "id": "guild-server-41", - "host": "172.16.4.171", - "port": 6043 - }, - { - "id": "guild-server-42", - "host": "172.16.4.171", - "port": 6044 - }, - { - "id": "guild-server-43", - "host": "172.16.4.171", - "port": 6045 - } - ], - "activity": [ - { - "id": "activity-server-24", - "host": "172.16.4.171", - "port": 6051 - }, - { - "id": "activity-server-25", - "host": "172.16.4.171", - "port": 6052 - }, - { - "id": "activity-server-26", - "host": "172.16.4.171", - "port": 6053 - } - ], - "order": [ - { - "id": "order-server-19", - "host": "172.16.4.171", - "port": 6061 - }, - { - "id": "order-server-20", - "host": "172.16.4.171", - "port": 6062 - } - ], - "gm": [], - "systimer": [] -}; -export const zy11 = { - "connector": [ - { - "id": "connector-server-55", - "host": "172.16.4.195", - "port": 4051, - "clientHost": "yjz-bk-game1.fdd73.com", - "clientPort": 3051, - "frontend": true - }, - { - "id": "connector-server-56", - "host": "172.16.4.195", - "port": 4052, - "clientHost": "yjz-bk-game1.fdd73.com", - "clientPort": 3052, - "frontend": true - }, - { - "id": "connector-server-57", - "host": "172.16.4.195", - "port": 4053, - "clientHost": "yjz-bk-game1.fdd73.com", - "clientPort": 3053, - "frontend": true - }, - { - "id": "connector-server-58", - "host": "172.16.4.195", - "port": 4054, - "clientHost": "yjz-bk-game1.fdd73.com", - "clientPort": 3054, - "frontend": true - }, - { - "id": "connector-server-59", - "host": "172.16.4.195", - "port": 4055, - "clientHost": "yjz-bk-game1.fdd73.com", - "clientPort": 3055, - "frontend": true - }, - { - "id": "connector-server-60", - "host": "172.16.4.195", - "port": 4056, - "clientHost": "yjz-bk-game1.fdd73.com", - "clientPort": 3056, - "frontend": true - } - ], - "chat": [], - "role": [ - { - "id": "role-server-91", - "host": "172.16.4.195", - "port": 6021 - }, - { - "id": "role-server-92", - "host": "172.16.4.195", - "port": 6022 - }, - { - "id": "role-server-93", - "host": "172.16.4.195", - "port": 6023 - }, - { - "id": "role-server-94", - "host": "172.16.4.195", - "port": 6024 - }, - { - "id": "role-server-95", - "host": "172.16.4.195", - "port": 6025 - }, - { - "id": "role-server-96", - "host": "172.16.4.195", - "port": 6026 - }, - { - "id": "role-server-97", - "host": "172.16.4.195", - "port": 6027 - }, - { - "id": "role-server-98", - "host": "172.16.4.195", - "port": 6028 - }, - { - "id": "role-server-99", - "host": "172.16.4.195", - "port": 6029 - }, - { - "id": "role-server-100", - "host": "172.16.4.195", - "port": 6030 - }, - { - "id": "role-server-101", - "host": "172.16.4.195", - "port": 6031 - }, - { - "id": "role-server-102", - "host": "172.16.4.195", - "port": 6032 - }, - { - "id": "role-server-103", - "host": "172.16.4.195", - "port": 6033 - }, - { - "id": "role-server-104", - "host": "172.16.4.195", - "port": 6034 - }, - { - "id": "role-server-105", - "host": "172.16.4.195", - "port": 6035 - }, - { - "id": "role-server-106", - "host": "172.16.4.195", - "port": 6036 - }, - { - "id": "role-server-107", - "host": "172.16.4.195", - "port": 6037 - }, - { - "id": "role-server-108", - "host": "172.16.4.195", - "port": 6038 - }, - { - "id": "role-server-109", - "host": "172.16.4.195", - "port": 6039 - }, - { - "id": "role-server-110", - "host": "172.16.4.195", - "port": 6040 - } - ], - "battle": [], - "comBattle": [], - "guild": [ - { - "id": "guild-server-44", - "host": "172.16.4.195", - "port": 6041 - }, - { - "id": "guild-server-45", - "host": "172.16.4.195", - "port": 6042 - } - ], - "activity": [], - "order": [], - "gm": [], - "systimer": [] -}; -export const zy12 = { - "connector": [ - { - "id": "connector-server-61", - "host": "172.16.4.196", - "port": 4051, - "clientHost": "yjz-bk-game2.fdd73.com", - "clientPort": 3051, - "frontend": true - }, - { - "id": "connector-server-62", - "host": "172.16.4.196", - "port": 4052, - "clientHost": "yjz-bk-game2.fdd73.com", - "clientPort": 3052, - "frontend": true - }, - { - "id": "connector-server-63", - "host": "172.16.4.196", - "port": 4053, - "clientHost": "yjz-bk-game2.fdd73.com", - "clientPort": 3053, - "frontend": true - }, - { - "id": "connector-server-64", - "host": "172.16.4.196", - "port": 4054, - "clientHost": "yjz-bk-game2.fdd73.com", - "clientPort": 3054, - "frontend": true - }, - { - "id": "connector-server-65", - "host": "172.16.4.196", - "port": 4055, - "clientHost": "yjz-bk-game2.fdd73.com", - "clientPort": 3055, - "frontend": true - }, - { - "id": "connector-server-66", - "host": "172.16.4.196", - "port": 4056, - "clientHost": "yjz-bk-game2.fdd73.com", - "clientPort": 3056, - "frontend": true - } - ], - "chat": [], - "role": [ - { - "id": "role-server-111", - "host": "172.16.4.196", - "port": 6021 - }, - { - "id": "role-server-112", - "host": "172.16.4.196", - "port": 6022 - }, - { - "id": "role-server-113", - "host": "172.16.4.196", - "port": 6023 - }, - { - "id": "role-server-114", - "host": "172.16.4.196", - "port": 6024 - }, - { - "id": "role-server-115", - "host": "172.16.4.196", - "port": 6025 - }, - { - "id": "role-server-116", - "host": "172.16.4.196", - "port": 6026 - }, - { - "id": "role-server-117", - "host": "172.16.4.196", - "port": 6027 - }, - { - "id": "role-server-118", - "host": "172.16.4.196", - "port": 6028 - }, - { - "id": "role-server-119", - "host": "172.16.4.196", - "port": 6029 - }, - { - "id": "role-server-120", - "host": "172.16.4.196", - "port": 6030 - }, - { - "id": "role-server-121", - "host": "172.16.4.196", - "port": 6031 - }, - { - "id": "role-server-122", - "host": "172.16.4.196", - "port": 6032 - }, - { - "id": "role-server-123", - "host": "172.16.4.196", - "port": 6033 - }, - { - "id": "role-server-124", - "host": "172.16.4.196", - "port": 6034 - }, - { - "id": "role-server-125", - "host": "172.16.4.196", - "port": 6035 - }, - { - "id": "role-server-126", - "host": "172.16.4.196", - "port": 6036 - }, - { - "id": "role-server-127", - "host": "172.16.4.196", - "port": 6037 - }, - { - "id": "role-server-128", - "host": "172.16.4.196", - "port": 6038 - }, - { - "id": "role-server-129", - "host": "172.16.4.196", - "port": 6039 - }, - { - "id": "role-server-130", - "host": "172.16.4.196", - "port": 6040 - } - ], - "battle": [], - "comBattle": [], - "guild": [ - { - "id": "guild-server-46", - "host": "172.16.4.196", - "port": 6041 - }, - { - "id": "guild-server-47", - "host": "172.16.4.196", - "port": 6042 - } - ], - "activity": [], - "order": [], - "gm": [], - "systimer": [] -}; -export const zy13 = { - "connector": [ - { - "id": "connector-server-67", - "host": "172.16.4.193", - "port": 4051, - "clientHost": "yjz-bk-game3.fdd73.com", - "clientPort": 3051, - "frontend": true - }, - { - "id": "connector-server-68", - "host": "172.16.4.193", - "port": 4052, - "clientHost": "yjz-bk-game3.fdd73.com", - "clientPort": 3052, - "frontend": true - }, - { - "id": "connector-server-69", - "host": "172.16.4.193", - "port": 4053, - "clientHost": "yjz-bk-game3.fdd73.com", - "clientPort": 3053, - "frontend": true - }, - { - "id": "connector-server-70", - "host": "172.16.4.193", - "port": 4054, - "clientHost": "yjz-bk-game3.fdd73.com", - "clientPort": 3054, - "frontend": true - }, - { - "id": "connector-server-71", - "host": "172.16.4.193", - "port": 4055, - "clientHost": "yjz-bk-game3.fdd73.com", - "clientPort": 3055, - "frontend": true - }, - { - "id": "connector-server-72", - "host": "172.16.4.193", - "port": 4056, - "clientHost": "yjz-bk-game3.fdd73.com", - "clientPort": 3056, - "frontend": true - } - ], - "chat": [], - "role": [ - { - "id": "role-server-131", - "host": "172.16.4.193", - "port": 6021 - }, - { - "id": "role-server-132", - "host": "172.16.4.193", - "port": 6022 - }, - { - "id": "role-server-133", - "host": "172.16.4.193", - "port": 6023 - }, - { - "id": "role-server-134", - "host": "172.16.4.193", - "port": 6024 - }, - { - "id": "role-server-135", - "host": "172.16.4.193", - "port": 6025 - }, - { - "id": "role-server-136", - "host": "172.16.4.193", - "port": 6026 - }, - { - "id": "role-server-137", - "host": "172.16.4.193", - "port": 6027 - }, - { - "id": "role-server-138", - "host": "172.16.4.193", - "port": 6028 - }, - { - "id": "role-server-139", - "host": "172.16.4.193", - "port": 6029 - }, - { - "id": "role-server-140", - "host": "172.16.4.193", - "port": 6030 - }, - { - "id": "role-server-141", - "host": "172.16.4.193", - "port": 6031 - }, - { - "id": "role-server-142", - "host": "172.16.4.193", - "port": 6032 - }, - { - "id": "role-server-143", - "host": "172.16.4.193", - "port": 6033 - }, - { - "id": "role-server-144", - "host": "172.16.4.193", - "port": 6034 - }, - { - "id": "role-server-145", - "host": "172.16.4.193", - "port": 6035 - }, - { - "id": "role-server-146", - "host": "172.16.4.193", - "port": 6036 - }, - { - "id": "role-server-147", - "host": "172.16.4.193", - "port": 6037 - }, - { - "id": "role-server-148", - "host": "172.16.4.193", - "port": 6038 - }, - { - "id": "role-server-149", - "host": "172.16.4.193", - "port": 6039 - }, - { - "id": "role-server-150", - "host": "172.16.4.193", - "port": 6040 - } - ], - "battle": [], - "comBattle": [], - "guild": [ - { - "id": "guild-server-48", - "host": "172.16.4.193", - "port": 6041 - }, - { - "id": "guild-server-49", - "host": "172.16.4.193", - "port": 6042 - } - ], - "activity": [], - "order": [], - "gm": [], - "systimer": [] -}; -export const zy14 = { - "connector": [ - { - "id": "connector-server-73", - "host": "172.16.4.194", - "port": 4051, - "clientHost": "yjz-bk-game4.fdd73.com", - "clientPort": 3051, - "frontend": true - }, - { - "id": "connector-server-74", - "host": "172.16.4.194", - "port": 4052, - "clientHost": "yjz-bk-game4.fdd73.com", - "clientPort": 3052, - "frontend": true - }, - { - "id": "connector-server-75", - "host": "172.16.4.194", - "port": 4053, - "clientHost": "yjz-bk-game4.fdd73.com", - "clientPort": 3053, - "frontend": true - }, - { - "id": "connector-server-76", - "host": "172.16.4.194", - "port": 4054, - "clientHost": "yjz-bk-game4.fdd73.com", - "clientPort": 3054, - "frontend": true - }, - { - "id": "connector-server-77", - "host": "172.16.4.194", - "port": 4055, - "clientHost": "yjz-bk-game4.fdd73.com", - "clientPort": 3055, - "frontend": true - }, - { - "id": "connector-server-78", - "host": "172.16.4.194", - "port": 4056, - "clientHost": "yjz-bk-game4.fdd73.com", - "clientPort": 3056, - "frontend": true - } - ], - "chat": [], - "role": [], - "battle": [ - { - "id": "battle-server-25", - "host": "172.16.4.194", - "port": 6031 - }, - { - "id": "battle-server-26", - "host": "172.16.4.194", - "port": 6032 - }, - { - "id": "battle-server-27", - "host": "172.16.4.194", - "port": 6033 - }, - { - "id": "battle-server-28", - "host": "172.16.4.194", - "port": 6034 - }, - { - "id": "battle-server-29", - "host": "172.16.4.194", - "port": 6035 - }, - { - "id": "battle-server-30", - "host": "172.16.4.194", - "port": 6036 - }, - { - "id": "battle-server-31", - "host": "172.16.4.194", - "port": 6037 - }, - { - "id": "battle-server-32", - "host": "172.16.4.194", - "port": 6038 - }, - { - "id": "battle-server-33", - "host": "172.16.4.194", - "port": 6039 - }, - { - "id": "battle-server-34", - "host": "172.16.4.194", - "port": 6040 - } - ], - "comBattle": [], - "guild": [ - { - "id": "guild-server-50", - "host": "172.16.4.194", - "port": 6041 - }, - { - "id": "guild-server-51", - "host": "172.16.4.194", - "port": 6042 - } - ], - "activity": [ - { - "id": "activity-server-27", - "host": "172.16.4.194", - "port": 6051 - }, - { - "id": "activity-server-28", - "host": "172.16.4.194", - "port": 6052 - }, - { - "id": "activity-server-29", - "host": "172.16.4.194", - "port": 6053 - }, - { - "id": "activity-server-30", - "host": "172.16.4.194", - "port": 6054 - }, - { - "id": "activity-server-31", - "host": "172.16.4.194", - "port": 6055 - }, - { - "id": "activity-server-32", - "host": "172.16.4.194", - "port": 6056 - }, - { - "id": "activity-server-33", - "host": "172.16.4.194", - "port": 6057 - }, - { - "id": "activity-server-34", - "host": "172.16.4.194", - "port": 6058 - }, - { - "id": "activity-server-35", - "host": "172.16.4.194", - "port": 6059 - }, - { - "id": "activity-server-36", - "host": "172.16.4.194", - "port": 6060 - } - ], - "order": [], - "gm": [], - "systimer": [] -}; -export const zy15 = { - "connector": [ - { - "id": "connector-server-79", - "host": "172.16.4.197", - "port": 4051, - "clientHost": "yjz-bk-game5.fdd73.com", - "clientPort": 3051, - "frontend": true - }, - { - "id": "connector-server-80", - "host": "172.16.4.197", - "port": 4052, - "clientHost": "yjz-bk-game5.fdd73.com", - "clientPort": 3052, - "frontend": true - }, - { - "id": "connector-server-81", - "host": "172.16.4.197", - "port": 4053, - "clientHost": "yjz-bk-game5.fdd73.com", - "clientPort": 3053, - "frontend": true - }, - { - "id": "connector-server-82", - "host": "172.16.4.197", - "port": 4054, - "clientHost": "yjz-bk-game5.fdd73.com", - "clientPort": 3054, - "frontend": true - }, - { - "id": "connector-server-83", - "host": "172.16.4.197", - "port": 4055, - "clientHost": "yjz-bk-game5.fdd73.com", - "clientPort": 3055, - "frontend": true - }, - { - "id": "connector-server-84", - "host": "172.16.4.197", - "port": 4056, - "clientHost": "yjz-bk-game5.fdd73.com", - "clientPort": 3056, - "frontend": true - } - ], - "chat": [], - "role": [], - "battle": [ - { - "id": "battle-server-35", - "host": "172.16.4.197", - "port": 6031 - }, - { - "id": "battle-server-36", - "host": "172.16.4.197", - "port": 6032 - }, - { - "id": "battle-server-37", - "host": "172.16.4.197", - "port": 6033 - }, - { - "id": "battle-server-38", - "host": "172.16.4.197", - "port": 6034 - }, - { - "id": "battle-server-39", - "host": "172.16.4.197", - "port": 6035 - }, - { - "id": "battle-server-40", - "host": "172.16.4.197", - "port": 6036 - }, - { - "id": "battle-server-41", - "host": "172.16.4.197", - "port": 6037 - }, - { - "id": "battle-server-42", - "host": "172.16.4.197", - "port": 6038 - }, - { - "id": "battle-server-43", - "host": "172.16.4.197", - "port": 6039 - }, - { - "id": "battle-server-44", - "host": "172.16.4.197", - "port": 6040 - } - ], - "comBattle": [], - "guild": [ - { - "id": "guild-server-52", - "host": "172.16.4.197", - "port": 6041 - }, - { - "id": "guild-server-53", - "host": "172.16.4.197", - "port": 6042 - } - ], - "activity": [ - { - "id": "activity-server-37", - "host": "172.16.4.197", - "port": 6051 - }, - { - "id": "activity-server-38", - "host": "172.16.4.197", - "port": 6052 - }, - { - "id": "activity-server-39", - "host": "172.16.4.197", - "port": 6053 - }, - { - "id": "activity-server-40", - "host": "172.16.4.197", - "port": 6054 - }, - { - "id": "activity-server-41", - "host": "172.16.4.197", - "port": 6055 - }, - { - "id": "activity-server-42", - "host": "172.16.4.197", - "port": 6056 - }, - { - "id": "activity-server-43", - "host": "172.16.4.197", - "port": 6057 - }, - { - "id": "activity-server-44", - "host": "172.16.4.197", - "port": 6058 - }, - { - "id": "activity-server-45", - "host": "172.16.4.197", - "port": 6059 - }, - { - "id": "activity-server-46", - "host": "172.16.4.197", - "port": 6060 - } - ], - "order": [], - "gm": [], - "systimer": [] -}; -export const zy16 = { - "connector": [ - { - "id": "connector-server-85", - "host": "172.16.4.205", - "port": 4051, - "clientHost": "yjz-bk-game6.fdd73.com", - "clientPort": 3051, - "frontend": true - }, - { - "id": "connector-server-86", - "host": "172.16.4.205", - "port": 4052, - "clientHost": "yjz-bk-game6.fdd73.com", - "clientPort": 3052, - "frontend": true - }, - { - "id": "connector-server-87", - "host": "172.16.4.205", - "port": 4053, - "clientHost": "yjz-bk-game6.fdd73.com", - "clientPort": 3053, - "frontend": true - }, - { - "id": "connector-server-88", - "host": "172.16.4.205", - "port": 4054, - "clientHost": "yjz-bk-game6.fdd73.com", - "clientPort": 3054, - "frontend": true - }, - { - "id": "connector-server-89", - "host": "172.16.4.205", - "port": 4055, - "clientHost": "yjz-bk-game6.fdd73.com", - "clientPort": 3055, - "frontend": true - }, - { - "id": "connector-server-90", - "host": "172.16.4.205", - "port": 4056, - "clientHost": "yjz-bk-game6.fdd73.com", - "clientPort": 3056, - "frontend": true - } - ], - "chat": [], - "role": [], - "battle": [ - { - "id": "battle-server-45", - "host": "172.16.4.205", - "port": 6031 - }, - { - "id": "battle-server-46", - "host": "172.16.4.205", - "port": 6032 - }, - { - "id": "battle-server-47", - "host": "172.16.4.205", - "port": 6033 - }, - { - "id": "battle-server-48", - "host": "172.16.4.205", - "port": 6034 - }, - { - "id": "battle-server-49", - "host": "172.16.4.205", - "port": 6035 - }, - { - "id": "battle-server-50", - "host": "172.16.4.205", - "port": 6036 - }, - { - "id": "battle-server-51", - "host": "172.16.4.205", - "port": 6037 - }, - { - "id": "battle-server-52", - "host": "172.16.4.205", - "port": 6038 - }, - { - "id": "battle-server-53", - "host": "172.16.4.205", - "port": 6039 - }, - { - "id": "battle-server-54", - "host": "172.16.4.205", - "port": 6040 - } - ], - "comBattle": [ - { - "id": "comBattle-server-11", - "host": "172.16.4.205", - "port": 6091 - }, - { - "id": "comBattle-server-12", - "host": "172.16.4.205", - "port": 6092 - }, - { - "id": "comBattle-server-13", - "host": "172.16.4.205", - "port": 6093 - }, - { - "id": "comBattle-server-14", - "host": "172.16.4.205", - "port": 6094 - }, - { - "id": "comBattle-server-15", - "host": "172.16.4.205", - "port": 6095 - } - ], - "guild": [ - { - "id": "guild-server-54", - "host": "172.16.4.205", - "port": 6041 - }, - { - "id": "guild-server-55", - "host": "172.16.4.205", - "port": 6042 - }, - { - "id": "guild-server-56", - "host": "172.16.4.205", - "port": 6043 - }, - { - "id": "guild-server-57", - "host": "172.16.4.205", - "port": 6044 - }, - { - "id": "guild-server-58", - "host": "172.16.4.205", - "port": 6045 - } - ], - "activity": [], - "order": [], - "gm": [], - "systimer": [] }; \ No newline at end of file diff --git a/pushAndRestart.sh b/pushAndRestart.sh index da928b05a..09e8d5712 100755 --- a/pushAndRestart.sh +++ b/pushAndRestart.sh @@ -11,15 +11,15 @@ envs=() masterAddr='' if [ ${1} == 'zy' ] ; then - sshAddr=( "yjz-zy-game1" "yjz-zy-game2" "yjz-zy-game3" "yjz-zy-game4" "yjz-zy-game5" "yjz-zy-game6" "yjz-zy-game7" "yjz-zy-game8" "yjz-zy-game9" "yjz-zy-game10" "yjz-bk-1" "yjz-bk-2" "yjz-bk-3" "yjz-bk-4" "yjz-bk-5" "yjz-bk-6") - envs=("zy1" "zy2" "zy3" "zy4" "zy5" "zy6" "zy7" "zy8" "zy9" "zy10" "zy11" "zy12" "zy13" "zy14" "zy15" "zy16") + sshAddr=( "yjz-zy-game1" "yjz-zy-game2" "yjz-zy-game3" "yjz-zy-game4" "yjz-zy-game5" "yjz-zy-game6" "yjz-zy-game7" "yjz-zy-game8") + envs=("zy1" "zy2" "zy3" "zy4" "zy5" "zy6" "zy7" "zy8") masterAddr=${sshAddr[0]} echo ${masterAddr} port=22 env='zy1' elif [ ${1} == 'ch' ] ; then - sshAddr=("yjz-ch-game1" "yjz-ch-game2" "yjz-ch-game3" "yjz-ch-game4" "yjz-ch-game5" "yjz-ch-game6" "yjz-bk-10" "yjz-bk-11" "yjz-bk-12") - envs=("ch1" "ch2" "ch3" "ch4" "ch5" "ch6" "ch7" "ch8" "ch9") + sshAddr=("yjz-ch-game1" "yjz-ch-game2" "yjz-ch-game3" "yjz-ch-game4") + envs=("ch1" "ch2" "ch3" "ch4") masterAddr=${sshAddr[0]} echo ${masterAddr} port=22 diff --git a/pushdocker.sh b/pushdocker.sh index 268fa2be0..368d69fa7 100755 --- a/pushdocker.sh +++ b/pushdocker.sh @@ -101,14 +101,6 @@ elif [ ${1} == 'zy8' ] ; then destUrl="root@yjz-zy-game8:/root/zyz/" port=22 env='zy1' -elif [ ${1} == 'zy9' ] ; then - destUrl="root@yjz-zy-game9:/root/zyz/" - port=22 - env='zy1' -elif [ ${1} == 'zy10' ] ; then - destUrl="root@yjz-zy-game10:/root/zyz/" - port=22 - env='zy1' elif [ ${1} == 'zyweb1' ] ; then destUrl="root@yjz-zy-web1:/root/zyz/" port=22 @@ -117,14 +109,6 @@ elif [ ${1} == 'zyweb2' ] ; then destUrl="root@yjz-zy-web2:/root/zyz/" port=22 env='zy1' -elif [ ${1} == 'zyweb3' ] ; then - destUrl="root@yjz-zy-web3:/root/zyz/" - port=22 - env='zy1' -elif [ ${1} == 'zyweb4' ] ; then - destUrl="root@yjz-zy-web4:/root/zyz/" - port=22 - env='zy1' # ch1 - ch6, chweb1 - chweb3 elif [ ${1} == 'ch1' ] ; then destUrl="root@yjz-ch-game1:/root/zyz/" @@ -142,22 +126,10 @@ elif [ ${1} == 'ch4' ] ; then destUrl="root@yjz-ch-game4:/root/zyz/" port=22 env='ch1' -elif [ ${1} == 'ch5' ] ; then - destUrl="root@yjz-ch-game5:/root/zyz/" - port=22 - env='ch1' -elif [ ${1} == 'ch6' ] ; then - destUrl="root@yjz-ch-game6:/root/zyz/" - port=22 - env='ch1' elif [ ${1} == 'chweb1' ] ; then destUrl="root@yjz-ch-web1:/root/zyz/" port=22 env='ch1' -elif [ ${1} == 'chweb2' ] ; then - destUrl="root@yjz-ch-web2:/root/zyz/" - port=22 - env='ch1' elif [ ${1} == 'chweb3' ] ; then destUrl="root@yjz-ch-web3:/root/zyz/" port=22 @@ -182,66 +154,6 @@ elif [ ${1} == 'yjzios' ] ; then destUrl="root@yjz-ios-review:/root/zyz/" port=22 env='yjzios' -elif [ ${1} == 'zy11' ] ; then - destUrl="root@yjz-bk-1:/root/zyz/" - port=22 - env='zy1' -elif [ ${1} == 'zy12' ] ; then - destUrl="root@yjz-bk-2:/root/zyz/" - port=22 - env='zy1' -elif [ ${1} == 'zy13' ] ; then - destUrl="root@yjz-bk-3:/root/zyz/" - port=22 - env='zy1' -elif [ ${1} == 'zy14' ] ; then - destUrl="root@yjz-bk-4:/root/zyz/" - port=22 - env='zy1' -elif [ ${1} == 'zy15' ] ; then - destUrl="root@yjz-bk-5:/root/zyz/" - port=22 - env='zy1' -elif [ ${1} == 'zy16' ] ; then - destUrl="root@yjz-bk-6:/root/zyz/" - port=22 - env='zy1' -# elif [ ${1} == 'zy17' ] ; then -# destUrl="root@yjz-bk-7:/root/zyz/" -# port=22 -# env='zy1' -# elif [ ${1} == 'zy18' ] ; then -# destUrl="root@yjz-bk-8:/root/zyz/" -# port=22 -# env='zy1' -# elif [ ${1} == 'zy19' ] ; then -# destUrl="root@yjz-bk-9:/root/zyz/" -# port=22 -# env='zy1' -elif [ ${1} == 'ch7' ] ; then - destUrl="root@yjz-bk-10:/root/zyz/" - port=22 - env='ch1' -elif [ ${1} == 'ch8' ] ; then - destUrl="root@yjz-bk-11:/root/zyz/" - port=22 - env='ch1' -elif [ ${1} == 'ch9' ] ; then - destUrl="root@yjz-bk-12:/root/zyz/" - port=22 - env='ch1' -# elif [ ${1} == 'ch10' ] ; then -# destUrl="root@yjz-bk-13:/root/zyz/" -# port=22 -# env='ch1' -# elif [ ${1} == 'ch11' ] ; then -# destUrl="root@yjz-bk-14:/root/zyz/" -# port=22 -# env='ch1' -# elif [ ${1} == 'ch12' ] ; then -# destUrl="root@yjz-bk-15:/root/zyz/" -# port=22 -# env='ch1' elif [ ${1} == 'zytest' ] ; then destUrl="root@yjz-bk-1:/root/zyz/" port=22