This commit is contained in:
aozhiwei 2019-11-29 17:18:39 +08:00
parent 5d6423992d
commit 0f0fcf40ca
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ void RoomMgr::_CMJoin(f8::MsgHdr& hdr, const cs::CMJoin& msg)
if (GetRoomByUuid(room->room_uuid)) { if (GetRoomByUuid(room->room_uuid)) {
abort(); abort();
} }
room->map_meta = MetaMgr::Instance()->GetMap(2001); room->map_meta = MetaMgr::Instance()->GetMap(1);
room->Init(); room->Init();
inactive_room_hash_[room->room_uuid] = room; inactive_room_hash_[room->room_uuid] = room;
room_hash_[room->room_uuid] = room; room_hash_[room->room_uuid] = room;

View File

@ -58,7 +58,7 @@ def getSMMsg(sm_msgid):
#g_remote_ip = "ws://127.0.0.1:" + sys.argv[1] #g_remote_ip = "ws://127.0.0.1:" + sys.argv[1]
g_remote_ip = sys.argv[1] g_remote_ip = sys.argv[1]
g_account_id = '6000_2001_' + sys.argv[2] g_account_id = '6000_2009_' + sys.argv[2]
g_session_id = getSession(g_account_id) g_session_id = getSession(g_account_id)
g_server_id = sys.argv[4] g_server_id = sys.argv[4]
g_seqid = 1000 g_seqid = 1000