CSCommon: MErrorTable.h 소스 파일

MAIET

MErrorTable.h

00001 #ifndef MERRORTABLE_H
00002 #define MERRORTABLE_H
00003 
00004 #define MOK             0   
00005 
00006 #define MERR_UNKNOWN    -1  
00007 
00008 #define MERR_COMMUNICATOR_HAS_NOT_UID                       100     
00009 #define MERR_COMMUNICATOR_HAS_NOT_UID_SPACE                 101     
00010 #define MERR_COMMUNICATOR_INVALID_DIRECT_CONNECTION_POINTER 110     
00011 #define MERR_COMMAND_HAS_INVALID_RECEIVER_UID               200     
00012 
00013 #define MERR_ZONESERVER_NOT_CONNECTED_TO_MASTER             300     
00014 #define MERR_ZONESERVER_TRY_TO_INVALID_MASTER               301     
00015 
00016 #define MERR_OBJECT_INVALID                                 1000    
00017 #define MERR_OBJECT_INVALID_MODE                            1001    
00018 
00019 #define MERR_MAP_CANNOT_OPEN_FILE                           2000    
00020 
00021 
00022 // 접속, 로그인 관련
00023 #define MERR_CLIENT_WRONG_PASSWORD                          10000   
00024 #define MERR_CLIENT_CONNECTED_ALREADY                       10001   
00025 #define MERR_COMMAND_INVALID_VERSION                        10002   
00026 #define MERR_CLIENT_FULL_PLAYERS                            10003   
00027 #define MERR_CLIENT_MMUG_BLOCKED                            10004   
00028 
00029 // 캐릭터 관리 관련
00030 #define MERR_CLIENT_EXIST_CHARNAME                          10100   
00031 #define MERR_WRONG_WORD_NAME                                10101   
00032 #define MERR_TOO_SHORT_NAME                                 10102   
00033 #define MERR_TOO_LONG_NAME                                  10103   
00034 #define MERR_PLZ_INPUT_CHARNAME                             10104   
00035 #define MERR_CHAR_NOT_EXIST                                 10110   
00036 #define MERR_CANNOT_DELETE_CHAR                             10111   
00037 
00038 // 아이템 관련
00039 #define MERR_TOO_EXPENSIVE_BOUNTY                           20001   
00040 #define MERR_CANNOT_BUY_ITEM                                20002   
00041 #define MERR_CANNOT_EQUIP_ITEM                              20003   
00042 #define MERR_CANNOT_TAKEOFF_ITEM                            20004   
00043 #define MERR_CANNOT_SELL_ITEM                               20005   
00044 #define MERR_CANNOT_SELL_EQUIPED_ITEM                       20006   
00045 #define MERR_CANNOT_SELL_NONE_ITEM                          20007   
00046 #define MERR_TOO_MANY_ITEM                                  20008   
00047 #define MERR_NO_SELITEM                                     20009   
00048 #define MERR_TOO_HEAVY                                      20010   
00049 #define MERR_LOW_LEVEL                                      20011   
00050 #define MERR_CANNOT_EQUIP_EQUAL_ITEM                        20012   
00051 #define MERR_CANNOT_TAKEOFF_ITEM_BY_WEIGHT                  20013   
00052 #define MERR_CANNOT_SELL_CASHITEM                           20014   
00053 #define MERR_BRING_ACCOUNTITEM_BECAUSEOF_SEX                20015   
00054 #define MERR_BRING_CONFIRM_ACCOUNTITEM_BECAUSEOF_LEVEL      20016   
00055 #define MERR_BRING_BACK_ACCOUNTITEM                         20017   
00056 #define MERR_BRING_BACK_ACCOUNTITEM_FOR_CASHITEM            20018   
00057 #define MERR_TAKEOFF_ITEM_BY_LEVELDOWN                      20019   
00058 
00059 #define MERR_CANNOT_JOIN_STAGE                              30000   
00060 #define MERR_CANNOT_JOIN_STAGE_BY_MAXPLAYERS                30001   
00061 #define MERR_CANNOT_JOIN_STAGE_BY_PASSWORD                  30002   
00062 #define MERR_CANNOT_JOIN_STAGE_BY_LEVEL                     30003   
00063 #define MERR_CANNOT_JOIN_STAGE_BY_FORCEDENTRY               30004   
00064 #define MERR_CANNOT_JOIN_STAGE_BY_BAN                       30005   
00065 #define MERR_STAGE_NOT_EXIST                                30006   
00066 #define MERR_STAGE_ALREADY_EXIST                            30007   
00067 #define MERR_CANNOT_CREATE_STAGE                            30008   
00068 #define MERR_CANNOT_NO_STAGE                                30009   
00069 
00070 
00071 #define MERR_CANNOT_JOIN_CHANNEL                            30020   
00072 #define MERR_CANNOT_JOIN_CHANNEL_BY_MAXPLAYERS              30021   
00073 #define MERR_CANNOT_JOIN_CHANNEL_BY_LEVEL                   30022   
00074 #define MERR_CANNOT_JOIN_CHANNEL_BY_NEWBIE                  30023   
00075 
00076 #define MERR_NO_TARGET                                      30026   
00077 
00078 // 클랜관련
00079 #define MERR_CLAN_CANNOT_CREATE                             30030   
00080 #define MERR_CLAN_CANNOT_CLOSE                              30031   
00081 #define MERR_EXIST_CLAN                                     30032   
00082 #define MERR_CLAN_NO_SPONSOR                                30033   
00083 #define MERR_CLAN_SPONSOR_JOINED_OTHERCLAN                  30034   
00084 #define MERR_CLAN_SPONSOR_NOT_LOBBY                         30035   
00085 #define MERR_CLAN_WRONG_CLANNAME                            30036   
00086 #define MERR_CLAN_NOT_MASTER                                30037   
00087 #define MERR_CLAN_NOT_MASTER_OR_ADMIN                       30038   
00088 #define MERR_CLAN_JOINER_JOINED_ALREADY                     30039   
00089 #define MERR_CLAN_DONT_JOINED                               30040   
00090 #define MERR_CLAN_JOINED_ALREADY                            30041   
00091 #define MERR_CLAN_JOINER_NOT_LOBBY                          30042   
00092 #define MERR_CLAN_NOT_JOINED                                30043   
00093 #define MERR_CLAN_CANNOT_LEAVE                              30044   
00094 #define MERR_CLAN_MEMBER_FULL                               30045   
00095 #define MERR_CLAN_OFFLINE_TARGET                            30046   
00096 #define MERR_CLAN_OTHER_CLAN                                30047   
00097 #define MERR_CLAN_CANNOT_CHANGE_GRADE                       30048   
00098 #define MERR_CLAN_CANNOT_EXPEL_FOR_NO_MEMBER                30049   
00099 #define MERR_CLAN_CREATING_LESS_BOUNTY                      30050   
00100 #define MERR_CLAN_CREATING_LESS_LEVEL                       30051   
00101 
00102 // 동의관련
00103 
00104 // 래더관련
00105 #define MERR_LADDER_CANNOT_CHALLENGE                        30070   
00106 #define MERR_LADDER_WRONG_TEAM_MEMBER                       30071   
00107 #define MERR_LADDER_NO_TEAM_MEMBER                          30072   
00108 #define MERR_LADDER_EXIST_CANNOT_CHALLENGE_MEMBER           30073   
00109 
00110 // 클랜전관련
00111 #define MERR_CB_WRONG_TEAM_MEMBER                           30080   
00112 #define MERR_CB_NO_TEAM_MEMBER                              30081   
00113 #define MERR_CB_EXIST_CANNOT_CHALLENGE_MEMBER               30082   
00114 
00115 
00116 // 클라이언트
00117 #define MERR_NOT_SUPPORT                                    30103   
00118 #define MERR_CANNOT_ABUSE                                   30104   
00119 #define MERR_CANNOT_INPUT_SAME_CHAT_MSG                     30105   
00120 #define MERR_CHAT_PENALTY_FOR_ONE_MINUTE                    30106   
00121 
00122 #define MERR_CLIENT_CONNECT_FAILED                          90000   
00123 #define MERR_CLIENT_DISCONNECTED                            90002   
00124 
00125 
00126 
00127 // 메세지 결과값
00128 #define MRESULT_CLAN_JOINED                                 100000  
00129 #define MRESULT_CLAN_CREATED                                100001  
00130 
00131 // 따라가기 관련
00132 #define MERR_CANNOT_FOLLOW                                  110000  
00133 #define MERR_CANNOT_FOLLOW_BY_PASSWORD                      110001  
00134 // #define MERR_CANNOT_FOLLOW_BY_CHANNER                        110002  
00135 
00136 // 투표관련.
00137 #define MERR_CANNOT_CALL_VOTE                               120000 // 투표를 신청할수 없습니다.
00138 
00139 
00141 //const char* MGetErrorString(int nErrorCode);
00142 
00143 #endif


MAIET entertainment