您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Rewrites packets to most recent version (e.g. 33 -> f)
当前为
// ==UserScript== // @name MooMoo.io Script Unpatcher (Any Hack) (Recent patches, fixes packets) // @namespace http://tampermonkey.net/ // @version 100000 // @description Rewrites packets to most recent version (e.g. 33 -> f) // @author JavedPension // @match *://*.moomoo.io/* // @require https://gf.qytechs.cn/scripts/423602-msgpack/code/msgpack.js // @grant none // @license MIT // ==/UserScript== /* How to use Copy and paste the code below to the end of your hack. If you do not have msgpack locally referencable, include the `// @require` line in your mod metadata as done above. */ const PACKET_MAP = { // wont have all old packets, since they conflict with some of the new ones, add them yourself if you want to unpatch mods that are that old. "33": "9", // "7": "K", "ch": "6", "pp": "0", "13c": "c", // most recent packet changes "a": "9", "d": "F", "G": "z" } let originalSend = WebSocket.prototype.send; WebSocket.prototype.send = new Proxy(originalSend, { apply: ((target, websocket, argsList) => { let decoded = msgpack.decode(new Uint8Array(argsList[0])); if (PACKET_MAP.hasOwnProperty(decoded[0])) { decoded[0] = PACKET_MAP[decoded[0]]; } return target.apply(websocket, [msgpack.encode(decoded)]); }) });
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址