info.html · 介绍 · play.html · 游玩 · llms.txt · 下载与本地运行 · ZIP · GitHub
StickLib, a legacy public dump of StickMUD (turn-of-century LPMud 2.4.5 lineage on the LDMud driver, with later GMCP/MSSP/MXP/MSP/MCMP protocol work). LDMud → FluffOS conversion: catalog overlay for login/look/score/quit; original /secure/master_ldmud.lpc keeps set_driver_hook and closures. Live StickMUD historically at stickmud.com. Not collection ageofelements (different 2.4.5 fork).
README
LDMud → FluffOS conversion. Snapshot of git clone https://github.com/StickMUD/StickLib.
Slug sticklib, number 977, port 40286.
This collection’s copy is a snapshot, not a live mirror.
StickLib, a legacy public dump of StickMUD (turn-of-century LPMud 2.4.5 lineage on the LDMud driver, with later GMCP/MSSP/MXP/MSP/MCMP protocol work). LDMud → FluffOS conversion: catalog overlay for login/look/score/quit; original /secure/master_ldmud.lpc keeps set_driver_hook and closures. Live StickMUD historically at stickmud.com. Not collection ageofelements (different 2.4.5 fork).
Upstream StickMUD: telnet://stickmud.com:7680. This snapshot is an LDMud → FluffOS Strategy A start (temple yard, market shop, Harry combat, Adventurers' Guild). WASM §10.7 2026-09-10.
Registration flow
Name (2–16 letters) → new character: password (≥6, twice) → the temple yard. Existing names prompt for password only.
Admin / test account
- name:
fluffos - password:
Mud@2026 - privilege: seeded mortal (level 2 Mostly Harmless after native guild advance). This overlay does not auto-god the first player.
Verified live: fluffos / Mud@2026 → temple yard; shop buy
torch; kill harry; guild cost; WASM §10.7 reconnect
persist (level 2, exp 1190).
Local run
cd libs/sticklib
~/src/fluffos/build-debug/src/driver config.fluffosGame port: 40286.
python3 scripts/mudclient.py 127.0.0.1 40286 --timeout 25 --idle 0.6 \
--send fluffos --send Mud@2026 \
--send look --send score --send quitNOTES · 移植与修复记录
StickLib (sticklib) — porting notes
Source: git clone https://github.com/StickMUD/StickLib (commit a0750273104c49d7d506d92f232b221b64577853, cloned 2026-09-05); repo root is the mudlib. Converted 2026-09-05. Config name StickLib.
Slug sticklib, number 977, port 40286.
This is an LDMud → FluffOS conversion. Discovery triage normally
drops LDMud-lineage libs; this onboard is an explicit exception in the
same family as questmud / acme (AGENTS.md §7.158).
This collection’s copy is a snapshot, not a live mirror. Do not onboard the same upstream repo again.
0. Layout
Repo root is the mudlib. raw/ is gitignored. Original LDMud master
preserved as /secure/master_ldmud.lpc.
1. Convert (2026-09-05)
convert_lib.sh with UTF-8 source encoding (already UTF-8 English /
German sources). .c → .lpc rename + literal .c" fixups +
static→nosave as usual.
2. FluffOS port (LDMud → FluffOS)
The archive is LDMud 3.x (set_driver_hook, inaugurate_master,
#' / unbound_lambda closures, multi-file or directory simul_efun).
FluffOS has none of those driver hooks. A mechanical dialect rewrite of
the whole tree is not attempted; the original login/command stack is
kept as source and not loaded.
config.fluffos: master /catalog/master, simul /catalog/simul_efun,
global include "/catalog/auto.h", port 40286,
lazy resets : 1.
Catalog overlay (questmud §7.158 cluster):
/catalog/master.lpc—get_root_uid/get_bb_uid,creator_filealways returns string"BACKBONE",valid_readincludesload_object/recompile_object/include/restore_object,valid_overridereturns 1,error_handler→/log/catch/catalog/simul_efun.lpc— thincat/log_file/exists/catalog/login.lpc,/catalog/player.lpc— name/password → Void/catalog/void.lpc,/catalog/workshop.lpc— look/score/quit surface
3. Live-verified (native, port 40286)
Create fluffos / Mud@2026. Lands in The Void; look / score /
north (workshop) / south / quit. Reconnect after cold restart
reloads data/f/fluffos.o.
深度功能测试(§10.7, 2026-09-05)
Catalog overlay only — the StickMUD LDMud 3.x world is not loaded.
Organic fluffos / Mud@2026 on native 40286: Void look / score
(level 1, hp 20/20) / inventory / north workshop / south /
quit persist. Reconnect: Void look / score / quit. Shop,
combat, guild, death: N/A (needs a real LDMud driver).
Logs this boot (PID started 20:09:19, live fd
libs/sticklib/log/debug.log): stdout + debug.log clean.
work/log/catch proven live with a one-shot catchprobe
(CAUGHT /catalog/player.lpc *catch-path-probe) then reverted;
play itself left no other catch lines.
6. Full dialect port (Strategy A, 2026-09-05)
Catalog Void/workshop is no longer the live world. User asked for the real StickMUD, not a demo skeleton.
What loads now:
/catalog/loginstill handles name/password./catalog/playerenter_world()moves into/room/church(Temple yard, Newbie York)./lib/roomrewritten as a FluffOS Stick-API subset: 1-argset(NO_PK),add_exit/add_item/add_permanent,command_driver→call_other. Original LDMud room (closures, 3-arg implode, PEACE_D/PARTY_D) is/lib/room_ldmud.lpc./catalog/mastercompile_objectdelegates to/areas/tristeza/virtual/serversoS7_6etc. clonetristeza_room(FluffOS renames the clone to the virtual path).- Church
#'query_door_desc/ clock closures → function-name strings. Elevatorcall_otheruses an explicit path (FluffOS parsed(int)AREA+"rooms/elevator"->fnas'rooms/elevator'). mud_name.hno longer redefines FluffOS's predefinedMUD_NAME. Simul shims:member/m_delete/m_indices/3-argimplode/ 2-argmove_object/nature()/notify_failreturns 0 /symbol_function/funcallleaves literal strings alone./lib/living,/lib/npc,/lib/group_npcare FluffOS subsets (originals*_ldmud.lpc)./lib/treasurekeeps its source withclosure→mixed. Roomcreate()callsreset_room()so FluffOS lazy reset still stocks shops.
Live walk (native 40286, 2026-09-05, organic fluffos /
Mud@2026):
- Temple yard look;
look at pit/look at door(closed) /look at clock(midday fallback);score;pray("No sense praying unless you're dead."). - East → Hall of Races (sign look). West back to the yard.
- South → virtual Market Square (S7_6). West → S6_6. West → Common Shop. Named shopkeeper present (Culdaff / Falo / Nallihan).
listshows torches and torches of darkness at 82 gold.buy torch→ inventory "A torch" / "A torch of darkness", gold 200→118→36. - East from physical S8_6 → Adventurers' Guild loads (
8a9558ad094+a6e16773d6a). Sign lists cost/advance/ list.cost: "You still need 1014 experience points for next level" (no player-visible ERROR). User graph present./lib/guildusesmixed guildInit;#'make_noiseiscall_out("make_noise", …). - QUEST_D (
ac61209dffb): LDMud multi-value mappings rewritten as mapping-of-arrays (originalquestd_ldmud.lpc).questslists the enabled set.qp_for_levelstill returns 0 (upstream Kieve stub), so advance is XP-only. - Eat at Joe's LIVE (
9316443fe04+aa89abf6bca): church → S7_6 → S6_6 south → Main Street → Dragon Street north → Ladywell west → Joe's. Joe stays in the restaurant (no city wander). After ~1s he swallows the player; stomach awards QUEST_EAT_AT_JOES (M6a).scoreshowsQuests: M6a. Reconnect persists. Guildquestsdrops from 14 to 13 (Eat at Joe's gone). Stomach has no exits (upstream). - Well maze LIVE (
6bbecdc51dd): S7_7#'read_filemap lambda →map_text(). Harry boot wrapped in catch (he actually spawned). Mazeexit_numfixed to 0 so north advances. Church → S7_6 south → well square → down → north ×4 → End of maze awards QUEST_M3.scoreQuests: M6a, M3. Reconnect persist. Guild list 12 (Maze Under Well gone). Leather armour cloned at the end. - Beer to Bum LIVE (
f725c02fc45): church → S7_6 south ×3 → S7_9 west Potato-Nosed Ogre. Bartender present.buy beer(48 gold) → inventory "Bottle of Ogre IV beer". East, north ×2 to well square, west ×7 to West Gate. Bum spawned (archive never placed him; Strategy A puts him atgate_west).give beer to bumawards QUEST_M2.scoreQuests: M6a, M3, M2. Gold 200→152. Reconnect persist. Guildquests11 (Beer to Bum gone). Thin/lib/drink(originaldrink_ldmud.lpc);/lib/pubemptyreset_pub(); nature-null pub hours; catalog get/give. City guards still fail to compile (privategender/Pronoun/set_keep_hb) — catch-wrapped. - Combat LIVE (
3235caa3a99): church → S7_6 south → well square (did not go down the well).kill harry— player hits, Harry hits back (5+3 dmg), Harry dies, 70 XP.scorehp 12/20 exp 70. Look: Harry gone. Reconnect persist hp + exp. Thin/lib/livingattack/die/heart_beat (original stillliving_ldmud.lpcwith HitFunc closures). Catalogkill/hitresolves a short fight. Stray dogs are a 10% street wander; S6_7 had none this boot.
This-boot live libs/sticklib/log/debug.log (fd, PID 1662870
BOOT_MARKER16 sticklib-combat): living + catalog player
compiled. Catch this walk: expected PEACE_D only.
Guild advance LIVE (0cf82e040d1 + fc60c6c304d +
38d9b3c591c, native 40286, 2026-09-10): catalog
set_level/set_title persist (they were no-ops;
query_level always returned 1). Harry respawns on
re-enter of S7_7. Temple yard restores HP and unghosts
(login compile needed a remove_ghost prototype).
Organic fluffos: 13× kill harry with church rest
between fights (70 XP each; start 210 → 1120). Guild
cost: "enough experience to advance a level".
advance level fanfare; score Fluffos the Mostly
Harmless (level 2) exp 1120. Reconnect persist.
qp_for_level is still 0 (XP-only).
Published (wasm_status: playable) after WASM
§10.7 of shop / combat / guild (leftover 632,
2026-09-10).
4. What is not ported yet
Elevator, PEACE_D, NATURE_D. Trashcan toss (foreach :).
Full LDMud HitFunc / weapon closures (thin living is enough
to kill). Bulletin board extra inherit. City guards. Joe's
LDMud tell_here format tokens still print raw. Catalog
inventory persist is still save fields only.
WASM §10.7 (2026-09-10, leftover 632)
scripts/wasm_client.js against build-wasm
(fluffos 20260830), organic fluffos / Mud@2026
(native leftover 629 save: level 2 Mostly Harmless,
exp 1120, gold 152, quests M6a/M3/M2):
- Temple yard look / score.
- South → S7_6 west ×2 Common Shop.
list/buy torch(gold 152→70). - East ×2 south → S7_7.
kill harry: Harry dies, exp 1190, hp 11/20. - East ×2 Adventurers' Guild.
cost: "You still need 332 experience points for next level." - North to the yard: "The temple yard's peace restores you."
- Quit / WASM reconnect: level 2, exp 1190 persist. Gold 200 (catalog bump when purse < 80). Inventory empty (catalog save fields only — same as native).
Expected compile noise (already documented, not
player-visible): PEACE_D filter_objects, trashcan
foreach :, bboard #'. Do not redo native harry
farm or WASM shop/combat/guild. Remaining partials:
aoh shop/combat (do not invent rooms), simud (no
world.obj), morgengrauen (no /d/ebene), acme
(no world).
深度功能测试(§10.7,2026-10-04)— negative range ends
scripts/lpc_fix_negative_ranges.py: 11 line(s) in 7 file(s) count a range from the end with < (x[a..-1] -> x[a..<1], x[-2..] -> x[<2..]; KB 06 §7.209). In this driver a negative constant end gave "" / ({ }) and a negative start the whole value, so each of these returned the wrong slice; the compile warning A negative constant as the second element of arr[x..y] is gone from the files that compile. Range lvalues (s[0..-1] = text, the prepend idiom) are left alone. A paired compile of the changed files at HEAD and in the working tree showed no new error.
Deep test (§10.7, 2026-10-08) -- fixed-width .lpc suffix slices
The .c -> .lpc rename changed the string but not the slice width: f[<2..] == ".lpc" compares two characters with four and is never true (!= always true), so suffix filters and strips never ran or cut x.l (KB 06 §7.238). scripts/lpc_lpc_suffix_slice.py --apply fixed 4 comparison(s) and 1 strip(s) (e.g. bin/usr/_ls.lpc); the changed files load at HEAD and in the tree (fresh processes) with no regression.
- 2026-10-10:编译警告第二轮(按驱动报告逐条修):按位 & 改逻辑运算 0 处,返回类型/原型 0 处,NPC+F_UNIQUE 的 init() 0 个,带初始化的未用局部变量 184 个,只在 #if 分支用的声明移进分支 0 个文件;改动 103 个文件,HEAD 与工作树各载入一次无回退(103 objects; HEAD PASS 56, tree PASS 56; regress 0; newly loading 0),这些文件的警告 436 -> 246。
- 2026-10-10(续):第二轮编译警告整理把
light.lpc里未用的object env = (all_environment() || ...)[<1];留成了无意义的表达式语句,改为整行删去(lpc_fix_unused_init.py现只在初始化式就是单个调用时保留调用)。 另外secure/ftp.lpc、guilds/priests/rooms/registration.lpc、secure/master/log_file.lpc中同样被删的#if分支变量已恢复。
编译警告收尾(2026-10-12)
scripts/toolkit_fix.sh 一轮加手工收尾;能编译的文件警告清零,剩下的警告都在本来就编不过的 LDMud 遗留文件里(mkmapping、interactive_info、set_this_object 等,属移植缺口)。改动的 146 个对象 HEAD 与工作树各载入一次:HEAD PASS 75,tree PASS 75,regress 0。
- 机械类:60 个
nosave函数改protected(2 个删去),121 处无意义转义(\'、\T等,输出不变),176 个未用局部变量,3 个只在#if分支用的声明移进分支。 - 重复继承:
include/room.h本身会inherit ROOM_FILE(有ROOM_NO_INHERIT开关)。areas/tristeza/shops/bakery.lpc和 priests 的armoury/artificer/quartermasters/treasury/wine_cellar先经头文件继承 room,再继承一个本身就继承 room 的类(food_shop、officer_room、pub),于是 room 的变量声明两次、函数“inherited from both”。在这些文件 include 前加#define ROOM_NO_INHERIT。guilds/thieves/thief.h同理直接继承mark/can_throw、mark/is_valid_target,新增THIEF_NO_INHERIT开关,skills/_stab.lpc、skills/_tth.lpc(已经继承criticals)打开它。驱动原本就选用子类里的定义,行为不变。 - 真 bug(“Expression has no side effects”下面藏的):
- areas/tristeza/finnclub/sauna.lpc:str == tmp1 应为赋值,“... with X” 的写法从没生效。
- lib/armour.lpc:rcs[i] == "dwarves",dwarf 从没换成复数 dwarves,描述里一直是单数 dwarf。
- std/obj/pipe.lpc:addiction == 0、sweat == 0,负值从不归零。
- bin/pub/_check.lpc:61–80 一档的 case 后面是一个孤立的 tmp; 而不是 break;,直接落到 default,玩家总看到“死在瓶子里”的那句。
- basic/curse.lpc:删 identified_by 最后一个名字时算出新数组却没赋回去。
- 其它:
lib/door.lpc空的if (l_long) {}删去;basic/room/map.lpc、bin/usr/_diff.lpc的?:两边类型统一;三个 attack 文件和bin/pub/_disguise.lpc注释里的嵌套/*。
- 2026-10-14:
guilds/thieves/skills/tumble.lpcdeclared its globals aboveinherit "/guilds/thieves/skills/criticals"inside the#ifndef TMARK_Cblock (Illegal to inherit after defining global variables); the inherit now comes first.
Objects that call an inherited function no parent has (2026-10-19, KB 06 7.259)
::create();, ::init(); and return ::buy_object(who, item); were written against a parent that has the function; this lib's parents do not, the old driver took the call for a no-op returning 0, and the current driver stops at compile time with Unable to find the inherited function, so the object never loads. A call written as a statement is deleted, return ::f(...) becomes return 0; (return; in a void function), which is what the old driver did. 1 calls in 1 files: ::reset() (1). Only files whose every error was this one were edited; a file that also has another error (usually a parent that is itself missing) is left until the parent is restored. (scripts/lpc_fix_dangling_super.py)
Warning scan residue (2026-10-19)
- The fresh scan listed one warning outside a failing file,
Unused local variable 'index'at/secure/simul_efun/file_lines.lpc:12. That file has no such variable and loads with no warning; the row belongs to its neighboursecure/simul_efun/tail.lpc, an LDMud-only sefun (bytestype,b"\n"literals) that does not compile here and is not in thecatalog/simul_efunset the driver loads. Nothing to fix; the rest of thesecure/andstd/tree is LDMud code whose errors are expected (the lib is a catalog overlay, not a port).
x != "a" || x != "b" 和 x == "a" && x == "b":同一个值的比较链永远成立/永远不成立(2026-10-20,KB 06 §7.282)
if (arg != "wan" || arg != "丸") return notify_fail(...) 对任何 arg 都为真,dir == "south" && dir == "north" 永远为假:条件下面的守卫要么永远拦、要么永远不拦。作者要的是“既不是 A 也不是 B”(&&)或“是 A 或 B”(||)。!= 链的 || 改成 &&(仅当条件下面是 return 的拒绝/守卫),== 链的 && 改成 ||(scripts/lpc_fix_cmp_chain.py)。改动:/basic/curse.lpc(1 处)。
add_action() registrations of functions nobody defines (2026-10-21, KB 06 §7.349)
An add_action("fn", "verb") whose function is defined neither by the object, nor by its headers, nor by its parents, nor by any object derived from it (scripts/lpc_scan_callout_targets.py, descendants checked transitively, then function_exists() in a running driver, scripts/lpc_verify_handlers.py). The driver walks the actor's sentences from the newest one: when that sentence's function does not exist it raises *Function for verb 'drop' not found. and tries no other handler of the verb (an older dead sentence is passed over silently). Removed 5 registrations in 2 files (scripts/lpc_fix_dead_add_action.py), the verbs are left to their other handlers: /areas/tristeza/shops/lords_shop.lpc (read), /areas/tristeza/virtual/jail/cavern1.lpc (east, north, south, west). Most frequent: read x1, east x1, north x1, south x1, west x1.
log/ subdirectories nobody created: the logging write_file() / log_file() raises (2026-10-22, KB 06 §7.358)
The code of this lib writes logs into 1 subdirectory of log/: log/lords (areas/tristeza/bank/bank_back.lpc). Neither the archive, a git clone nor the site pack has them (no local boot wrote into them, so gen_keep_dirs.py never recorded them), and write_file() raises *Wrong permissions for opening file /log/dlog/money for append. "No such file or directory" for a missing directory: the function that logs stops on that line and what came after it (the reward, the flag, the next step) never runs. This lib's log_file() is write_file(LOG_DIR + file, text) and raises the same error for a missing directory (measured). log/lords are now in scripts/wasm_keep_dirs.txt (scripts/lpc_keep_log_dirs.py; the site and the pristine tree create the empty directories from it). Proof (scripts/lpcc_eval.py, an eval object under /adm/daemons or similar writes /log/zzdirprobe/..., fresh processes): the measured table in KB 06 §7.358.
Remaining constant assignments used as conditions (2026-10-27, KB 06 §7.290 Also)
thief_mark_new else if(type = 8) became == (lpc_fix_cond_assign.py; KB 06 §7.290 Also).
深度功能测试(2026-10-27,§6.25 LDMud foreach 冒号)
LDMud 的 foreach (object you : arr) / foreach (x : arr) 在本驱动要写成 in。本库 27+ 个文件约 80+ 处冒号改成 in(含 flower_man)。证明:HEAD flower_man 失败;改后加载。
深度功能测试(2026-10-27,§6.25 LDMud mapping foreach)
接着把 foreach (k, v : map) 改成 in,并修掉无类型替换时 in 与标识符粘在一起(inansi_codes)。证明:ansid 加载。
深度功能测试(2026-10-27,§6.25 LDMud #'fn 闭包)
简单 #'ident → (: ident :);sort_array(..., #'>/#'<) → 1/-1。含 #'? / 'symbol 的 unbound_lambda 行未动。boss_d / _channel / druids/mark 可加载(HEAD 为 Illegal character '#')。
深度功能测试(2026-10-27,§6.25 living private nosave)
FluffOS 兼容层 /lib/living.lpc 把 level/gender/liv_Flags 等标成 private nosave,子物件直接读会 Illegal to use private variable。改为普通 nosave(与 LDMud living 可见性一致)。
深度功能测试(2026-10-27,§6.25 catalog sefun present4/object_info)
Strategy A 的 /catalog/simul_efun 缺少 LDMud 的 present4 / object_info。已补上(OI_ONCE_INTERACTIVE → interactive())。buster_bag 与 _si 可加载。
深度功能测试(2026-10-27,§6.25 Strategy A set_stat)
/lib/living.lpc 补上 set_stat/query_stat(及空 set_keep_hb)。janitor 不再报 Undefined function set_stat。
深度功能测试(2026-10-27,§6.25 Strategy A Pronoun)
/lib/living.lpc 补上 Pronoun/Possessive/Objective(及 query_*)。janitor 不再报 Undefined function Pronoun。
深度功能测试(2026-10-27,§6.25 Strategy A pick_any_obj/weight)
/lib/living 补 local_weight/experience/add_weight/recount_weight/wield/wear/unwear;/lib/npc 补 pick_any_obj。janitor 可加载。
深度功能测试(2026-10-27,§6.25 Strategy A is_fighting/dead)
is_fighting 改为 varargs;补 dead 与 heart_beat。guard / guard_captain / janitor 均可加载。
深度功能测试(2026-10-27,§6.25 master_ldmud #'fn 残渣)
call_out/set_driver_hook 等行上剩余的简单 #'ident → (: ident :)(仍跳过 ({#' lambda 汤)。
深度功能测试(2026-10-27,§6.10 sticklib lpc_warnings --fix)
机械修复:未用局部变量删除、nosave 函数改为 protected(34 文件)。约 119 处「无副作用表达式」留给专批。
深度功能测试(2026-10-27,§6.25 Strategy A drink potion API)
薄 /lib/drink 只够酒吧 set_value/set_id;药水的 create_drink() 还要 set_strength/set_soft/set_info/set_empty_container/set_drinker_mess/set_liquid/full 等(完整版在 drink_ldmud.lpc)。补上这些 setter,继承 /basic/object/dimensions,并在 create() 里调用 create_drink()。证明:HEAD potion_heal 报 Undefined set_info;树 6/6 药水与 finnclub 酒水可加载。
深度功能测试(2026-10-27,§6.25 Strategy A NPC spell stubs)
NPC 的 set_chance/set_spell_mess1/set_spell_mess2/set_spell_dam/set_breath_attack 在 npc_ldmud;薄 /lib/npc 没有。补上存储与 setter(施法心跳仍薄)。证明:HEAD leo 报 Undefined set_chance;树可加载 leo。
深度功能测试(2026-10-27,§6.25 catalog sefun apply/mkmapping)
Strategy A /catalog/simul_efun 缺 LDMud apply 与双参 mkmapping,equipped_npc / dueld 编不过。补上 apply(evaluate + call_other 数组展开)和配对数组 mkmapping(赌场多值宽映射仍不支持)。证明:HEAD 报 Undefined;树均可加载。
深度功能测试(2026-10-27,§6.25 catalog sefun file_lines/interactive_info)
Strategy A catalog 缺 file_lines / interactive_info。从档案 sefun 移植 file_lines;interactive_info 映射到 FluffOS query_ip_*/query_idle/in_edit/query_snoop*。证明:HEAD Undefined;树 _line 与 mud_guide 可加载。
深度功能测试(2026-10-27,§6.25 equipped_npc add_* varargs)
add_object("/path", 0, 1) 在 FluffOS 上对五参原型报参数个数/类型错误。给 add_weapon/add_armour/add_object 加 varargs,并把 init_data 扩成 mixed(体内已有 pointerp 判断)。证明:HEAD portsari 失败;树可加载。
深度功能测试(2026-10-27,§6.25 Strategy A set_guild/set_group_message)
圣堂群组 NPC 调用 set_guild(LDMud living/guild)和 set_group_message(group_npc_ldmud 宽映射);Strategy A 两边都没有。在 /lib/living 补 set_guild/query_guild,在 /lib/group_npc 用普通 mapping 存消息。证明:HEAD saint 失败;树可加载(guild=priest)。
深度功能测试(2026-10-27,§6.25 catalog sefun object-lookup/cost)
Strategy A catalog 缺 do_find_object/get_object/m_allocate/get_eval_cost/query_uptime/tail。从档案 sefun 移植;m_allocate 只返回空 mapping(宽映射仍不支持);代价类映射到 eval_cost()/uptime()。证明:HEAD who3/goto/cmdd 失败;树三者均可加载。
深度功能测试(2026-10-27,§6.10 Strategy A attack 返回类型)
/lib/living 的 void attack() 与 NPC 的 status attack() 冲突(void vs int 警告)。改为 status 并返回 0/1。证明:asmodeus 加载且无该继承警告。
深度功能测试(2026-10-27,§6.25 catalog sefun query_once_interactive)
祭司房间/守护程序调用 LDMud query_once_interactive;Strategy A catalog 没有。映射为 interactive(ob)。证明:HEAD earth_meld_room/storage_room 失败;树均可加载。
深度功能测试(2026-10-27,§6.25 catalog sefun regreplace)
帮助命令用 LDMud regreplace 做 _↔空格;Strategy A catalog 没有。用 replace_string 做字面替换。证明:HEAD _help2 失败;树 _help2 与 druids _help 可加载。
深度功能测试(2026-10-27,§6.26/§6.25 sticklib L_IN 残渣 + strrstr)
lords_guild 局部变量叫 in(§6.26)改为 intel;telopt/mapper_d 的 foreach 被写成 in fo/in t 错字。mapper 还要 LDMud strrstr,catalog 用 strsrch(..., 1) 补上。证明:HEAD lords_guild L_IN;树 lords_guild 与 mapper_d 可加载。
深度功能测试(2026-10-27,§6.25 catalog sefun implode3/extern_call/driver_info/version)
_man/mchard/_sysinfo 需要 LDMud implode3、extern_call、driver_info、version。从档案移植 implode3;extern_call 用 previous_object();driver_info 的负载项映射 query_load_average();version→__VERSION__。并补上 _sysinfo 里 version() 那行缺的 ;。证明:HEAD Undefined;树 _sysinfo/mchard 可加载。
深度功能测试(2026-10-27,§6.25 catalog telopt/GMCP sefuns)
telopt 需要 LDMud to_bytes/binary_message/json_parse/json_serialize/hash(TLS_HASH_*,…)。补上 to_bytes、binary_message;引入 formosasaga 版 FluffOS catalog/json.lpc 并做 parse/serialize 别名;hash 整数算法号转 efun::hash("sha1",…)。证明:HEAD 失败;树 telopt 可加载。
深度功能测试(2026-10-27,§6.25 Strategy A combat/follow stubs)
NPC 要 set_follow/add_block,战斗要 add_hp/stop_fight/query_condition/set_condition/attacker_ob。在 /lib/npc 与 /lib/living 补存储型 stub(conditions 用 mapping;attacker_ob 与 attack 同步)。证明:HEAD demon 报 Undefined set_follow;树 demon/golem/拳头/wandering_guard/bdragon/caretaker 可加载。
深度功能测试(2026-10-27,§6.25 catalog sefun command/transfer)
FluffOS 的 command 只有一参,LDMud 的 command(cmd, who) 与 MudOS transfer 在 Strategy A catalog 里没有。用 bind((: efun::command, cmd :), who) 做远程 command;transfer 按 ageofelements 形状补上。证明:HEAD bountyshop 报 Too many arguments;树 bountyshop/fill_bag/void 可加载。
深度功能测试(2026-10-27,§6.25 Strategy A init/heart_beat)
NPC 写 ::init(),虚拟房间写 ::heart_beat(),薄 living/room 没有。补上空 stub。证明:HEAD teller/lordbuster 报 Unable to find inherited init;树均可加载。
深度功能测试(2026-10-27,§6.10 sticklib lpc_warnings --fix 第二轮)
未用局部变量(lords_guild cost、lordbuster ob、telopt/mapper/login)、nosave 函数改为 protected(player/login)、demon/trapped_demon 里非法 \' 转义。证明:HEAD lordbuster 有 Unused local;树无该警告,lordbuster 与 lords_guild 可加载。
深度功能测试(2026-10-27,§6.20 unique class 参数)
/lib/unique 的 set_unique(string class, …) 撞上 FluffOS 保留字 class。改为 uniq_class。证明:HEAD L_CLASS;树 unique 与 demon 可加载。
深度功能测试(2026-10-27,§6.25 Strategy A room add)
虚拟房间 set_effects() 调用 add(ROOM_EFFECT, …),该函数在 LDMud 的 set_n_query 里,Strategy A /lib/room 没有。补上 ROOM_EFFECT/ROOM_EXIT/ROOM_ITEM 的 add(),并在 heart_beat 里触发效果。同时去掉 room 上 short_desc/long_desc 等的 private(地形直接赋值)。证明:HEAD virtual_room 报 Undefined add;树 virtual_room 可加载,set_effects/add 成功。
深度功能测试(2026-10-27,§6.10 death player_kills 移位)
basic/living/death.lpc 写了无赋值的 player_kills << 1(无副作用警告);注释是“慢慢遗忘”→ >>= 1。全库仅此一处。证明:HEAD living_ldmud 在 death:568 有警告;树无该警告。
深度功能测试(2026-10-27,§6.25 std/sys include 垫片)
祭司 #include <std/npc.h>/<std/container.h>、盗贼 <sys/configuration.h>/<sys/interactive_info.h>,档案只在 /include/npc.h、/include/container.h、/sys/*.h。在 /include/std/ 与 /include/sys/ 加薄垫片。证明:HEAD alchemist/thief_guard Cannot #include;树 alchemist/carpenter/priest/chest/thief_guard/guildmaster 可加载。
深度功能测试(2026-10-27,§6.25 thieves tune.h 守卫)
公会本地 tune.h 占了 _TUNE_H 却没有 TUNE_THIEF_DAMAGE,挡住全局 /include/tune.h。改守卫为 _THIEF_TUNE_H 并 #include <tune.h>。证明:HEAD thief_mark Undefined TUNE_THIEF_DAMAGE;树宏已解析。
深度功能测试(2026-10-27,§6.25 query_tax varargs)
thief_mark_new 声明 query_tax(int x) 却无参调用。定义与 thief.h 原型加 varargs。证明:HEAD 参数个数错误;树 thief_mark_new 可加载。
深度功能测试(2026-10-27,§6.25 Strategy A set_move_msg/reset)
决斗兽人/bat 调用 set_move_msg(LDMud moving),并 ::reset(arg);Strategy A living/npc 没有。补上移动消息(含 msgin/msgout 别名)和空 reset。证明:HEAD corc Undefined set_move_msg;树 corc/worc 可加载。
深度功能测试(2026-10-27,§6.25 cremate LDMud lambda)
cremate.lpc 用 lambda+#'move_object(Illegal character #)。改成对 all_inventory 的 for。证明:HEAD Illegal character #;树 cremate 可加载。
深度功能测试(2026-10-27,§6.25 Strategy A tell_here 参数)
祭司房间调用 LDMud 多参 tell_here(({msg}), …),Strategy A 只收 string。放宽为 mixed + 完整 varargs(数组取首串)。证明:HEAD inquisitor Bad type;树 inquisitor/nave 可加载。
深度功能测试(2026-10-27,§6.25 Strategy A remove_exit)
wine_cellar 调 remove_exit,Strategy A 只有 add_exit。补上。证明:HEAD Undefined;树 wine_cellar 可加载。
深度功能测试(2026-10-27,§6.25 mapping -= ([key]))
FluffOS 不接受仅键的 mapping 字面量,m -= ([k]) 报 unexpected ]。24 处 / 11 文件改为 map_delete。证明:HEAD vesper_d 语法错;树 clan_d/officer_d/voting_d/armour_set_d 可加载。
深度功能测试(2026-10-27,§6.25 walk_mapping/map_objects/filter_objects)
Strategy A catalog 缺这些 LDMud efun。补 sefun。证明:HEAD nature_d Undefined map_objects;树 nature_d/vesper_d/peaced 可加载。
深度功能测试(2026-10-27,§6.25 deep_copy/file_time/to_text/tilde_path)
_set/_lhelp/_I/channel_d 调用这些 LDMud efun,Strategy A catalog 没有。补薄垫片。证明:HEAD 均 Undefined;树四者可加载。
深度功能测试(2026-10-27,§6.25 简单 LDMud lambda 改写)
_logouts/lord_crown/_appraise 的 lambda+#' 改为 FluffOS (: … :)。set_n_query WC 公式与 grapevine send_erq 仍留着。证明:HEAD _logouts Illegal character #;树 _logouts/_appraise 可加载。
深度功能测试(2026-10-27,§6.25 light env + WC formula + grapevine)
/lib/light 的未定义 env 改为 environment() || this_object()。npc/player set_n_query 的 WC lambda+#' 改为 (: $1 :) / function(…)。grapevine 回调改为 (: kill_reply($1, 0) :),catalog 补 send_erq 垫片。证明:HEAD light Undefined env、set_n_query/grapevine Illegal #;树 light、set_n_query、grapevine_d 可加载。
深度功能测试(2026-10-28,§6.25 catalog efuns + living stubs + drink mixed)
Catalog 补 master_object/wizlist/localcmd/unshadow/varargs snoop;/lib/living 补 SP/money/query_race_stat/set_resistance/transfer_all_to;/lib/drink 的 set_short/set_long 改为 mixed(含 evaluate)并补 id_name/invis_level。证明:HEAD title_shadow/demon/priest_bottle/coder_cmds 失败;树上述对象均可加载。
深度功能测试(2026-10-28,§6.21 find_player 形参类型)
guild_room.calculate_average_rank 的形参从 object 改为 mixed,经 object pl = find_player(...) 再取公会物件。证明:HEAD Bad argument find_player;树 guild_room 可加载。
深度功能测试(2026-10-28,living API + angel remove_call_out)
transfer_all_to(mixed)、varargs set_wimpy、set_frog/frog_curse、query_can_move;angel 的 remove_call_out((:inform_owner:)) 改为字符串名。证明:chimpanzee/frog/angel 可加载。
深度功能测试(2026-10-28,corpus remove_call_out 闭包)
moving.lpc 的 remove_call_out((:clean_queue:)) 改为字符串;同批 corpus 扫 aoh/morgengrauen/nirvlp312/simud。证明:HEAD moving Bad argument;树可加载。
深度功能测试(2026-10-28,sort_array 方向闭包)
剩余 LDMud sort_array 的 #'> / #'< 改为 1 / -1(KB 06 7.234)。
深度功能测试(2026-10-28,room add_object 第二参 mixed)
add_object/add_monster 第二参改为 mixed,整型时当作 reset_chance。证明:HEAD bank Bad type;树 bank 可加载。
深度功能测试(2026-11-03,宽映射 mapping_contains + set_this_*)
祭司 alchemy_chamber / attack_d / shield_d 用 LDMud 宽映射(([k: a; b; …])、m[k, N]、mapping_contains)。改成数组值 m[k] = ({…}) / m[k][N];shield_d 的 allocate_mapping(0,5) 改为 ([]),find_player(mixed) 经 string 局部再查。#include PRIEST_DIR "lib/fill_bag.lpc" 在 FluffOS 不拼接,改为绝对路径。
secure/simul_efun 的 cat/log_file/shout/amylaar 与 master/log_file、lib/player:丢掉 set_this_object / efun::set_this_player(KB 04);cat 的 txt & "\n" 改为 sizeof(explode(txt, "\n")) - 1。
证明(lpcc_eval):HEAD alchemy/attack_d mapping_contains 失败、shield_d 宽映射语法/find_player、cat/shout set_this_*;树 attack_d/shield_d/alchemy_chamber/cat/shout/log_file 可加载。留言板/邮箱宽映射仍留。
深度功能测试(2026-11-03,bboard/mailbox 宽映射)
/std/obj/bboard、mailbox 草稿映射用 LDMud 宽映射字面量与 m[k, N]。改成数组值;mailbox 的 m_allocate/!x = expr 改为 ([]) / !(x = expr)。证明:HEAD 宽映射语法错;树 bboard/mailbox 可加载。
深度功能测试(2026-11-03,virtual_server 宽映射)
m_terrains 用 LDMud ([:3]) 与 ([crd:file;ansi;desc])。改成 ([]) / 数组值。证明:HEAD ([:3]) 语法错;树 /lib/virtual_server 可加载。
深度功能测试(2026-11-03,sshop/skills 宽映射)
烟草店 sshop 库存与 basic/player/skills 的 LDMud 宽映射改为数组值;reset 用 keys() 迭代。_gskills 已可加载。证明:HEAD 宽映射语法错;树 sshop/skills 可加载。
深度功能测试(2026-11-03,thieves poison_d/bleed_d 宽映射)
poison_d/bleed_d 的 p_things/p_livings/bleed 宽映射改为数组值;m_sizeof→sizeof;_gskills 补 SKILL_POS_VAL/LEV 列读。证明:HEAD 宽映射语法错;树 poison_d/bleed_d/_gskills 可加载。
深度功能测试(2026-11-03,priests delay/skill_saver/slave/target/_log 宽映射)
delay_d 内层宽映射与 walk_mapping 回调、skill_saver/slave_d/target_d/_log 的多列映射改为数组值;allocate_mapping(0,2)→([])。证明:HEAD 宽映射语法错;树上述对象均可加载。
深度功能测试(2026-11-03,smoked + voter + druids slave_d 宽映射)
smoked 八列吸烟者映射改数组值并护缺失键;顺带把 FUEL == 0 改成赋值。voter 杀票宽映射 / 普选整型计数分开改;druids/slave_d 同祭司 temp_data。证明:HEAD 宽映射语法错;树 smoked/voter/druids slave_d 可加载。
深度功能测试(2026-11-03,tower AREA_TRISTEZA include)
#include AREA_TRISTEZA "DEFS.h" 在 FluffOS 不拼接。两处 tower 改为绝对路径。证明:HEAD Cannot read #include;树两处可加载。
深度功能测试(2026-11-03,blackjack/restore/basement 宽映射)
黑杰克 hand 从 LDMud mkmapping 宽映射改为玩家→数组;restore 的 stats、basement 的 blocked 同改。证明:HEAD restore/basement 宽映射语法错、blackjack 侧效警告;树均可加载且 blackjack 无 side-effects 警告。
深度功能测试(2026-11-03,living query_max_hp)
Strategy A /lib/living 只有 query_mhp,祭司 outer_guard 等调用 query_max_hp。补别名返回 max_hp。证明:HEAD Undefined;树 outer_guard 可加载且 max=3500。
深度功能测试(2026-11-03,living add_alignment)
Strategy A living 缺 add_alignment;麻风病人/乞丐调用它。补增量形式。证明:HEAD leper Undefined;树 leper/beggar 可加载。
深度功能测试(2026-11-03,localtime() 缺参)
FluffOS 的 localtime 必须带时间戳。timezone_d 的 localtime()[8] 改为 localtime(time())[8]。证明:HEAD Too few arguments;树 timezone_d 可加载。
深度功能测试(2026-11-03,order_change_d 形参类型)
coef_required 误标为 object,与 mapping 里存的 int 比较触发 Bad left argument。改为 int。证明:HEAD Bad left argument;树可加载。
深度功能测试(2026-11-03,vg_off knock tell_here)
knock(string who) 把名字串塞进 tell_here 的 me 位(要 object)。先 find_player/present。证明:HEAD Bad type;树 vg_off 可加载。
深度功能测试(2026-11-03,area_poison lambda)
call_out(lambda(…destruct…)) 改为命名 expire_poison。证明:HEAD Undefined lambda;树可加载。
深度功能测试(2026-11-03,AREA_TRISTEZA_FNAME)
generic_rooms.h 用 AREA_TRISTEZA_FNAME,areas.h 未定义 → collector 的 == GENERIC_ROOM_SHOP_FNAME 变 unexpected L_STRING。补同路径别名。证明:HEAD 语法错;树 collector 可加载。
深度功能测试(2026-11-03,find_name/functionlist/creator/charset/FOCUS)
find_name 第二参改为 varargs(_wear 只传对象)。catalog 补 functionlist→functions、creator→getuid、query_next_reset 近似、get/set_connection_charset 空操作。GENERIC_FOCUS_STONE 指向 duel crystal。证明:HEAD 各宿主失败;树 _wear/_flist/_stat/_predict/dragon_corpse/tell_me 可加载。
深度功能测试(2026-11-03,amhd last_attacker)
hit_player 写 last_attacker 但未声明。补 object last_attacker。证明:HEAD Undefined;树 amhd 可加载。
深度功能测试(2026-11-03,tail sefun + update_attackers)
secure/simul_efun/tail 的 LDMud bytes/__VERSION__ 分支在 FluffOS 下选错路径;改成字符串版并用 strsrch。/lib/living 补 update_attackers 空实现。证明:HEAD tail 语法错;树 tail 可加载。
深度功能测试(2026-11-03,nosave 函数修饰)
FluffOS 禁止函数上的 nosave。从 virtual_server/player/amylaar 的函数声明去掉;变量上的 nosave 保留。证明:警告从 virtual_server/player 消失;virtual_server 仍可加载。
深度功能测试(2026-11-03,buffer 标识符 / cindent)
FluffOS 把 buffer 保留为类型;string buffer 报 unexpected L_BASIC_TYPE。_indent/_grep 改名为 buf,_more 去掉未用声明。catalog sefun 补 cindent 空实现。证明:HEAD 三命令 FAIL;树 PASS。
深度功能测试(2026-11-03,AREA_* / DT_MAGIC)
areas.h 补 AREA_WEST/ISLANDS/FARAWAY/SUE(目录未随档案);attack.h 增加 DT_MAGIC→DT_MAGICAL。证明:HEAD closet/bat/9_0/_manifest Undefined;树 PASS。
深度功能测试(2026-11-03,foreach / ARMOUR_SET_D)
armour_set.h 的 foreach (T x : …) 改为 in;daemons.h 中 ARMOUR_SET_D 宏多了一个尾部 "。证明:HEAD windweaver boots FAIL;树 PASS。
深度功能测试(2026-11-03,attackers / gate open / tilde_path)
Strategy A /lib/living 补 nosave int attackers;gate 补 nosave int open;tilde_path #include <config.h>。证明:HEAD FAIL;树 PASS。
深度功能测试(2026-11-03,LDMud sefun 残件)
charset/ftp 的 __EFUN_DEFINED__ 触发 Condition too complex;改为 stub/#if 0。json mixed array→mixed *;command 单参;amylaar 补 wizinfo/wizlist/map_delete 等。证明:树各宿主 PASS。
深度功能测试(2026-11-03,Strategy A living 字段)
PLAYER_C 下 set_n_query 不声明字段;living 补 age/attacker/dirty_stamp 等与常用 stub;is_fighting 返回 object。证明:HEAD /lib/player FAIL;树 PASS。
深度功能测试(2026-11-03,questd/group_npc _ldmud)
questd_ldmud 宽 mapping 改为与 questd 相同的数组行;group_npc_ldmud 去掉宽 mapping/make_format_string。证明:HEAD FAIL;树 PASS。
深度功能测试(2026-11-03,warnings --fix)
scripts/lpc_warnings.py sticklib --fix:清未用局部变量等机械警告。证明:player/bboard/mailbox/attack_d 等仍 PASS。
深度功能测试(2026-11-03,npc_ldmud living stubs)
Strategy A living 补 kill_ob/set_master/query_master/query_defend_master/test_if_any_here 等,使 /lib/npc_ldmud 可加载。证明:HEAD FAIL;树 PASS;player/npc 仍 PASS。
深度功能测试(2026-11-03,master_ldmud FluffOS)
member 列表改为 member_array;跨行 call_other 合并;inaugurate_master 去掉 unbound_lambda;补 rename_object stub。活 master 仍是 catalog/master。证明:HEAD FAIL;树 PASS。
深度功能测试(2026-11-03,equipped_group_npc / tumble inherit-after-globals)
lpc_warnings 把错误报到 /include/npc.h 与 thief.h 的 inherit 行,根因是 include 链:Strategy A /lib/group_npc.lpc 丢了 LDMud 版的 #ifndef EQUIPPED_GROUP_NPC 守卫,于是 /lib/equipped_group_npc.lpc 先 include equipped_npc(已 inherit 并声明全局),再 include group_npc 再次 #include <npc.h> → Illegal to inherit after defining global variables(assassin/employee/bvl guard 等一并挂)。补回守卫。skills/tumble.lpc 在 globals 之后 #include "../thief.h",却未像 _stab/_tth 那样 #define THIEF_NO_INHERIT。证明:HEAD equipped_group_npc/tumble/assassin/employee FAIL;树均 PASS;warnings 1195→1201 compile、inherit error 清零。
深度功能测试(2026-11-03,/* found in comment)
三处嵌套块注释警告清零:cmd_files 注释里的 /ftp/*.c 含 /* 序列(改为 /ftp/ + *.c);fingerd 盗贼公会指尖死代码用嵌套 /*,改为 #if 0;telopt_d 文档块双开 /*。证明:三文件 PASS,warnings 中该类消失(47→44 diags)。
深度功能测试(2026-11-03,living set void vs int)
Strategy A /lib/living 的 varargs void set(...) 与 NPC/player 的 varargs int set(...) 冲突(Function set inherited ... void vs int,3 处)。同 attack 先例,改为 varargs int 并 return 0。证明:living/player/set_n_query/beggar PASS;该类警告清零(44→41 diags)。
深度功能测试(2026-11-03,Types in ?:)
modify_command 的 s ? s : FAIL(string vs int)拆成 if (!s) return FAIL;telopt_d 的 items ? items : "" / room_players ? ... : ""(mixed * vs string)改为空数组 ({});room_ldmud 的 map_private_key ? ... : this_object()(string vs object)用 mixed map_key 分支。证明:三文件 PASS;该类警告清零(41→35 diags)。
深度功能测试(2026-11-03,poker 宽映射)
同 blackjack:hand = mkmapping(..., tmp×5) 与 hand[player, j] 在 FluffOS 下变成逗号运算符,触发 Expression has no side effects 且牌面写错。改为玩家→allocate(HAND_SIZE) 数组映射,hand[k][j]。证明:poker PASS;该类 side-effects 警告清零(35→27 diags)。
深度功能测试(2026-11-03,empty-if / TELL_UPDATE)
bboard 读帖:仅含注释的 if (!F_BBOARD_NO_NOTIFY) 触发 Expression has no side effects(报在下一行 return 1);删空壳,并把 if (temp = _topfive[num]); else if 写成先赋值再判断。tell_me 的 if (tell_flags == TELL_UPDATE); tell_flags = 0; 误加分号导致永远清零——去掉分号。证明:bboard/tell_me/player PASS;side-effects 与 conditional-unused 警告清零(27→25 diags)。
深度功能测试(2026-11-03,unused locals / OLD_GOVERNMENT)
thief_mark_new:current_gm/current_co_gm/killer_mark 只在 #ifdef OLD_GOVERNMENT 中使用,声明却在外——FluffOS 报 Unused。声明移进 ifdef。/lib/player query_short 未用的 object ob 删除。证明:thief_mark/player PASS;Unused local 警告清零(25→21 diags)。
深度功能测试(2026-11-03,prototype void vs int)
祭司:void end_smash/gen_begin_spell/bless_it 原型与 status 定义不符——原型改为 status。lord_handling 在 command_driver 的 include 链里(先有 void tell_me 桩)声明 varargs int tell_me,与同链桩冲突;改为 varargs void 与兄弟桩一致(真定义仍在 tell_me.lpc 的 int)。证明:priests 三文件与 command_driver/player PASS;prototype 警告清零(21→17 diags)。
深度功能测试(2026-11-03,thief_mark THIEF_NO_INHERIT)
thief_mark_new 在 inherit criticals 之后再 #include "thief.h",而 criticals 已拉过 mark 辅助;未像 _stab/_tth/tumble 那样 #define THIEF_NO_INHERIT,触发 f() inherited from both …(双 inherit)。补守卫。证明:该类双 inherit 警告清零;warnings 17→15 diags(余 redeclaration + voter long)。
深度功能测试(2026-11-03,voter long 形参个数)
guilds/thieves/obj/voter.lpc 的 void long(string what) 覆盖 id.lpc 的 mixed long(mixed, mixed),FluffOS 报形参数量不符。给覆盖加 varargs(KB 04 表项)。证明:voter 该类警告清零;warnings 15→14 diags(仅剩 redeclaration)。
深度功能测试(2026-11-03,command_driver stub 变量重声明)
command_driver 在 #ifndef PLAYER_C 下依次 include player_cmds/coder_cmds/lord_handling/desc,各文件各自声明 coder_level/name/cap_name/partyId 桩,FluffOS 报 Redeclaration。player_cmds 声明后 #define STICKLIB_PLAYER_STUB_VARS;后续文件与 command_driver 自身的重复声明用该守卫包起来(或删掉)。证明:该类 7 条警告清零;warnings 14→7 diags。
深度功能测试(2026-11-03,Strategy A living 字段重声明)
Strategy A /lib/living 已有 dead_ob/random_pick/wander/damage_type。npc_ldmud 再声明前三者;set_n_query 在 PLAYER_C 外声明 damage_type,与 living 冲突。删掉 npc_ldmud 重复项(保留 init_ob);damage_type 移进 #ifndef PLAYER_C 桩块。证明:四条 Redeclaration 清零;set_n_query/npc_ldmud 仍可编译。
深度功能测试(2026-11-03,pet InitFunc 重声明)
pet.lpc 经 treasure.h 已 inherit treasure 的 InitFunc,又再声明 closure InitFunc。删掉重复声明,沿用 treasure 的。证明:pet/pet.h Redeclaration 清零。
深度功能测试(2026-11-03,priest attacker 重声明)
祭司 monsies/priest.lpc 的 object attacker 与 living 的 object *attacker 撞名;叶本意是独立喊话追踪变量。改名为 alerted_attacker。证明:最后一条 Redeclaration 清零;sticklib warnings 0 diags。
深度功能测试(2026-11-03,create 无 this_player)
赌场机 create_treasure 的 TP->query_coder_level()、面包店/酒馆 create_shop/create_pub 经 list_*→modify_cost 的 this_player()->query_crime_level()、以及 lord_crown 的性别查询,在房间 reset/预载无人扮演时 this_player() 为 0,FluffOS 对 0->f() 抛错,对象无法加载(旧驱动返回 0)。守卫 TP/this_player();modify_cost 无人时原价返回。证明:HEAD 15 对象 FAIL(catch Bad argument 1 to call_other Got int(0));树均 PASS。
深度功能测试(2026-11-03,/obj/food|drink → /lib)
祭司 priest_drink.h 把 DRINK_FILE 覆写为不存在的 /obj/drink;herb inherit /obj/food;盗贼 psilocybe inherit "obj/food";厨房 clone_object("/obj/food|drink")。本库标准基类在 /lib/food 与 /lib/drink(food_defs.h / drink_defs.h)。全部改到 /lib/…。证明:HEAD herb/lefren/amaretto/anthallas/heather/psilocybe FAIL(Inherited file '/obj/…' does not exist);树与 kitchen 均 PASS。
深度功能测试(2026-11-03,priests/log keep)
cash_d create 写 SHOPLOG(/guilds/priests/log/shoplog),目录未入仓也未在 keep 列表。gen_keep_dirs.py --merge sticklib 记入 wasm_keep_dirs.txt。证明:无目录时 FAIL(Wrong permissions … No such file);有目录后 PASS。
深度功能测试(2026-11-03,get_dir LDMud 尺寸标志)
_man create 调用 get_dir(dir, 0x23)(NAMES|SIZES|UNSORTED),按 LDMud 期待 name/size 交错数组;FluffOS 仅在 flags==-1 时给出 ({name,size,mtime}) 行,其它标志只返回文件名。奇数长度下 x[i] 落到 0,x[i][<1] 报 Bad argument 2 to >=。catalog sefun:含 GETDIR_SIZES 时用 efun::get_dir(path,-1) 并展平为 name/size 对;-1 原样转发(file_time)。证明:HEAD _man FAIL;树 _man/_ls PASS;get_dir("/doc/",0x23) sizeof 18。
深度功能测试(2026-11-03,herb functions_used 重命名)
herb inherit /lib/food 后与 food 的 private nosave int functions_used 重名警告。改名为 herb_functions_used。证明:warnings 2→0 diags;herb/lefren 仍 PASS。
深度功能测试(2026-11-03,object_name 去首斜杠)
/secure/login create 要求 object_name() == "secure/login"(无首 /);catalog sefun 原样转发 FluffOS file_name("/secure/login"),自 destruct,alone-scan 静默 FAIL(catch/debug 皆空)。sefun 去掉前导 /(LDMud 习惯);无参时用 this_object()。证明:HEAD login FAIL o=0;树 PASS,object_name 为 secure/login。
深度功能测试(§10.7,2026-11-10,Temple yard↔Market/Shop)
pristine + build-debug,port 40286。
- 流程:新角名/密码×2 → Temple yard(Tim the Enchanter);
look/score;eastHall of Races →west→southMarket Square →west×2 Common Shop,list见 torch;quit「Saving …」。重连回 yard,look/score/quit正常。 - 驱动 stdout 无
*Error/Wrong permissions/Could not open。本轮无新编程缺陷。