推 justinj : 被破甲的0(0)大喊:出 bug 了! 04/18 10:22
→ justinj : 被破甲的0(0) 04/18 10:22
推 justinj : 之前就覺得這是怎麼來的,可能是怪物有放move_speed 04/18 10:24
→ laechan : 不確定 04/18 12:16
→ laechan : 我暫時找不到 "出 bug 了!" 這句是寫在哪個物件 04/18 13:37
/u/l/laechan/special/mob/fingerwind2.c:92:
tell_room(environment(me),me->query("short")+"大喊:出 bug 了!\n");
我把該 .c 檔給 rename 了。
/open/tmp/std_user_body.log:129066:
cmd=do holybell,cast light king,
error=
*Illegal to move or destruct an object
(/u/l/laechan/special/mob/fingerwind2#1227218)
defining actions from a verb function(do)
in object(/std/user#177) which returns zero.
這就有問題了怎麼我目錄下的某檔案會一直出現在 bug log
但依 log 檔名稱,該 log 寫在 /std/user/body.c 下
int force_me(string cmd)
{
//if(res=command(cmd))
if(cr=catch(res=command(cmd)))
write_file("/open/tmp/std_user_body.log","cmd="+cmd+", error="+cr+".\n");
我剛把這檔案刪掉了,再出現的話我會看一下是啥問題,並改寫
紀錄檔紀錄的東西,讓它紀錄更詳細的東西。
Laechan
※ 編輯: laechan (59.126.145.135 臺灣), 04/18/2023 13:53:04