2 * Copyright (C) 2005-2013 MaNGOS <http://getmangos.com/>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 CMD_AUTH_LOGON_CHALLENGE
= 0x00,
29 CMD_AUTH_LOGON_PROOF
= 0x01,
30 CMD_AUTH_RECONNECT_CHALLENGE
= 0x02,
31 CMD_AUTH_RECONNECT_PROOF
= 0x03,
32 CMD_REALM_LIST
= 0x10,
33 CMD_XFER_INITIATE
= 0x30,
35 // these opcodes no longer exist in currently supported client
36 CMD_XFER_ACCEPT
= 0x32,
37 CMD_XFER_RESUME
= 0x33,
38 CMD_XFER_CANCEL
= 0x34
41 // not used by us currently
44 CMD_GRUNT_AUTH_CHALLENGE
= 0x0,
45 CMD_GRUNT_AUTH_VERIFY
= 0x2,
46 CMD_GRUNT_CONN_PING
= 0x10,
47 CMD_GRUNT_CONN_PONG
= 0x11,
48 CMD_GRUNT_HELLO
= 0x20,
49 CMD_GRUNT_PROVESESSION
= 0x21,
50 CMD_GRUNT_KICK
= 0x24,
51 CMD_GRUNT_PCWARNING
= 0x29,
52 CMD_GRUNT_STRINGS
= 0x41,
53 CMD_GRUNT_SUNKENUPDATE
= 0x44,
54 CMD_GRUNT_SUNKEN_ONLINE
= 0x46
60 WOW_FAIL_UNKNOWN0
= 0x01, ///< ? Unable to connect
61 WOW_FAIL_UNKNOWN1
= 0x02, ///< ? Unable to connect
62 WOW_FAIL_BANNED
= 0x03, ///< This <game> account has been closed and is no longer available for use. Please go to <site>/banned.html for further information.
63 WOW_FAIL_UNKNOWN_ACCOUNT
= 0x04, ///< The information you have entered is not valid. Please check the spelling of the account name and password. If you need help in retrieving a lost or stolen password, see <site> for more information
64 WOW_FAIL_INCORRECT_PASSWORD
= 0x05, ///< The information you have entered is not valid. Please check the spelling of the account name and password. If you need help in retrieving a lost or stolen password, see <site> for more information
65 // client reject next login attempts after this error, so in code used WOW_FAIL_UNKNOWN_ACCOUNT for both cases
66 WOW_FAIL_ALREADY_ONLINE
= 0x06, ///< This account is already logged into <game>. Please check the spelling and try again.
67 WOW_FAIL_NO_TIME
= 0x07, ///< You have used up your prepaid time for this account. Please purchase more to continue playing
68 WOW_FAIL_DB_BUSY
= 0x08, ///< Could not log in to <game> at this time. Please try again later.
69 WOW_FAIL_VERSION_INVALID
= 0x09, ///< Unable to validate game version. This may be caused by file corruption or interference of another program. Please visit <site> for more information and possible solutions to this issue.
70 WOW_FAIL_VERSION_UPDATE
= 0x0A, ///< Downloading
71 WOW_FAIL_INVALID_SERVER
= 0x0B, ///< Unable to connect
72 WOW_FAIL_SUSPENDED
= 0x0C, ///< This <game> account has been temporarily suspended. Please go to <site>/banned.html for further information
73 WOW_FAIL_FAIL_NOACCESS
= 0x0D, ///< Unable to connect
74 WOW_SUCCESS_SURVEY
= 0x0E, ///< Connected.
75 WOW_FAIL_PARENTCONTROL
= 0x0F, ///< Access to this account has been blocked by parental controls. Your settings may be changed in your account preferences at <site>
76 WOW_FAIL_LOCKED_ENFORCED
= 0x10, ///< You have applied a lock to your account. You can change your locked status by calling your account lock phone number.
77 WOW_FAIL_TRIAL_ENDED
= 0x11, ///< Your trial subscription has expired. Please visit <site> to upgrade your account.
78 WOW_FAIL_USE_BATTLENET
= 0x12, ///< WOW_FAIL_OTHER This account is now attached to a Battle.net account. Please login with your Battle.net account email address and password.
79 // WOW_FAIL_OVERMIND_CONVERTED
80 // WOW_FAIL_ANTI_INDULGENCE
82 // WOW_FAIL_NO_GAME_ACCOUNT
83 // WOW_FAIL_BILLING_LOCK
84 // WOW_FAIL_IGR_WITHOUT_BNET
86 // WOW_FAIL_UNLOCKABLE_LOCK
87 // WOW_FAIL_MUST_USE_BNET