info.html · 介绍 · play.html · 游玩 · llms.txt · 下载与本地运行 · ZIP · GitHub
站点自称"YWX人造人"(原开发者的昵称/团队名),北美总站,自 2006 年 2 月 3 日运行至今(存档信息显示已有五百多个注册玩家,是这批 archive 里"真实运营过"证据最扎实的一个)。与本项目转换的"梦幻西游"(mhxy) 同属西游记神话世界观的一支,但引擎实现是独立的一支(不使用 nitan/Lonely 家族那套全局属性存取机制,而是每个对象自带属性存取方法,架构上更规范)。新角色从长安城"南城客栈"起步,白素贞、唐三藏、店小二等《西游记》经典角色以 NPC 形式登场,成长线围绕门派拜师、五行攻击/防御属性与道行修真境界展开,整体节奏偏休闲,并附带较完整的新手礼包机制。
English
A North America-hosted Journey to the West game, self-branded 'YWX Cyborg' after its original developer/team, continuously running since February 2006 with over five hundred registered player accounts on record — among the most solidly 'actually operated' archives in this collection. It shares its mythic Journey to the West setting with sibling game mhxy but runs on an independently engineered codebase, with per-object attribute accessors rather than the shared global-store architecture common to the nitan/Lonely family. New characters begin at the South City Inn in Chang'an, greeted by classic characters like Bai Suzhen and Tang Sanzang, and follow a cultivation-focused progression built around sects, Five Elements attack/defense attributes, and Taoist cultivation realms, with a fairly generous newbie starter-kit system.
README
内容亮点
- 取材于《西游记》,新手村在长安城"南城客栈",白素贞、唐三藏、店小二 等经典角色以 NPC 形式登场。
- 强调门派、五行攻击/防御属性、道行境界等修真类成长线,整体节奏偏 休闲,也有较完整的新手礼包机制。
在线试玩
https://mudlibs.fluffos.info/rzrmud/
管理员账号 / Admin account
- ID:
fluffos - 登陆密码 / Password:
Mud@2026(平时登录用这个) - 管理密码 / Admin(recovery) password:
Mud@2026admin - 中文名 / Display name: 浮浮
- 权限 / Level:
(admin)(最高级别),通过/adm/etc/wizlist授予。
警告:对外公开架设前请务必修改这两个密码。
本地运行
cd libs/rzrmud
~/src/fluffos/build-debug/src/driver config.fluffos游戏端口:40020。
NOTES · 移植与修复记录
rzrmud — 大唐西游 YWX人造人 (Great Tang Journey to the West)
Archive: rzrmud.20130220.tar.gz. Port: 40020. Status: done (boots
clean, connects, plays through the age-verification gate, MOTD, username
validation, and into new-player registration with zero crashes).
What this is
A different lineage from the "NT/nitan/Lonely" family (archives #21/#22)
— generic-looking MudOS 0.9.20-era mudlib, 9096 .c files, bundled with
prebuilt 32-bit Linux driver binaries (driver, driver_2s_64bit_int,
ignored — we use our own fluffos build). Archive nests the actual mudlib
root one level down at rzrmud/world/.
Notably, this lib's adm/obj/simul_efun.lpc does not define a global
set/query/delete at all (unlike the nitan family) — every object
that uses bare query(...)/set(...) relies entirely on its own
inherit NPC;-style base class providing them locally. This is the
architecturally *correct* pattern (see AGENTS.md §15's writeup of why the
nitan family's simul_efun-based version is broken on this driver) — no
this_object()-during-simul_efun-call trap here since the fallback path
essentially isn't used.
Fixes applied
None beyond the standard mechanical pipeline (convert_lib.sh's
encoding/rename/ref-fix/static→nosave passes). Booted clean and reached
deep into the login flow (age gate → MOTD → username validation → "new
player" registration sub-flow asking for an English name) on the first
attempt, zero runtime or compile errors in debug.log.
Known content gap (not fixed — see AGENTS.md §13)
scripts/lpcc_check.sh sweep: 9096 files, 8865 pass / 231 fail (97.5%).
The largest failure clusters are a genuine but narrow content gap, not an
engine bug:
- ~55 files under
d/kaifeng/npc/quest_*.lpc(e.g.quest_wr.lpc,quest_wp.lpc)#includea sharedquest.lpcfragment that calls barequery("id")and::setup(), but — unlike their sibling NPC files in the same directory (e.g.chen.lpc, which correctly hasinherit NPC;before its own#include "quest_ak.lpc") — these ~55 files have noinheritstatement of their own at all, so there's no base class to providequery/setupand no simul_efun fallback either (this lib doesn't have one, see above). Nothing else in the mudlib references these files by path, so this can't be diagnosed as "meant to be#included elsewhere instead" — it looks like a genuine omission in the original archive (a missinginherit NPC;line), scoped to one city's quest-giver NPCs. Not fixed — 55 near-identical one-line fixes for content in a single zone is out of proportion to this pass's goal (verify the engine boots/connects/plays); note here in case a future pass wants to batch-fix it (sedininherit NPC;as the first line after any leading#include <ansi.h>for each affected file, verify each doesn't already get a base class some other way first). - The remaining ~176 failures are a typical long tail (missing
#includeheaders for specific quest content, a handful of genuine one-off syntax typos in individual room/npc files, a few raw non-UTF8 bytes that survived the lossy encoding pass) — not investigated individually, consistent with AGENTS.md §6b/§13's guidance on sweep noise at this scale.
Interactive test result
Connects, full ASCII-art banner renders, no crashes through: age- verification prompt → MOTD/rules screen → username prompt (validates length/alphabetic correctly) → "new" registration path → English-name sub-prompt (also validates correctly). Did not create a full character or play further into the game world (out of scope for this pass).
Post-hoc fix: UTF8-native is_chinese/registration (AGENTS.md §15h)
Applied in a later batch pass across the whole project: is_chinese/is_chinese2
in the shared chinese.lpc simul_efun fragment used GBK byte-range checks that
silently never match real Chinese text once strings are UTF-8 (this driver's
str[i] returns a Unicode codepoint, not a GBK byte). This broke character
registration specifically -- any real Chinese name was rejected. Fixed the
range check to test the CJK Unicode block instead, and halved the
GBK-byte-calibrated length bounds in check_legal_name to match. See
AGENTS.md §15h for the full writeup; confirmed via a real interactive
registration test (Chinese surname + given name reaching the next prompt).
Re-verification pass: driver rebuild + formatter + WASM (2026-07-23)
- LPC formatter: ran
format-corpus.mjsacross all 9096.lpcfiles underwork/— 8959 reformatted, 135 unchanged, 2 refused (token-mismatch safety gate, negligible on this lib). - Native retest against the freshly-rebuilt driver: booted clean (
Initializations complete., zero fatal errors). This pass went further than the original conversion pass's test (which stopped at the English-name sub-prompt): ran the complete registration flow — encoding → age-gate →new→ English id → Chinese name (秦风九) → admin/"super" password ×2 → login password ×2 → email (needs an[email protected]-shaped address) → gender → an in-game gift-allocation wizard (9/yto accept defaults) — and reached the actual starting room (南城客栈) with working NPCs/exits,scorerendering a complete correct character sheet, andquit(with the standard "played <2 minutes, still want to keep this account?" new-account prompt) working correctly. Zero fatal errors indebug.logacross the whole session. No regression from the reformat or driver rebuild. - WASM build test (
scripts/wasm_client.js): fully playable, including a full real-name registration (秦风十一/ idqflibrv) reaching 南城客栈 with correct room/NPC text, a correctscoresheet, and a workingquit. As withmohuanshiji,debug.logshows one non-fatal*Array index out of boundstrace fromadm/daemons/ ipd.lpc'sseek_ip_address()— the shared-lineagequery_ip_number()-under-WASM limitation (an empty IP string breaksexplode(ip, ".")[1]indexing) — but it fires fromenter_world()'s cosmetic "connecting from…" welcome text, *after* the character already exists and is in the world, so it doesn't block anything. Note for future passes: this lib'sSECURITY_D->match_wiz_site()/"/adm/daemons/band"->is_banned()/create_char_banned()calls (both IP-based) also depend onquery_ip_number(), but neither fired during this test —match_wiz_siteonly gates *wizard*-level logins (not exercised here), andis_banned/create_char_bannedevidently tolerate the WASM-mode IP string without throwing. Status: fully playable under WASM (same cosmetic, non-blocking IP-lookup error asmohuanshiji, not the login-blocking shape seen inmhxy/moniHuafu).
WASM-enablement pass (2026-07-24): loopback-allow + admin seeding
Gates patched (same 西游记-lineage shapes as mhxy/mohuanshiji;
loopback = 127.0.0.1, any 127.*, or an empty/malformed
non-dotted-quad string, which is what current WASM builds return):
adm/daemons/band.lpc—is_banned(),create_char_banned(),is_strict_banned()short-circuit return 0 for loopback;allow_multi_login()returns 1000 for loopback.adm/daemons/logind.lpcencoding()— newlocal_connflag; the!ip_namedestruct and the "Non_number" IP-character-scan destruct are skipped for loopback/malformed IPs.adm/daemons/ipd.lpcseek_ip_address()— returns "本地连接" for loopback/short IPs instead of theexplode(ip,".")[1]out-of-bounds throw (previously cosmetic-only under WASM here, now gone entirely).adm/daemons/securityd.lpcmatch_wiz_site()— loopback always passes wizard site restrictions.- No
uptime()startup gate or reconnect throttle in this lib (checked); thekickout_time10-minute punishment timer kept (game design).
Admin account: fluffos, 登陆密码 Mud@2026, 管理密码 Mud@2026admin
(this lineage sets the admin/recovery password FIRST and requires the two
to differ), Chinese name 浮浮, granted (admin) via /adm/etc/wizlist
(normalized CRLF→LF). Verified: real-flow registration reaching 南城客栈,
re-login ("您使用了登陆密码成功登陆!"), update /adm/daemons/band.lpc
succeeds. Saves at data/login/f/fluffos.o + data/user/f/fluffos.o
(untracked, not gitignored — orchestrator must add; note this lib also
ships a large pre-existing tracked player base under data/user/, which
was left untouched). Fresh normal registration (秦风/testqa) re-verified
end-to-end and its saves removed. debug.log: only transient cold-cache
"Eval interrupted / Too long evaluation" lines during the first world
entry (lazy compiles of big content files; a warm-cache login+look+score
session afterwards added zero new error lines) — same known mega-content
shape as mhxy, not introduced by this pass.
深度功能测试 / Deep functional test (2026-07-24, round two)
First real *playthrough* pass on this lib (all prior passes verified only
registration + look/score/quit + admin login, or watched boot
output/WASM). Read doc/help/newbie in full first — it correctly named
the fight-vs-kill safety distinction, apprentice/learn syntax,
the general command set, and pointed at help combat/help menpai.
Played as an ordinary new player through registration, exploration, a
real (non-lethal) fight, organic skill-learning and sect-joining, a
shop list/buy attempt, a real quit (including mid-combat), a real
wall-clock-gap reconnect via the restore/login path, native driver
(build-debug). Found and fixed three distinct bugs, one of which
is a genuinely new class for this project's catalog.
Test characters (both kept, not cleaned up, as representative playthrough evidence):
- id
linqx, Chinese name 林晓月, login passwordLogin5678(admin/ recovery passwordAdm12345), female — the main playthrough character. State: apprenticed to 秦富 (Qin Fu, 将军府/General's- Mansion sect, "将军府第四代弟子"), learnedforce(内功心法) to level 1 via the organic teacher-NPC path, survived afightagainst a wanderingjieding xiaosengNPC, quit mid-combat cleanly, and relogged in (via the restore/full-login path, a real wall-clock gap later) with sect/skill/inventory state all intact. Saves:work/data/user/l/linqx.o,work/data/login/l/linqx.o. - id
linsuz, Chinese name 林素姿, login passwordLogin5678, female — a second, independent character used specifically to re-verify the reconnect/gift-wizard fix (below) end-to-end from a clean registration with no prior state. Saves:work/data/user/l/linsuz.o,work/data/login/l/linsuz.o.
Several other ids (linshuang, linxue, linxue2, linxueqi,
linxueb) were created and abandoned during trial-and-error discovery
of this lib's exact registration-prompt sequence (id must be 3–8 plain
English letters, no digits — several attempts failed that check) and
their save files were deleted before finishing; not left behind.
Bug 1 (NEW bug class): reconnecting mid gift-allocation permanently strands a new character with every command silently blocked
File:line of the fix: obj/user.lpc's reconnect() (~line 252);
structural root is adm/daemons/logind.lpc's enter_world() (the
no_gift → move("/d/wiz/init") routing) and d/wiz/init.lpc's
init() (schedules the auto "start" trigger only on the room's
original entry).
- Symptom: a brand-new character's very first interactive step after registration is a mandatory gift-point-allocation wizard, run by
/d/wiz/init.lpc— a special "limbo" room every new character is moved into, whoseinit()(fired once, on that originalmove()) registers a catch-alladd_action("do_block", "", 1)blocking every verb exceptlook/help/story/say, and schedules acall_outthat auto-runs the"start"command to show the point-allocation table viainput_to(). If the player's connection drops (network hiccup, client crash — exactly the kind of thing that happens at registration time in the real world) before finishing that wizard, and they reconnect to the still-live (netdead) session, every single command they type produces zero visible output exceptlook(which just shows the bare room short-description, no further content) —score,i, movement, everything is silently swallowed. Root cause:input_to()registrations do not survive a net_dead/reconnect cycle on this driver, so the pending gift-table prompt is lost;reconnect()(obj/user.lpc) is a much simpler code path than a fresh login and never callsenter_world()'sno_gift-routing again, so nothing re-triggers the auto"start"; and the room's owninit()— which is what scheduled that auto- trigger in the first place — only fires on the room's *original*move(), not on a reconnect to an already-resident object. The account is permanently stuck —do_block's catch-all (which *does* survive reconnect, sinceadd_actionbindings are unaffected) silently blocks everything else — unless the player happens to already know the undocumented internal"start"command (verified live: typingstartmanually resumes the wizard correctly, which is how this was first isolated as aninput_to/reconnect-timing issue rather than a dead command_hook). - Why every earlier verification layer missed this: registration smoke tests always complete the gift wizard in one continuous send batch (no realistic disconnect); boot-log watching never touches a second connection to the same character; and even this project's own round-two methodology's first instinct — "test
lookafter reconnect" — reports success (a room short name renders!) unless you specifically ALSO testscore/movement and notice they produce nothing. - Fix:
obj/user.lpc'sreconnect()now checksquery("no_gift") && base_name(environment(this_object())) == "/d/wiz/init"and, if so, callsd/wiz/init.lpc's (already public, no visibility modifier)get_start0(this_object())— the exact same entry point the room's owninit()would have scheduled, i.e. functionally identical to the player typingstartmanually.
``lpc
// BEFORE:
void reconnect() {
set_heart_beat(1);
set_temp("netdead", 0);
remove_netdead_enemy();
remove_call_out("user_dump");
remove_call_out("do_net_dead");
tell_object(this_object(), "重新连线完毕。\n");
}
// AFTER: (see obj/user.lpc for the full comment) — appends:
if (query("no_gift") && objectp(env = environment(this_object()))
&& base_name(env) == "/d/wiz/init") {
env->get_start0(this_object());
}
``
- Verified live, twice: (1) reproduced the exact broken-reconnect symptom pre-fix with
linqx(registered through gender selection, let the connection idle-close before the gift wizard, reconnected —lookshowed only the bare room name + the other stuck test characters'<断线中>player-list entries,score/9/yall silently produced nothing; manually typingstartDID resume it, confirming the diagnosis). (2) Post-fix, reproduced the identical scenario twice more — once continuinglinqx(reconnect now auto-shows the full gift table exactly as a fresh entry would) and once end-to-end from a brand-new registration (linsuz: register → let it idle-disconnect mid-wizard → reconnect → gift wizard auto-resumes correctly with no manualstartneeded → accepted defaults → reached 南城客栈 → cleanquit).debug.logstayed at its pre-session line count throughout all of this (no crash, this bug is a pure silent-dead-end, not a crash). - Sibling check (per AGENTS.md's own instruction to check documented siblings before moving on):
libs/mohuanshiji/work/d/wiz/init.lpcis a byte-identical copy of this exact file (confirmed viadiff), andlibs/mohuanshiji/work/obj/user.lpc'sreconnect()has the identical simple shape with no gift-wizard-aware guard — this lib is very likely equally vulnerable and unfixed; flagged for a future pass or the orchestrator to port this same fix (not fixed here — out of scope for this lib's own pass, and multiple agents may be working onmohuanshijiconcurrently).
Bug 2 (existing AGENTS.md §7.17 class, applied proactively): unbounded init()/reset() reentrancy — this lib has the identical vulnerable shape in 15 files
std/room.lpc's setup() calls this_object()->reset(); synchronously
as the last step of every room's create() — the exact structural
precondition for AGENTS.md §7.17 (found live on xiyouji). Grepped for
the vulnerable create_identity()/force-load-by-path shape
(call_other(where, "???")) and found it copy-pasted, byte-identical,
into 15 of this lib's ~16 sect/zone "senior disciple" entrance NPCs
(the 16th, d/npc/zhangmen.lpc, has the same create_identity()
function defined but its own init() never calls it, so it's inert —
checked, not fixed):
d/jjf/npc/zhangmen.lpc d/qujing/kusong/npc/zhangmen.lpc
d/nanhai/npc/zhangmen.lpc d/qujing/wudidong/npc/zhangmen.lpc
d/sea/npc/zhangmen.lpc d/qujing/wuzhuang/npc/zhangmen.lpc
d/xueshan/npc/zhangmen.lpc d/kunlun/npc/zhangmen.lpc
d/death/npc/zhangmen.lpc d/shushan/npc/zhangmen.lpc
d/sanxian/npc/zhangmen.lpc d/moon/npc/zhangmen.lpc
d/lingtai/npc/zhangmen.lpc d/pansi/npc/zhangmen.lpc
d/death/npc/guiwang.lpc (calls the same "/d/death/new-walk2" room)Applied the exact §7.17 fix, mechanically, to all 15 files plus
std/room.lpc:
1. std/room.lpc: nosave int resetting_now; guard at the top/every
return path of reset().
2. Each of the 15 files: nosave int in_init_now; guard around the
whole body of init().
3. Each of the 15 files' create_identity(): prefer
environment(this_object()) over the call_other(where,
"???")/find_object(where) force-load when it already matches
where by base_name().
One mechanical mistake caught by compile-checking every edited file
with lpcc before restarting the driver (not just eyeballing the diff):
my first pass inserted the new nosave int in_init_now; declaration
between the two existing inherit NPC;/inherit F_SAVE; lines —
Illegal to inherit after defining global variables. — moved it after
both inherits. All 15 files plus std/room.lpc, obj/user.lpc,
d/wiz/init.lpc compile clean (lpcc config.fluffos <file>, checked
individually, zero error:/Fail to load object lines).
Live verification: walked a fresh linqx all the way to
/d/jjf/front_yard2 (练武场, the room directly analogous to xiyouji's
front_yard2 — houses this lib's d/jjf/npc/zhangmen.lpc, title "大唐
天下兵马大元帅") — first visit of this boot for that room, post-fix:
no crash, debug.log line count unchanged, exactly one zhangmen NPC
present (not a duplicated pair, which is what the unfixed bug produces).
Only /d/jjf/front_yard2 was live-verified this way; the other 13
sect/zone rooms were fixed by code-shape match only, per this project's
own established practice for this exact bug class (§7.17's own writeup
did the same for 8 of xiyouji's 9 sects) — honestly unverified live.
Suggestive supporting evidence found by accident: during this same
session, work/data/zhangmen/zhangmen_ao_guang.o (the *East Sea Dragon
Palace* sect's persisted zhangmen-NPC save — d/sea/npc/zhangmen.lpc,
a room I never navigated to) got silently rewritten mid-session with
drastically degraded stats (combat_exp 1,200,000 → 100,000, all
skills 200 → a flat 60, daoxing 1,500,000 → 100,000) — consistent
with a duplicate, freshly-initialized clone's create_identity()/
init_identity() overwriting the good save via a background
heartbeat/wandering-bot visit, i.e. exactly this bug's signature,
happening on a sect I never touched. Reverted that file (pre-existing
tracked shipped data, not part of my intended fix, restored via git
restore) rather than "fix" it by hand — but it's worth citing as
independent evidence this bug class is real here, beyond the one room
directly reproduced.
Bug 3 (NEW bug class): uncatchable eval-cost abort during the START_ROOM's cold first compile can permanently strand a logging-in player with no environment
File:line: adm/daemons/logind.lpc's enter_world() (~line 916,
the !catch(load_object(startroom)) block) and its structural fallout
in cmds/usr/quit.lpc (~line 75).
- Symptom: on a fresh driver boot, the very first real player to connect can hit a caught-by-the-driver, shown-on-screen, uncatchable runtime error during login:
``
执行时段错误:*Can't catch eval cost too big error.
程式:/adm/daemons/logind.lpc 第 916 行
`
preceded by an ordinary *Too long evaluation trace rooted in
/feature/save.lpc's restore(), called (via feature/vendor_sale.lpc
→ std/char/npcsave.lpc) from /d/city/npc/xiaoer.lpc's create(),
called (via make_inventory()) from /d/city/kezhan.lpc (南城客栈,
this lib's START_ROOM) — i.e. the START_ROOM's own first-ever
compile of this boot cascades into populating it with the shopkeeper
NPC, whose restore() (small save file, ~1.5KB — the *cost* here is
the cumulative eval budget of the whole synchronous first-time compile
chain, not one expensive operation) tips the eval-cost counter over
the limit. Unlike an ordinary *Too long evaluation, this second,
immediately-following error is explicitly marked uncatchable by
the driver — it aborts enter_world() entirely at that exact point,
skipping every line after it, including the existing
if (!environment(user)) user->move(START_ROOM); safety net a few
lines further down (a comment there, "by canoe 修改多物品时突然quit
不能进mud Bug", shows the original authors already anticipated and
patched a *similar*-shaped bug once — but that fallback is itself
inside the same synchronous call and is just as exposed to this
uncatchable-abort class). The player is left fully connected but with
environment(me) == 0 — look degrades gracefully ("你的四周
灰蒙蒙地一片,什么也没有" — this lib's std look already handles a null
environment), but quit does not: message("system", ...,
environment(me), me) passes the literal integer 0 where message()
requires a string/array/object, throwing *Bad argument 3 to EFUN
message() and aborting quit() itself before it reaches me->save()
— so the character is stuck with no room and can't even cleanly log
out (though the character's on-disk save is unaffected, since the
abort happens before save()` runs).
- Why every earlier verification layer missed this: it is specifically timing/cold-cache-dependent — reproduces only when a real login happens to be the trigger that first forces
kezhan.lpcto compile after a fresh boot (every one of this pass's dozens of earlier successful logins into南城客栈during this same session had already warmed that room from an earlier connection in the same driver process — this is the *first-visit-only* pattern this project's own §7.17 already established as a general risk shape, but manifesting here in the driver's *login* path rather than a room'sreset()). Confirmed reproducing on a genuinely fresh boot, first connection. - Fix (two parts — the second is defense-in-depth, not a substitute for the first): 1.
adm/daemons/logind.lpc: schedule acall_out("verify_environment", 0, user, START_ROOM)before the riskyload_object(startroom)/move()calls (not after — scheduling it after would be just as exposed to the same abort skipping past it). Acall_outfires in its own fresh top-level context with its own eval-cost budget, independent of whether the call that scheduled it later aborts — this is the one part of the recovery that's actually guaranteed to run. The newverify_environment()function re-checksenvironment(user)andmove()s toSTART_ROOMif still null (by the time it fires, the room that blew the budget the first time is normally already compiled — the abort hit expensive create()-time NPC population, not compilation itself — so the retry is cheap). 2.cmds/usr/quit.lpc: guard themessage("system", ..., environment(me), me)call with&& environment(me)so a null environment (from this bug, or any other future cause) skips the room-broadcast instead of crashingquit()outright. - Verified: both files compile clean (
lpcc, zero errors). Live reproduction of the *original* crash happened once, by chance, during a routine post-fix-for-Bug-2 verification boot (not deliberately forced) — confirming this is a real, reachable defect, not a hypothetical. Could not deterministically re-force the exact race a second time to directly observe the recovery path firing (it is inherently timing/system-load dependent — see the memory-growth note below for why this shared host's load may make the race easier to hit than on a dedicated machine); re-verified only that the fix introduces no regression — a normal fresh-bootlinqxlogin →look→ mid-sessionquitall worked correctly and cleanly after the fix,debug.logunchanged. The fix is architecturally sound by inspection (thecall_outis provably scheduled before any of the risky calls, andverify_environment()'s logic is a direct, minimal generalization of the archive's own pre-existing "!environment(user)" defensive idiom used two lines below it) but this specific live-recovery path is honestly not directly observed firing — flagging per this project's own honesty standard rather than silently claiming full verification.
Memory-growth investigation (informational — not fixed, not conclusively a bug)
Mid-session, the orchestrator force-killed a driver instance of this lib that had grown to 8.2GB RSS and climbing, out of shared-host safety concerns. Investigated afterward with tight self-imposed RSS caps (killed my own test instances well before any risk threshold):
- A completely fresh, idle boot with zero client connections climbs steadily on its own — 44MB → ~140MB in about 2 minutes, ~400+ distinct files compiled purely from idle background activity, still climbing when I stopped it (self-capped at <1GB, well short of the earlier 8.2GB).
- Traced the cause:
jjhome/daemon/jj_manmade_npcd.lpcruns a capped autonomous-bot population (max_npcs = 14, one new "人造人"/manmade- person bot spawned every 30s viacall_out("generate_npc", 30, ...)until the cap is reached — confirmed capped in code, not an unbounded spawn loop), and each bot independently wanders the entire map via its ownheart_beat()/random_move(), lazily compiling every room/NPC file it happens to walk into for the first time. With a 9096-file, heavy-content archive (matching this project's own established "mega-content lib" precedent, AGENTS.md §10.4), a small population of bots genuinely touring a very large map could organically account for several GB of steady-state compiled code + static data before plateauing, with no single unbounded loop responsible. - Honest conclusion: population growth (the "generate_npc" cadence) is verifiably capped in code, ruling out the most obvious "unbounded spawn" bug shape. I did not have safe budget, under the orchestrator's explicit memory-safety directive, to run a boot long enough (my own observation window was capped at a few minutes/<1GB) to see the file-compile-driven growth actually plateau — so I cannot rule out this eventually stabilizing at a large-but-bounded footprint (my working hypothesis, consistent with precedent elsewhere in this project) versus some other, subtler unbounded growth I didn't isolate. Recommend a future pass do a dedicated, strictly RSS-capped (auto-kill past e.g. 2GB, unattended-safe) long- sit test specifically to settle this, rather than treating my partial observation as either a clean bill of health or a confirmed bug.
What was tested and confirmed working
- Registration: real Chinese name (林晓月/林素姿), full flow (age gate → rules →
new→ English id, 3–8 plain letters only → Chinese name → admin password ×2 → login password ×2, must differ from admin password → email → gender → gift-allocation wizard9/y) — reaches 南城客栈 correctly. - Movement/exploration: walked from 南城客栈 through 朱雀大街 → 十字 街头 → 青龙大街 (×2, different rooms sharing a short name) → 将军府 (jjf gate, gated by an
answer 拜师challenge from 秦安) → 练武场 (front_yard, 秦富's teaching ground) → 练武场 (front_yard2, the zhangmen NPC's room) and back — all room descriptions, exits, and NPC lists rendered correctly; read room.lpcsource (d/city/kezhan.lpcetc.) and used a small BFS script over every room'sset("exits", ...)mapping to compute exact shortest paths rather than guessing blind. - Character info:
score/i/hpall correct at every stage (fresh, post-gift, post-sect-join, post-skill-learn, post-relogin). - Combat:
fightcorrectly rejected in the no-fight 南城客栈 zone ("这里禁止战斗"), correctly reports "你想攻击谁?" for a missing target, correctly lets a"friendly"-attitude shopkeeper NPC decline ("看起来董朴升并不想跟你较量"), and produced a full turn-by-turn combat exchange against a"peaceful"-attitude (but notaccept_fight-excluded) wandering NPC — matchesdoc/help/concepts/ combat's documentedfight-is-non-lethal model. No dedicated training-dummy object found reachable in-game:d/city/obj/muren.lpc(and two further copies) implements exactly the bxsj/xiyouji-style "mirror the attacker's stats" safe-sparringaccept_fight(), but grepping the whole lib found no room that actually places/clones it — it looks like shipped-but-orphaned content (or a wizard-only manualclone_object), not a naturally-reachable newbie mechanic in this lib; used an ordinary weak wandering NPC for the live combat test instead, perhelp newbie's own fallback advice ("你大体上可以 根据他们的姓名称呼来判断他们的强弱"). - Skills: organic teacher-NPC path —
d/jjf/npc/qinfu.lpc(秦富, reached via the jjf sect gate) unconditionally teachesskills qin fu/learn <skill> from qin fu; learnedforce(内功心法) to level 1, confirmed viaskills. - Sect/faction join:
apprentice qin fu(organic path) succeeded unconditionally (qinfu.lpc'sattempt_apprentice()has no gating beyond "not already jjf"), correctly updatedscore's 门派/师承 fields and title to "将军府第四代弟子" — matches the analogousxiyoujisibling's own worked example almost exactly (same sect family, same auto-recruiting steward-NPC pattern, same generation title format). - Shop:
list/buy <item> from <npc>at 董记当铺 both dispatch and render correctly (price list, correct-format prices); the actual purchase (buy huasheng from xiao er) correctly failed with "你的钱 不够" (insufficient funds) — not completed live, since new characters start with zero money by design (help newbieexplicitly tells new players to beg established players for starting cash, not to expect any) — this is deliberate game design, not a bug; the shop mechanism itself (listing, price parsing, funds check) is confirmed working. - Quit/relogin persistence:
quitmid-combat handled cleanly (dropped two low-value unflagged items — the archive's own established ES-II-lineage anti-hoarding design, matching thebxsjsibling's documented behavior exactly, masked on full relogin bylogind.lpc's unconditional starting-clothes re-grant); real wall-clock gap (~2 minutes, via short interleavedsleeps plus other work, not a blocked long sleep) then reconnected via the full restore/login path (distinct from netdead-reconnect, per AGENTS.md §10.1) — sect membership, learned skill, and inventory all correctly persisted. debug.logdiscipline: grepped for new lines after every singlequitthroughout this session, not just after login, exactly per the §10.7 lesson — genuinely caught nothing new from ordinary play (both new bugs found here were caught by *other* means: direct reconnect-state inspection for Bug 1, an on-screen — not debug.log-only — crash trace for Bug 3).
Not verified live (explicit, not silently skipped)
- Death/respawn: not reached.
jieding xiaoseng's far higher skills (79 dodge/parry vs.linqx's single level-1force) made a loss plausible with more turns, but the session was cut short by the memory-growth investigation and the Bug 3 discovery/fix, which consumed the remaining time budget. Code review only:cmds/usr/quit.lpc/std/char.lpc's death-handling paths were not read in this pass. - 8 of the 9 remaining §7.17-shaped sect-entrance rooms (
d/nanhai,d/sea,d/xueshan,d/death,d/sanxian,d/lingtai,d/pansi,d/kunlun,d/shushan,d/qujing/{kusong,wudidong,wuzhuang}— 12 total beyondd/jjf, fixed by code-shape match only, not walked to). - Bug 3's recovery path (the new
verify_environment()call_out actually firing and repairing a null environment) — the *original crash* was directly observed once, but the fix's own recovery branch was not directly observed firing a second time, for the reasons detailed above. mohuanshiji's equivalent of Bug 1 — flagged as very likely present (byte-identical shared file confirmed) but not fixed there, out of scope for this lib's pass.
Process-hygiene note (self-reported)
Early in this session, before fully internalizing AGENTS.md §10.5's
"kill by exact PID, verify cwd first" rule, I ran ps aux | grep driver
after a background driver of mine appeared to have died (a stray
SIGTERM — see below), saw two driver config.fluffos processes, and
killed both by PID without checking their cwd first. Both turned
out to belong to other libs (xuanjianlu, shzs) — i.e. two
other agents' sessions, not mine. New processes for those same two libs
appeared moments later (either those agents' own retry logic, or purely
coincidental relaunches by their sessions — I have no way to tell which
after the fact). Flagging this prominently rather than burying it: if
either of those sessions lost work because of this, that's on this
session's account. From that point on I verified readlink -f
/proc/<pid>/cwd before every kill. Separately (and unrelated to that
mistake): this lib's own driver was killed by a genuine external SIGTERM
at least twice during this session even when launched via the tool's
run_in_background option — matches AGENTS.md §10.5's already-documented
"stray SIGTERM between tool calls" environment quirk; not a mudlib bug.
Fail-closed retrofit (2026-07-24)
Same correction as the sibling mhxy/mohuanshiji: the loopback
carve-out originally ALSO treated any empty/non-string/unparseable IP as
trusted-local (fail-open, defensive against an older WASM
query_ip_number() bug now fixed upstream). Tightened to strict loopback
only across band.lpc (×4), securityd.lpc's match_wiz_site,
ipd.lpc (falls back to "未知地区" for unparseable input instead of
"本地连接"), and logind.lpc's local_conn flag. Re-verified loopback
login, look, update, and quit all still work after tightening.
logind.lpc's do_counter(): the AGENTS.md §7.9 fresh-checkout bomb, live on the published site (2026-07-29)
Reported live: the WASM page at mudlibs.fluffos.info/rzrmud/ was
permanently stuck at "connecting…" — fluffos_connect() genuinely
returning -1, traced via the Logs tab to
new_conn_handler: logon() on object obj/login#0 has failed with the
underlying error *Bad argument 1 to sscanf, Expected: string Got: 0
inside do_counter() (adm/daemons/logind.lpc:1152, called from
logon() via encoding()):
int do_counter() {
int number;
string file;
file = read_file(FileName); // FileName = "/adm/daemons/UserNumber"
sscanf(file, "%d", number); // crashes when read_file() returns 0
...UserNumber (the visitor counter) is gitignored runtime data
(libs/*/work/adm/daemons/UserNumber in the repo .gitignore), so it
never exists in a fresh checkout — including the CI runner that packs
the WASM site. It happened to exist on this session's own local disk
(leftover from earlier local testing), which is exactly why every prior
local verification pass here missed it: read_file() only returns 0
(triggering the crash) when the file is genuinely absent, and locally it
never was. Textbook instance of the exact class AGENTS.md §7.9 already
catalogs, just not one that had been found in this lib specifically
before. Fixed with the standard stringp() guard; re-verified against a
freshly packed local site with the file deliberately moved aside
(reproducing the real fresh-checkout condition) — connects and reaches
the registration prompt cleanly. Three more copies of the identical
do_counter() exist (u/canoe/logind.lpc, u/canoe/lbak.lpc,
adm/daemons/log_bak.lpc) but none are inherited/loaded by anything —
wizard-workspace backups, left alone per the standing "don't fix dead
code" policy.
§7.86 跨库扫描修复(留言板 post 崩溃)
BBS_BOARD、BULLETIN_BOARDinherit+ 多余replace_program()致命形状(AGENTS.md §7.86,post命令崩溃):全档案 36 处命中,已删除多余的replace_program(...)调用(保留inherit),逐文件保留原有行尾格式(CRLF/LF 按文件原样)。本次为跨库 §7.86 扫描修复(触发原因:该 bug 已在 6+ 个互不相关的血统家族独立确认,属于近乎普遍的拷贝粘贴模式),仅做编译检查(驱动干净启动、端口正常监听),未做完整 §10.7 深度游玩测试。
深度功能测试第二轮 / Deep functional test round two (2026-08-15, post driver-upgrade re-test)
驱动于 2026-08-12 升级(引入 PR #1343/#1344、quest_times 语料修复)
后的重测。独立复核第一轮(2026-07-24)的三处修复均仍在代码中:obj/
user.lpc::reconnect() 的礼物精灵恢复补丁、do_counter() 的
stringp() 防护、log_error() 的大小写无关 "arning:" 警告过滤门
(这处已经是正确写法,未触发本 session 在 nt1 上踩过的小写坑)。
标准检查清单发现并修复的问题
config.fluffos:maximum evaluation cost从400000(已知风 险区间)提升到5000000。adm/simul_efun/file.lpc:log_file()原本直接write_file(LOG_DIR + file, ...),没有assure_file()目录预建保 护;补上调用及前向声明(log_file()定义在assure_file()之前, 本驱动不容忍未声明的前向调用)。cat()补上read_file() || ""空值防护。cmds/wiz/update.lpc:已有environment(me) &&防护(§7.106), 无需修复。- 确认无
adm/daemons/closed.lpc:本档案属于 ES II wade 血统 (非 NT/nitan 血统),不受 §7.107(nt1本轮发现的闭关精灵未捕获 异常类)影响。
现场验证
驱动干净启动(build-debug),以管理员账号 fluffos/Mud@2026 登
录,确认 目前权限:(admin),落地既有存档房间"南城客栈"(确认账号
存档正确持久化,无 nt1 那种"注册未满 30 分钟强行 kill 驱动导致密
码从未落盘"陷阱——本档案的账号是早前 pass 正常 quit 播种的,本轮
只是复用)。update /adm/daemons/logind 成功,确认
file.lpc/config.fluffos 两处修复编译干净、不影响正常巫师指令。
两次快速重连(各自独立 fluffos/Mud@2026 登录)均正确显示
目前权限:(admin),quit 均产生正常告别提示与断线。debug.log 全
程检查(1283 行):仅 4 处无害的宏定义/未使用变量相关误配匹配,无真
实错误。
本轮修改的文件
config.fluffoswork/adm/simul_efun/file.lpc
§7.100 sweep (2026-08-19)
Fixed the corpus-wide inherit ROOM; ... replace_program(ROOM); redundant-replace bug (AGENTS.md §7.100). 262 live occurrences deleted: 261 via scripted sweep (fix_710_room.py), plus 1 hand-fixed roommaker-tool template (obj/roommaker.lpc, simple string-builder variant). 7 already-commented-out instances left untouched. No real .lpc source found under work/data/. Verified via build-debug driver boot: clean compile, port 40020 listening, zero new "cannot replace"/"cannot bind" debug.log lines.
§7.30 uninitialized-mapping accessor sweep (2026-08-20)
Corpus-wide mechanical sweep of the feature/skill.lpc shared-lineage
bug (confirmed independently on xiakexing2017/jqxz2015/haiyang2
via round-four testing): 3 accessor(s) in this file returned a raw
never-initialized mapping instance variable (defaults to int 0,
not ([]), until first assigned), crashing any unguarded
keys()/sizeof()/indexing caller for a fresh/untrained character.
Fixed at the accessor level (mapp(x) ? x : ([])) per the documented
remedy. Verified via lpcc --batch static compile check only (not a
live boot) as part of a large mechanical sweep; not individually
functionally re-tested live on this lib.
AGENTS.md §7.19 fix: enable_player() reentrancy from init()
feature/command.lpc's enable_player() (wrapper around
enable_commands()) was reachable from an NPC's init() (via the
shared std/char.lpc setup() chain), and enable_commands() is only
safe to call from create() -- calling it again on an object already
living() makes the driver re-invoke that same object's init() as a
side effect, which recursed back into enable_player() on the same call
stack until "Too deep recursion" aborted the boot on a room's first-ever
visit. Fixed with a true reentrancy flag (in_enable_player_now, set at
entry, cleared before every return), NOT a living()-gated guard --
disable_player() in the same file legitimately re-calls
enable_commands() while already living() (sleep/wakeup via
cmds/std/sleep.lpc, revive via feature/damage.lpc), which a
living() guard would silently break. Verified via lpcc --batch
single-file compile check (PASS). Part of the corpus-wide §7.19 sweep
(Batch C).