您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Scenexe socket fiddler. Modify incoming and outgoing packets by writing functions for incoming and outgoing.
当前为
此脚本不应直接安装,它是供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @require https://update.gf.qytechs.cn/scripts/457775/1135823/Scenexe%20Socket%20Fiddler.js
Allows you to modify and log incoming and outgoing packets by writing functions for window.incoming and window.outgoing.
A simple function you can write is a simple socket logger:
window.incoming = (data) => {
console.log('incoming:', data);
}
window.outgoing = (data) => {
console.log('outgoing:', data);
}
The incoming data is an array where the 1st item is an opcode and the 2nd item contains the packet data. Refer to https://github.com/discordtehe/scenexe/blob/main/src/shared/constants.js#L441 for info on opcodes.
If you need to modify incoming and outgoing packets, just return the modified data:
window.incoming = (data) => {
data[1] = ...edit some stuff...;
return data;
}
window.outgoing = (data) => {
data[1] = ...edit some stuff...;
return data;
}
Refer to https://github.com/discordtehe/scenexe/blob/main/src/gamesocket.js#L440 for info on how to parse incoming packets and https://github.com/discordtehe/scenexe/blob/main/src/gamesocket.js#L1467 for how various outgoing packets look like.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址