MooMoo.io Packet Code

The packet code for moomoo.io

目前為 2023-11-02 提交的版本,檢視 最新版本

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.cn-greasyfork.org/scripts/478839/1274013/MooMooio%20Packet%20Code.js

  1. // ==UserScript==
  2. // @name MooMoo.io Packet Code
  3. // @description The packet code for moomoo.io
  4. // @author KOOKY WARRIOR
  5. // @license MIT
  6. // ==/UserScript==
  7.  
  8. window.PACKETCODE = {
  9. SEND: {
  10. aJoinReq: "P",
  11. kickFromClan: "Q",
  12. sendJoin: "b",
  13. createAlliance: "L",
  14. leaveAlliance: "N",
  15. storeEquipOrBuy: "c",
  16. sendChat: "6",
  17. resetMoveDir: "e",
  18. sendAtckState: "d",
  19. sendMoveDir: "a",
  20. sendLockDirOrAutoGather: "K",
  21. sendMapPing: "S",
  22. selectToBuild: "G",
  23. enterGame: "M",
  24. sendUpgrade: "H",
  25. sendDir: "D",
  26. pingSocket: "0"
  27. },
  28. RECEIVE: {
  29. setInitData: "A",
  30. disconnect: "B",
  31. setupGame: "C",
  32. addPlayer: "D",
  33. removePlayer: "E",
  34. updatePlayers: "a",
  35. updateLeaderboard: "G",
  36. loadGameObject: "H",
  37. loadAI: "I",
  38. animateAI: "J",
  39. gatherAnimation: "K",
  40. wiggleGameObject: "L",
  41. shootTurret: "M",
  42. updatePlayerValue: "N",
  43. updateHealth: "O",
  44. killPlayer: "P",
  45. killObject: "Q",
  46. killObjects: "R",
  47. updateItemCounts: "S",
  48. updateAge: "T",
  49. updateUpgrades: "U",
  50. updateItems: "V",
  51. addProjectile: "X",
  52. remProjectile: "Y",
  53. serverShutdownNotice: "Z",
  54. addAlliance: "g",
  55. deleteAlliance: "1",
  56. allianceNotification: "2",
  57. setPlayerTeam: "3",
  58. setAlliancePlayers: "4",
  59. updateStoreItems: "5",
  60. receiveChat: "6",
  61. updateMinimap: "7",
  62. showText: "8",
  63. pingMap: "9",
  64. pingSocketResponse: "10"
  65. }
  66. }