This commit is contained in:
azw 2023-09-29 00:46:16 +00:00
parent 70f0469b30
commit 3ffa917c5f

View File

@ -16,20 +16,18 @@ void JsonDataMgr::Init()
std::string master_cluster_json_file;
std::string kcp_conf_json_file;
wsproxy_cluster_json_file = a8::Format
("%s/zone%d/node%d/game%d.wsproxy.cluster.json",
("%s/zone%d/node%d/wsproxy.cluster.json",
{
WORK_PATH,
f8::App::Instance()->GetZoneId(),
f8::App::Instance()->GetNodeId(),
GAME_ID
f8::App::Instance()->GetNodeId()
});
master_cluster_json_file = a8::Format
("%s/zone%d/node%d/game%d.masterserver.cluster.json",
("%s/zone%d/node%d/masterserver.cluster.json",
{
WORK_PATH,
f8::App::Instance()->GetZoneId(),
f8::App::Instance()->GetNodeId(),
GAME_ID
});
kcp_conf_json_file = a8::Format
("%s/zone%d/kcp_conf.json",