Skip to main content
在 Manus 中运行任何 Skill
一键导入

rcce2-packet-handler

星标4
分支6
更新时间2026年5月25日 14:50

Add, modify, or harden a packet handler in rcce2's ServerNet.bb or ClientNet.bb. Invoke whenever the work involves the wire protocol — adding a new P_* packet type, fixing a Mid$ offset bug, hardening a handler against malformed input, adding a Case branch to the giant Select Case on packet type, or any code that calls RCE_Send / RCE_StrFromInt$ / RCE_IntFromStr. The wire encoding has subtle conventions (length-prefixed strings, fixed-byte integer fields, paired sender/receiver byte counts) and the server is a single shared process — one unchecked Mid$ or one unguarded array index is a one-packet client-to-server DoS for every connected player. This skill encodes the established encoding, validation, and soft-fail patterns from the existing handlers.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly