diff --git a/game-server/config/yjz_zy.ts b/game-server/config/yjz_zy.ts index 3863bf524..8358104dc 100644 --- a/game-server/config/yjz_zy.ts +++ b/game-server/config/yjz_zy.ts @@ -1,12 +1,12 @@ // 自营服务器 1 配置 export const zy1 = { 'connector': [ - { 'id': 'connector-server-1', 'port': 4051, 'clientHost': 'yjz-zy-game1.yev242.com', 'host': '172.16.4.140', 'clientPort': 3051, 'frontend': true }, - { 'id': 'connector-server-2', 'port': 4052, 'clientHost': 'yjz-zy-game1.yev242.com', 'host': '172.16.4.140', 'clientPort': 3052, 'frontend': true }, - { 'id': 'connector-server-3', 'port': 4053, 'clientHost': 'yjz-zy-game1.yev242.com', 'host': '172.16.4.140', 'clientPort': 3053, 'frontend': true }, - { 'id': 'connector-server-4', 'port': 4054, 'clientHost': 'yjz-zy-game1.yev242.com', 'host': '172.16.4.140', 'clientPort': 3054, 'frontend': true }, - { 'id': 'connector-server-5', 'port': 4055, 'clientHost': 'yjz-zy-game1.yev242.com', 'host': '172.16.4.140', 'clientPort': 3055, 'frontend': true }, - { 'id': 'connector-server-6', 'port': 4056, 'clientHost': 'yjz-zy-game1.yev242.com', 'host': '172.16.4.140', 'clientPort': 3056, 'frontend': true }, + { 'id': 'connector-server-1', 'port': 4051, 'clientHost': 'yjz-zy-game1.fdd73.com', 'host': '172.16.4.140', 'clientPort': 3051, 'frontend': true }, + { 'id': 'connector-server-2', 'port': 4052, 'clientHost': 'yjz-zy-game1.fdd73.com', 'host': '172.16.4.140', 'clientPort': 3052, 'frontend': true }, + { 'id': 'connector-server-3', 'port': 4053, 'clientHost': 'yjz-zy-game1.fdd73.com', 'host': '172.16.4.140', 'clientPort': 3053, 'frontend': true }, + { 'id': 'connector-server-4', 'port': 4054, 'clientHost': 'yjz-zy-game1.fdd73.com', 'host': '172.16.4.140', 'clientPort': 3054, 'frontend': true }, + { 'id': 'connector-server-5', 'port': 4055, 'clientHost': 'yjz-zy-game1.fdd73.com', 'host': '172.16.4.140', 'clientPort': 3055, 'frontend': true }, + { 'id': 'connector-server-6', 'port': 4056, 'clientHost': 'yjz-zy-game1.fdd73.com', 'host': '172.16.4.140', 'clientPort': 3056, 'frontend': true }, ], 'chat': [ { 'id': 'chat-server-1', 'host': '172.16.4.140', 'port': 6011 }, @@ -47,10 +47,10 @@ export const zy1 = { // 自营服务器 2 配置 export const zy2 = { 'connector': [ - { 'id': 'connector-server-7', 'port': 4051, 'clientHost': 'yjz-zy-game2.yev242.com', 'host': '172.16.4.146', 'clientPort': 3051, 'frontend': true }, - { 'id': 'connector-server-8', 'port': 4052, 'clientHost': 'yjz-zy-game2.yev242.com', 'host': '172.16.4.146', 'clientPort': 3052, 'frontend': true }, - { 'id': 'connector-server-9', 'port': 4053, 'clientHost': 'yjz-zy-game2.yev242.com', 'host': '172.16.4.146', 'clientPort': 3053, 'frontend': true }, - { 'id': 'connector-server-10', 'port': 4054, 'clientHost': 'yjz-zy-game2.yev242.com', 'host': '172.16.4.146', 'clientPort': 3054, 'frontend': true }, + { 'id': 'connector-server-7', 'port': 4051, 'clientHost': 'yjz-zy-game2.fdd73.com', 'host': '172.16.4.146', 'clientPort': 3051, 'frontend': true }, + { 'id': 'connector-server-8', 'port': 4052, 'clientHost': 'yjz-zy-game2.fdd73.com', 'host': '172.16.4.146', 'clientPort': 3052, 'frontend': true }, + { 'id': 'connector-server-9', 'port': 4053, 'clientHost': 'yjz-zy-game2.fdd73.com', 'host': '172.16.4.146', 'clientPort': 3053, 'frontend': true }, + { 'id': 'connector-server-10', 'port': 4054, 'clientHost': 'yjz-zy-game2.fdd73.com', 'host': '172.16.4.146', 'clientPort': 3054, 'frontend': true }, ], 'chat': [ { 'id': 'chat-server-3', 'host': '172.16.4.146', 'port': 6011 }, @@ -89,9 +89,9 @@ export const zy2 = { // 自营服务器 3 配置 export const zy3 = { 'connector': [ - { 'id': 'connector-server-11', 'port': 4051, 'clientHost': 'yjz-zy-game3.yev242.com', 'host': '172.16.4.142', 'clientPort': 3051, 'frontend': true }, - { 'id': 'connector-server-12', 'port': 4052, 'clientHost': 'yjz-zy-game3.yev242.com', 'host': '172.16.4.142', 'clientPort': 3052, 'frontend': true }, - { 'id': 'connector-server-gm', 'port': 4099, 'clientHost': 'yjz-zy-game3.yev242.com', 'host': '172.16.4.142', 'clientPort': 3099, 'frontend': true, 'isGM': 'true' } + { 'id': 'connector-server-11', 'port': 4051, 'clientHost': 'yjz-zy-game3.fdd73.com', 'host': '172.16.4.142', 'clientPort': 3051, 'frontend': true }, + { 'id': 'connector-server-12', 'port': 4052, 'clientHost': 'yjz-zy-game3.fdd73.com', 'host': '172.16.4.142', 'clientPort': 3052, 'frontend': true }, + { 'id': 'connector-server-gm', 'port': 4099, 'clientHost': 'yjz-zy-game3.fdd73.com', 'host': '172.16.4.142', 'clientPort': 3099, 'frontend': true, 'isGM': 'true' } ], 'chat': [ { 'id': 'chat-server-5', 'host': '172.16.4.142', 'port': 6011 }, @@ -134,12 +134,12 @@ export const zy3 = { // 自营服务器 4 配置 export const zy4 = { 'connector': [ - { 'id': 'connector-server-13', 'port': 4051, 'clientHost': 'yjz-zy-game4.yev242.com', 'host': '172.16.4.145', 'clientPort': 3051, 'frontend': true }, - { 'id': 'connector-server-14', 'port': 4052, 'clientHost': 'yjz-zy-game4.yev242.com', 'host': '172.16.4.145', 'clientPort': 3052, 'frontend': true }, - { 'id': 'connector-server-15', 'port': 4053, 'clientHost': 'yjz-zy-game4.yev242.com', 'host': '172.16.4.145', 'clientPort': 3053, 'frontend': true }, - { 'id': 'connector-server-16', 'port': 4054, 'clientHost': 'yjz-zy-game4.yev242.com', 'host': '172.16.4.145', 'clientPort': 3054, 'frontend': true }, - { 'id': 'connector-server-17', 'port': 4055, 'clientHost': 'yjz-zy-game4.yev242.com', 'host': '172.16.4.145', 'clientPort': 3055, 'frontend': true }, - { 'id': 'connector-server-18', 'port': 4056, 'clientHost': 'yjz-zy-game4.yev242.com', 'host': '172.16.4.145', 'clientPort': 3056, 'frontend': true }, + { 'id': 'connector-server-13', 'port': 4051, 'clientHost': 'yjz-zy-game4.fdd73.com', 'host': '172.16.4.145', 'clientPort': 3051, 'frontend': true }, + { 'id': 'connector-server-14', 'port': 4052, 'clientHost': 'yjz-zy-game4.fdd73.com', 'host': '172.16.4.145', 'clientPort': 3052, 'frontend': true }, + { 'id': 'connector-server-15', 'port': 4053, 'clientHost': 'yjz-zy-game4.fdd73.com', 'host': '172.16.4.145', 'clientPort': 3053, 'frontend': true }, + { 'id': 'connector-server-16', 'port': 4054, 'clientHost': 'yjz-zy-game4.fdd73.com', 'host': '172.16.4.145', 'clientPort': 3054, 'frontend': true }, + { 'id': 'connector-server-17', 'port': 4055, 'clientHost': 'yjz-zy-game4.fdd73.com', 'host': '172.16.4.145', 'clientPort': 3055, 'frontend': true }, + { 'id': 'connector-server-18', 'port': 4056, 'clientHost': 'yjz-zy-game4.fdd73.com', 'host': '172.16.4.145', 'clientPort': 3056, 'frontend': true }, ], 'chat': [ @@ -182,12 +182,12 @@ export const zy4 = { // 自营服务器 5 配置 export const zy5 = { 'connector': [ - { 'id': 'connector-server-19', 'port': 4051, 'clientHost': 'yjz-zy-game5.yev242.com', 'host': '172.16.4.141', 'clientPort': 3051, 'frontend': true }, - { 'id': 'connector-server-20', 'port': 4052, 'clientHost': 'yjz-zy-game5.yev242.com', 'host': '172.16.4.141', 'clientPort': 3052, 'frontend': true }, - { 'id': 'connector-server-21', 'port': 4053, 'clientHost': 'yjz-zy-game5.yev242.com', 'host': '172.16.4.141', 'clientPort': 3053, 'frontend': true }, - { 'id': 'connector-server-22', 'port': 4054, 'clientHost': 'yjz-zy-game5.yev242.com', 'host': '172.16.4.141', 'clientPort': 3054, 'frontend': true }, - { 'id': 'connector-server-23', 'port': 4055, 'clientHost': 'yjz-zy-game5.yev242.com', 'host': '172.16.4.141', 'clientPort': 3055, 'frontend': true }, - { 'id': 'connector-server-24', 'port': 4056, 'clientHost': 'yjz-zy-game5.yev242.com', 'host': '172.16.4.141', 'clientPort': 3056, 'frontend': true }, + { 'id': 'connector-server-19', 'port': 4051, 'clientHost': 'yjz-zy-game5.fdd73.com', 'host': '172.16.4.141', 'clientPort': 3051, 'frontend': true }, + { 'id': 'connector-server-20', 'port': 4052, 'clientHost': 'yjz-zy-game5.fdd73.com', 'host': '172.16.4.141', 'clientPort': 3052, 'frontend': true }, + { 'id': 'connector-server-21', 'port': 4053, 'clientHost': 'yjz-zy-game5.fdd73.com', 'host': '172.16.4.141', 'clientPort': 3053, 'frontend': true }, + { 'id': 'connector-server-22', 'port': 4054, 'clientHost': 'yjz-zy-game5.fdd73.com', 'host': '172.16.4.141', 'clientPort': 3054, 'frontend': true }, + { 'id': 'connector-server-23', 'port': 4055, 'clientHost': 'yjz-zy-game5.fdd73.com', 'host': '172.16.4.141', 'clientPort': 3055, 'frontend': true }, + { 'id': 'connector-server-24', 'port': 4056, 'clientHost': 'yjz-zy-game5.fdd73.com', 'host': '172.16.4.141', 'clientPort': 3056, 'frontend': true }, ], 'chat': [ { 'id': 'chat-server-9', 'host': '172.16.4.141', 'port': 6011 }, diff --git a/shared/pubUtils/battleUtils.ts b/shared/pubUtils/battleUtils.ts index 239521f78..db690eb9e 100644 --- a/shared/pubUtils/battleUtils.ts +++ b/shared/pubUtils/battleUtils.ts @@ -4,7 +4,7 @@ import { md5 } from './sdkUtil'; const BATTLE_CLASS_MOD = 100; // 存档分类模数 const CDN_URL_PREFIX_SQ = 'https://download-sgzzyz.yev242.com'; // sq cdn 服务器地址前缀 const CDN_URL_PREFIX_ZYZ = 'http://zyz-download.trgame.cn'; // 公司下载服务器地址前缀 -const CDN_URL_PREFIX_YJZ = 'https://yjz-cdn.yev242.com'; // 公司下载服务器地址前缀 +const CDN_URL_PREFIX_YJZ = 'https://srcdownload-yjz.fdd73.com'; // 公司下载服务器地址前缀 // 将字符串 crc32 处理后取模,以将随机字符串分组 function modStr(str: string, mod: number) {