229 lines
12 KiB
TypeScript
229 lines
12 KiB
TypeScript
// 自营服务器 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 },
|
|
],
|
|
'chat': [
|
|
{ 'id': 'chat-server-1', 'host': '172.16.4.140', 'port': 6011 },
|
|
{ 'id': 'chat-server-2', 'host': '172.16.4.140', 'port': 6012 },
|
|
],
|
|
'role': [
|
|
{ 'id': 'role-server-1', 'host': '172.16.4.140', 'port': 6021 },
|
|
{ 'id': 'role-server-2', 'host': '172.16.4.140', 'port': 6022 },
|
|
{ 'id': 'role-server-3', 'host': '172.16.4.140', 'port': 6023 },
|
|
{ 'id': 'role-server-4', 'host': '172.16.4.140', 'port': 6024 },
|
|
{ 'id': 'role-server-5', 'host': '172.16.4.140', 'port': 6025 },
|
|
{ 'id': 'role-server-6', 'host': '172.16.4.140', 'port': 6026 },
|
|
],
|
|
'battle': [
|
|
{ 'id': 'battle-server-1', 'host': '172.16.4.140', 'port': 6031 },
|
|
{ 'id': 'battle-server-2', 'host': '172.16.4.140', 'port': 6032 },
|
|
],
|
|
'gm': [],
|
|
'systimer': [],
|
|
'guild': [
|
|
{ 'id': 'guild-server-1', 'host': '172.16.4.140', 'port': 6041 },
|
|
{ 'id': 'guild-server-2', 'host': '172.16.4.140', 'port': 6042 },
|
|
{ 'id': 'guild-server-3', 'host': '172.16.4.140', 'port': 6043 },
|
|
{ 'id': 'guild-server-4', 'host': '172.16.4.140', 'port': 6044 },
|
|
{ 'id': 'guild-server-5', 'host': '172.16.4.140', 'port': 6045 },
|
|
{ 'id': 'guild-server-6', 'host': '172.16.4.140', 'port': 6046 },
|
|
],
|
|
'activity': [
|
|
{ 'id': 'activity-server-1', 'host': '172.16.4.140', 'port': 6051 },
|
|
{ 'id': 'activity-server-2', 'host': '172.16.4.140', 'port': 6052 },
|
|
],
|
|
'order': [
|
|
{ 'id': 'order-server-1', 'host': '172.16.4.140', 'port': 6061 },
|
|
{ 'id': 'order-server-2', 'host': '172.16.4.140', 'port': 6062 },
|
|
]
|
|
};
|
|
|
|
// 自营服务器 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 },
|
|
],
|
|
'chat': [
|
|
{ 'id': 'chat-server-3', 'host': '172.16.4.146', 'port': 6011 },
|
|
{ 'id': 'chat-server-4', 'host': '172.16.4.146', 'port': 6012 },
|
|
],
|
|
'role': [
|
|
{ 'id': 'role-server-7', 'host': '172.16.4.146', 'port': 6021 },
|
|
{ 'id': 'role-server-8', 'host': '172.16.4.146', 'port': 6022 },
|
|
{ 'id': 'role-server-9', 'host': '172.16.4.146', 'port': 6023 },
|
|
{ 'id': 'role-server-10', 'host': '172.16.4.146', 'port': 6024 },
|
|
],
|
|
'battle': [
|
|
{ 'id': 'battle-server-3', 'host': '172.16.4.146', 'port': 6031 },
|
|
{ 'id': 'battle-server-4', 'host': '172.16.4.146', 'port': 6032 },
|
|
{ 'id': 'battle-server-5', 'host': '172.16.4.146', 'port': 6033 },
|
|
{ 'id': 'battle-server-6', 'host': '172.16.4.146', 'port': 6034 },
|
|
],
|
|
'gm': [
|
|
{ 'id': 'gm-server-1', 'host': '172.16.4.146', 'port': 6071 },
|
|
],
|
|
'systimer': [
|
|
{ 'id': 'systimer-server-1', 'host': '172.16.4.146', 'port': 6081 },
|
|
],
|
|
'guild': [],
|
|
'activity': [
|
|
{ 'id': 'activity-server-3', 'host': '172.16.4.146', 'port': 6051 },
|
|
{ 'id': 'activity-server-4', 'host': '172.16.4.146', 'port': 6052 },
|
|
{ 'id': 'activity-server-5', 'host': '172.16.4.146', 'port': 6053 },
|
|
],
|
|
'order': [
|
|
{ 'id': 'order-server-3', 'host': '172.16.4.146', 'port': 6061 },
|
|
{ 'id': 'order-server-4', 'host': '172.16.4.146', 'port': 6062 },
|
|
],
|
|
};
|
|
|
|
// 自营服务器 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' }
|
|
],
|
|
'chat': [
|
|
{ 'id': 'chat-server-5', 'host': '172.16.4.142', 'port': 6011 },
|
|
{ 'id': 'chat-server-6', 'host': '172.16.4.142', 'port': 6012 },
|
|
],
|
|
'role': [
|
|
{ 'id': 'role-server-11', 'host': '172.16.4.142', 'port': 6021 },
|
|
{ 'id': 'role-server-12', 'host': '172.16.4.142', 'port': 6022 },
|
|
{ 'id': 'role-server-13', 'host': '172.16.4.142', 'port': 6023 },
|
|
{ 'id': 'role-server-14', 'host': '172.16.4.142', 'port': 6024 },
|
|
{ 'id': 'role-server-15', 'host': '172.16.4.142', 'port': 6025 },
|
|
{ 'id': 'role-server-16', 'host': '172.16.4.142', 'port': 6026 },
|
|
],
|
|
'battle': [
|
|
{ 'id': 'battle-server-7', 'host': '172.16.4.142', 'port': 6031 },
|
|
{ 'id': 'battle-server-8', 'host': '172.16.4.142', 'port': 6032 },
|
|
{ 'id': 'battle-server-9', 'host': '172.16.4.142', 'port': 6033 },
|
|
{ 'id': 'battle-server-10', 'host': '172.16.4.142', 'port': 6034 },
|
|
],
|
|
'gm': [
|
|
{ 'id': 'gm-server-2', 'host': '172.16.4.142', 'port': 6071 },
|
|
{ 'id': 'gm-server-3', 'host': '172.16.4.142', 'port': 6072 },
|
|
],
|
|
'systimer': [],
|
|
'guild': [
|
|
{ 'id': 'guild-server-7', 'host': '172.16.4.142', 'port': 6041 },
|
|
{ 'id': 'guild-server-8', 'host': '172.16.4.142', 'port': 6042 },
|
|
{ 'id': 'guild-server-9', 'host': '172.16.4.142', 'port': 6043 },
|
|
{ 'id': 'guild-server-10', 'host': '172.16.4.142', 'port': 6044 },
|
|
{ 'id': 'guild-server-11', 'host': '172.16.4.142', 'port': 6045 },
|
|
{ 'id': 'guild-server-12', 'host': '172.16.4.142', 'port': 6046 },
|
|
],
|
|
'activity': [],
|
|
'order': [
|
|
{ 'id': 'order-server-5', 'host': '172.16.4.142', 'port': 6061 },
|
|
{ 'id': 'order-server-6', 'host': '172.16.4.142', 'port': 6062 },
|
|
],
|
|
};
|
|
|
|
// 自营服务器 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 },
|
|
|
|
],
|
|
'chat': [
|
|
{ 'id': 'chat-server-7', 'host': '172.16.4.145', 'port': 6011 },
|
|
{ 'id': 'chat-server-8', 'host': '172.16.4.145', 'port': 6012 },
|
|
],
|
|
'role': [
|
|
{ 'id': 'role-server-17', 'host': '172.16.4.145', 'port': 6021 },
|
|
{ 'id': 'role-server-18', 'host': '172.16.4.145', 'port': 6022 },
|
|
{ 'id': 'role-server-19', 'host': '172.16.4.145', 'port': 6023 },
|
|
{ 'id': 'role-server-20', 'host': '172.16.4.145', 'port': 6024 },
|
|
{ 'id': 'role-server-21', 'host': '172.16.4.145', 'port': 6025 },
|
|
{ 'id': 'role-server-22', 'host': '172.16.4.145', 'port': 6026 },
|
|
],
|
|
'battle': [
|
|
{ 'id': 'battle-server-11', 'host': '172.16.4.145', 'port': 6031 },
|
|
{ 'id': 'battle-server-12', 'host': '172.16.4.145', 'port': 6032 },
|
|
],
|
|
'gm': [],
|
|
'systimer': [],
|
|
'guild': [
|
|
{ 'id': 'guild-server-13', 'host': '172.16.4.145', 'port': 6041 },
|
|
{ 'id': 'guild-server-14', 'host': '172.16.4.145', 'port': 6042 },
|
|
{ 'id': 'guild-server-15', 'host': '172.16.4.145', 'port': 6043 },
|
|
{ 'id': 'guild-server-16', 'host': '172.16.4.145', 'port': 6044 },
|
|
{ 'id': 'guild-server-17', 'host': '172.16.4.145', 'port': 6045 },
|
|
{ 'id': 'guild-server-18', 'host': '172.16.4.145', 'port': 6046 },
|
|
],
|
|
'activity': [
|
|
{ 'id': 'activity-server-6', 'host': '172.16.4.145', 'port': 6051 },
|
|
{ 'id': 'activity-server-7', 'host': '172.16.4.145', 'port': 6052 },
|
|
{ 'id': 'activity-server-8', 'host': '172.16.4.145', 'port': 6053 },
|
|
],
|
|
'order': [
|
|
{ 'id': 'order-server-7', 'host': '172.16.4.145', 'port': 6061 },
|
|
{ 'id': 'order-server-8', 'host': '172.16.4.145', 'port': 6062 },
|
|
]
|
|
};
|
|
|
|
// 自营服务器 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 },
|
|
],
|
|
'chat': [
|
|
{ 'id': 'chat-server-9', 'host': '172.16.4.141', 'port': 6011 },
|
|
{ 'id': 'chat-server-10', 'host': '172.16.4.141', 'port': 6012 },
|
|
],
|
|
'role': [
|
|
{ 'id': 'role-server-23', 'host': '172.16.4.141', 'port': 6021 },
|
|
{ 'id': 'role-server-24', 'host': '172.16.4.141', 'port': 6022 },
|
|
{ 'id': 'role-server-25', 'host': '172.16.4.141', 'port': 6023 },
|
|
{ 'id': 'role-server-26', 'host': '172.16.4.141', 'port': 6024 },
|
|
{ 'id': 'role-server-27', 'host': '172.16.4.141', 'port': 6025 },
|
|
{ 'id': 'role-server-28', 'host': '172.16.4.141', 'port': 6026 },
|
|
],
|
|
'battle': [
|
|
{ 'id': 'battle-server-13', 'host': '172.16.4.141', 'port': 6031 },
|
|
{ 'id': 'battle-server-14', 'host': '172.16.4.141', 'port': 6032 },
|
|
],
|
|
'gm': [],
|
|
'systimer': [],
|
|
'guild': [
|
|
{ 'id': 'guild-server-19', 'host': '172.16.4.141', 'port': 6041 },
|
|
{ 'id': 'guild-server-20', 'host': '172.16.4.141', 'port': 6042 },
|
|
{ 'id': 'guild-server-21', 'host': '172.16.4.141', 'port': 6043 },
|
|
{ 'id': 'guild-server-22', 'host': '172.16.4.141', 'port': 6044 },
|
|
{ 'id': 'guild-server-23', 'host': '172.16.4.141', 'port': 6045 },
|
|
{ 'id': 'guild-server-24', 'host': '172.16.4.141', 'port': 6046 },
|
|
],
|
|
'activity': [
|
|
{ 'id': 'activity-server-9', 'host': '172.16.4.141', 'port': 6051 },
|
|
{ 'id': 'activity-server-10', 'host': '172.16.4.141', 'port': 6052 },
|
|
{ 'id': 'activity-server-11', 'host': '172.16.4.141', 'port': 6053 },
|
|
{ 'id': 'activity-server-12', 'host': '172.16.4.141', 'port': 6054 },
|
|
],
|
|
'order': [
|
|
{ 'id': 'order-server-9', 'host': '172.16.4.141', 'port': 6061 },
|
|
{ 'id': 'order-server-10', 'host': '172.16.4.141', 'port': 6062 },
|
|
]
|
|
};
|