AppSign.cpp
上传用户:garry_shen
上传日期:2015-04-15
资源大小:45647k
文件大小:2k
- #include "stdafx.h"
- #include "XMudClient.h"
- #include "InitInternet.h"
- #include "CommunicateMsg.h"
- #include "InterNetMsg.h"
- #include "MenuLoadOldPlay.h"
- //add header file
- #include "wgs/wgs.h"
- //end
- extern rmfullglobals myglobs;
- extern HANDLE gSendToSvrThread;
- extern int g_nReceiveMsgState;
- extern char g_tszPathName[256];
- extern char g_szReceive[];
- extern int g_nGameState;
- extern CMenuLoadOldPlay m_MenuLoadOldPlay;
- extern BOOL g_bInternConnect;
- char szUserCount[20];
- char szUserPassword[20];
- BOOL MainSrvLogReceive()
- {
- CStringList strls;
- CString parm;
- CString strtmp;
- CString title;
- CString msg;
- char *ps;
- parm = PARM;
- ps=strtok(g_szReceive,(const char*)parm);
- strls.AddTail(ps);
- for(;;)
- {
- ps=strtok(NULL,(const char*)parm);
- if(ps==NULL)break;
- strls.AddTail(ps);
- }
-
- strtmp = strls.GetAt(strls.FindIndex(0));
- if( strtmp != PLAYELOGONOK){
- if( strtmp == ERRLOGON){
- Msg("盞絏眀腹