This commit is contained in:
aozhiwei 2019-06-05 18:50:48 +08:00
parent 28825c7d9a
commit 1e170d2c6c
2 changed files with 3 additions and 1 deletions

View File

@ -2,4 +2,4 @@
cd ../tools/robot/virtualclient
#python robot.py ws://192.168.100.21:7101 hao1069 hao1069 $1
python robot.py "wss://game2001.kingsome.cn" hao1069 hao1069 $1
python robot.py "wss://game2001-n2.kingsome.cn" hao1069 hao1069 $1

View File

@ -26,6 +26,8 @@ void GSMgr::_SS_WSP_RequestTargetServer(f8::MsgHdr& hdr, const ss::SS_WSP_Reques
} else {
node = AllocNode();
if (node) {
respmsg.set_host(node->ip);
respmsg.set_port(node->port);
team_hash_[msg.team_id()] = node;
} else {
respmsg.set_error_code(1);