Advertisement
Rochet2

RegisterServerHook Test

Feb 28th, 2013
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.96 KB | None | 0 0
  1.  
  2. RegisterServerHook(1, function(...) print("PLAYER_EVENT_ON_CHARACTER_CREATE", 1, ...) end )
  3. RegisterServerHook(2, function(...) print("PLAYER_EVENT_ON_CHARACTER_DELETE", 2, ...) end )
  4. RegisterServerHook(3, function(...) print("PLAYER_EVENT_ON_LOGIN", 3, ...) end )
  5. RegisterServerHook(4, function(...) print("PLAYER_EVENT_ON_LOGOUT", 4, ...) end )
  6. RegisterServerHook(5, function(...) print("PLAYER_EVENT_ON_SPELL_CAST", 5, ...) end )
  7. RegisterServerHook(6, function(...) print("PLAYER_EVENT_ON_KILL_PLAYER", 6, ...) end )
  8. RegisterServerHook(7, function(...) print("PLAYER_EVENT_ON_KILL_CREATURE", 7, ...) end )
  9. RegisterServerHook(8, function(...) print("PLAYER_EVENT_ON_KILLED_BY_CREATURE", 8, ...) end )
  10. RegisterServerHook(9, function(...) print("PLAYER_EVENT_ON_DUEL_REQUEST", 9, ...) end )
  11. RegisterServerHook(10, function(...) print("PLAYER_EVENT_ON_DUEL_START", 10, ...) end )
  12. RegisterServerHook(11, function(...) print("PLAYER_EVENT_ON_DUEL_END", 11, ...) end )
  13. RegisterServerHook(12, function(...) print("PLAYER_EVENT_ON_GIVE_XP", 12, ...) end )
  14. RegisterServerHook(13, function(...) print("PLAYER_EVENT_ON_LEVEL_CHANGE", 13, ...) end )
  15. RegisterServerHook(14, function(...) print("PLAYER_EVENT_ON_MONEY_CHANGE", 14, ...) end )
  16. RegisterServerHook(15, function(...) print("PLAYER_EVENT_ON_REPUTATION_CHANGE", 15, ...) end )
  17. RegisterServerHook(16, function(...) print("PLAYER_EVENT_ON_TALENTS_CHANGE", 16, ...) end )
  18. RegisterServerHook(17, function(...) print("PLAYER_EVENT_ON_TALENTS_RESET", 17, ...) end )
  19. RegisterServerHook(18, function(...) print("PLAYER_EVENT_ON_CHAT", 18, ...) end )
  20. RegisterServerHook(19, function(...) print("PLAYER_EVENT_ON_EMOTE", 19, ...) end )
  21. RegisterServerHook(20, function(...) print("PLAYER_EVENT_ON_TEXT_EMOTE", 20, ...) end )
  22. RegisterServerHook(21, function(...) print("PLAYER_EVENT_ON_SAVE", 21, ...) end )
  23. RegisterServerHook(22, function(...) print("PLAYER_EVENT_ON_BIND_TO_INSTANCE", 22, ...) end )
  24. RegisterServerHook(23, function(...) print("PLAYER_EVENT_ON_UPDATE_ZONE", 23, ...) end )
  25. RegisterServerHook(24, function(...) print("PLAYER_EVENT_ON_MAP_CHANGE", 24, ...) end )
  26. RegisterServerHook(25, function(...) print("GUILD_EVENT_ON_ADD_MEMBER", 25, ...) end )
  27. RegisterServerHook(26, function(...) print("GUILD_EVENT_ON_REMOVE_MEMBER", 26, ...) end )
  28. RegisterServerHook(27, function(...) print("GUILD_EVENT_ON_MOTD_CHANGE", 27, ...) end )
  29. RegisterServerHook(28, function(...) print("GUILD_EVENT_ON_INFO_CHANGE", 28, ...) end )
  30. RegisterServerHook(29, function(...) print("GUILD_EVENT_ON_CREATE", 29, ...) end )
  31. RegisterServerHook(30, function(...) print("GUILD_EVENT_ON_DISBAND", 30, ...) end )
  32. RegisterServerHook(31, function(...) print("GUILD_EVENT_ON_MONEY_WITHDRAW", 31, ...) end )
  33. RegisterServerHook(32, function(...) print("GUILD_EVENT_ON_MONEY_DEPOSIT", 32, ...) end )
  34. RegisterServerHook(33, function(...) print("GUILD_EVENT_ON_ITEM_MOVE", 33, ...) end )
  35. RegisterServerHook(34, function(...) print("GUILD_EVENT_ON_EVENT", 34, ...) end )
  36. RegisterServerHook(35, function(...) print("GUILD_EVENT_ON_BANK_EVENT", 35, ...) end )
  37. RegisterServerHook(36, function(...) print("SERVER_EVENT_ON_NETWORK_START", 36, ...) end )
  38. RegisterServerHook(37, function(...) print("SERVER_EVENT_ON_NETWORK_STOP", 37, ...) end )
  39. RegisterServerHook(38, function(...) print("SERVER_EVENT_ON_SOCKET_OPEN", 38, ...) end )
  40. RegisterServerHook(39, function(...) print("SERVER_EVENT_ON_SOCKET_CLOSE", 39, ...) end )
  41. RegisterServerHook(40, function(...) print("SERVER_EVENT_ON_PACKET_RECEIVE", 40, ...) end )
  42. RegisterServerHook(41, function(...) print("SERVER_EVENT_ON_PACKET_RECEIVE_UNKNOWN", 41, ...) end )
  43. RegisterServerHook(42, function(...) print("SERVER_EVENT_ON_PACKET_SEND", 42, ...) end )
  44. RegisterServerHook(43, function(...) print("WORLD_EVENT_ON_OPEN_STATE_CHANGE", 43, ...) end )
  45. RegisterServerHook(44, function(...) print("WORLD_EVENT_ON_CONFIG_LOAD", 44, ...) end )
  46. RegisterServerHook(45, function(...) print("WORLD_EVENT_ON_MOTD_CHANGE", 45, ...) end )
  47. RegisterServerHook(46, function(...) print("WORLD_EVENT_ON_SHUTDOWN_INIT", 46, ...) end )
  48. RegisterServerHook(47, function(...) print("WORLD_EVENT_ON_SHUTDOWN_CANCEL", 47, ...) end )
  49. RegisterServerHook(48, function(...) print("WORLD_EVENT_ON_UPDATE", 48, ...) end )
  50. RegisterServerHook(49, function(...) print("WORLD_EVENT_ON_STARTUP", 49, ...) end )
  51. RegisterServerHook(50, function(...) print("WORLD_EVENT_ON_SHUTDOWN", 50, ...) end )
  52. RegisterServerHook(51, function(...) print("ELUNA_EVENT_ON_RESTART", 51, ...) end )
  53. RegisterServerHook(52, function(...) print("MAP_EVENT_ON_CREATE", 52, ...) end )
  54. RegisterServerHook(53, function(...) print("MAP_EVENT_ON_DESTROY", 53, ...) end )
  55. RegisterServerHook(54, function(...) print("MAP_EVENT_ON_LOAD", 54, ...) end )
  56. RegisterServerHook(55, function(...) print("MAP_EVENT_ON_UNLOAD", 55, ...) end )
  57. RegisterServerHook(56, function(...) print("MAP_EVENT_ON_PLAYER_ENTER", 56, ...) end )
  58. RegisterServerHook(57, function(...) print("MAP_EVENT_ON_PLAYER_LEAVE", 57, ...) end )
  59. RegisterServerHook(58, function(...) print("MAP_EVENT_ON_UPDATE", 58, ...) end )
  60. RegisterServerHook(59, function(...) print("TRIGGER_EVENT_ON_TRIGGER", 59, ...) end )
  61. RegisterServerHook(60, function(...) print("WEATHER_EVENT_ON_CHANGE", 60, ...) end )
  62. RegisterServerHook(61, function(...) print("AUCTION_EVENT_ON_ADD", 61, ...) end )
  63. RegisterServerHook(62, function(...) print("AUCTION_EVENT_ON_REMOVE", 62, ...) end )
  64. RegisterServerHook(63, function(...) print("AUCTION_EVENT_ON_SUCCESFUL", 63, ...) end )
  65. RegisterServerHook(64, function(...) print("AUCTION_EVENT_ON_EXPIRE", 64, ...) end )
  66. RegisterServerHook(65, function(...) print("GROUP_EVENT_ON_MEMBER_ADD", 65, ...) end )
  67. RegisterServerHook(66, function(...) print("GROUP_EVENT_ON_MEMBER_INVITE", 66, ...) end )
  68. RegisterServerHook(67, function(...) print("GROUP_EVENT_ON_MEMBER_REMOVE", 67, ...) end )
  69. RegisterServerHook(68, function(...) print("GROUP_EVENT_ON_LEADER_CHANGE", 68, ...) end )
  70. RegisterServerHook(69, function(...) print("GROUP_EVENT_ON_DISBAND", 69, ...) end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement