GlobalHeaders.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. EQ2Emulator: Everquest II Server Emulator
  3. Copyright (C) 2007 EQ2EMulator Development Team (http://www.eq2emulator.net)
  4. This file is part of EQ2Emulator.
  5. EQ2Emulator is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 3 of the License, or
  8. (at your option) any later version.
  9. EQ2Emulator 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.
  13. You should have received a copy of the GNU General Public License
  14. along with EQ2Emulator. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. //Character Creation Replies, put in globals so name filter can return proper responses
  17. #define UNKNOWNERROR_REPLY 0
  18. #define CREATESUCCESS_REPLY 1
  19. #define NOSERVERSAVAIL_REPLY 2
  20. #define CREATEPENDING_REPLY 3
  21. #define MAXCHARSALLOWED_REPLY 4
  22. #define INVALIDRACE_REPLY 5
  23. #define INVALIDCITY_REPLY 6
  24. #define INVALIDCLASS_REPLY 7
  25. #define INVALIDGENDER_REPLY 8
  26. #define INVALIDFIRST_LVL_REPLY 9
  27. #define BADNAMELENGTH_REPLY 10
  28. #define NAMEINVALID_REPLY 11
  29. #define NAMEFILTER_REPLY 12 // name_filter reply (bad word or blocked words)
  30. #define NAMETAKEN_REPLY 13
  31. #define OVERLOADEDSERVER_REPLY 14
  32. #define UNKNOWNERROR_REPLY2 15
  33. #define INVALIDFEATURES1_REPLY 16
  34. #define INVALIDFEATURES2_REPLY 17
  35. #define INVALIDRACE_APPEARANCE_REPLY 18
  36. #define PLAY_ERROR_PROBLEM 0
  37. #define PLAY_ERROR_ZONE_DOWN 4
  38. #define PLAY_ERROR_CHAR_NOT_LOADED 5
  39. #define PLAY_ERROR_CHAR_NOT_FOUND 6
  40. #define PLAY_ERROR_ACCOUNT_IN_USE 7
  41. #define PLAY_ERROR_SERVER_TIMEOUT 8
  42. #define PLAY_ERROR_SERVER_SHUTDOWN 9
  43. #define PLAY_ERROR_LOADING_ERROR 10
  44. #define PLAY_ERROR_EXCHANGE_SERVER 11
  45. #define PLAY_ERROR_REGION_SERVER 12
  46. #define PLAY_ERROR_CLASS_INVALID 13
  47. #define PLAY_ERROR_TOO_MANY_CHARACTERS 14
  48. #define PLAY_ERROR_EOF_EXP_NOT_FOUND 15
  49. #define PLAY_ERROR_UNKNOWN_RESPONSE 16
  50. #define PLAY_ERROR_UNKNOWN 17
  51. #define PLAY_ERROR_ACCOUNT_BANNED 18
  52. #define PLAY_ERROR_PROHIBITED 19