diff --git a/server/wsproxy/mastersvrmgr.cc b/server/wsproxy/mastersvrmgr.cc index e7b63ea..24036c8 100644 --- a/server/wsproxy/mastersvrmgr.cc +++ b/server/wsproxy/mastersvrmgr.cc @@ -70,6 +70,20 @@ MasterSvr* MasterSvrMgr::GetConnById(int instance_id) void MasterSvrMgr::RequestTargetServer(f8::MsgHdr& hdr, const std::string& team_id, const std::string& account_id) { + #if GAME_ID == 9003 + { + TargetConn* conn = TargetConnMgr::Instance()->RecreateTargetConn( + "10.10.4.4", + 8951 + ); + if (conn) { + conn->ForwardClientMsgEx(hdr); + return; + } else { + abort(); + } + } + #endif if (GetContextIdBySocket(hdr.socket_handle) != 0) { return; }