  CM_SELCHR             = 103; //ʼϷɫ

  DefMsg := MakeDefaultMsg(CM_SELCHR, 0, 0, 0, 0);
  SendSocket(EncodeMessage(DefMsg) + EncodeString(m_sLoginAccount + '/' + sChrName));

ֲʺźû
  sChrName := GetValidStr3(DecodeString(sData), sAccount, ['/']);


  SM_STARTPLAY = 525;
    sRouteIP := GateRouteIP(CurGate.sGateaddr, nRoutePort);
    sRouteMsg := EncodeString(sRouteIP + '/' + IntToStr(nRoutePort + nMapIndex));
    SendUserSocket(UserInfo.Socket,
      UserInfo.sConnID,
      sDefMsg + sRouteMsg);
    FrmIDSoc.SetGlobaSessionPlay(UserInfo.nSessionID);
ϢͷIP +˿+ͼ
SM_STARTPLAY: ClientGetStartPlay(sBody);
IP +˿  ͼȥˣ

  SM_STARTFAIL = 526;
  MessageDlg('˷Ա', [mbOk]);