[wizs] debug.log 2013/08/06
object /adm/obj/simul_efun: eval_cost too big 3000000
執行時段錯誤: *Too long evaluation. Execution aborted.
程式: adm/simul_efun/prop_logic.c(adm/obj/simul_efun.c):20
物件: /adm/obj/simul_efun
/d/poet/room/st "sell" std/shop/base_shop.c:503
/adm/obj/simul_efun "new_capacity" adm/simul_efun/new_and_count.c
(adm/obj/simul_efun.c):32
/d/event/ground/obj/bone2#454156 "query" std/ob/object.c:16
/adm/obj/simul_efun "_query" adm/simul_efun/prop_logic.c
(adm/obj/simul_efun.c):20
嘛,沒想到會有玩家跑去那裡。(應該給個獎勵才對)
上面的 bug 是因為玩家 sell 東西造成,原因是
for(...)
{
.
.
new_capacity(me);
}
而理論上應該可以把 new_capacity 移出 for,移出前要檢查
迴圈裡是否有 return ; (可以有 continue)
object /adm/obj/simul_efun: eval_cost too big 3000000
執行時段錯誤: *Too long evaluation. Execution aborted.
程式: adm/simul_efun/prop_logic.c(adm/obj/simul_efun.c):21
物件: /adm/obj/simul_efun
/d/spell/frozen-orb "cycle_call" d/spell/frozen-orb.c:57
/d/spell/frozen-orb "cycle_over" d/spell/frozen-orb.c:125
/std/user#6633 "shut" std/user/attack.c:159
/adm/daemons/shut_d "shut_tar" adm/daemons/shut_d.c:224
/adm/obj/simul_efun "show" adm/simul_efun/show.c(adm/obj/simul_efun.c):103
/std/user#6633 "query" std/ob/user.c:112
/adm/obj/simul_efun "_query" adm/simul_efun/prop_logic.c(adm/obj/simul_efun.c):21
這是在 cycle_over 裡發生的錯誤
obs=all_inventory(room);
s=sizeof(obs);
if(s>0)
foreach(ob in obs)
if(ob && !userp(ob) && ob->query("killer")>0)
{
ppl->shut(NAMES,dam1,9000,({"ice","magic",lv/10}),ob);
if(ob)
{
ob->set("gravity_effect",50+lv);
ob->delete_temp("flying");
}
}
房間怪太多,目前無解,那其實猜的出來這是在幽靈墳場放技能
造成的(因為那邊怪最多)。
有暫時的解法就是限定最多幾連擊,目前暫時先不限,我先縮減
墳場的怪物量。
執行時段錯誤: *Array index out of bounds.
程式: d/ppl/norr/quarcha/npc/quiz_npc.c:59
物件: /d/ppl/norr/quarcha/npc/train#449818
生物名: Goro
/d/ppl/norr/quarcha/npc/train#449818 "quiz" d/ppl/norr/quarcha/npc/quiz_npc.c:59
這個 norr 再參考一下。
write("\n"+NPC_NAME+"說道:"HIY+data["quiz_data"][0]+"\n\n"NOR);
有 bug 的地方是標紅色的部份。讀 [0] 會有 bug 代表連設定
都沒有。
執行時段錯誤: *Bad argument 1 to present()
Expected: string or object Got: 0.
程式: d/ppl/norr/quarcha/mob/doll.c:41
物件: /d/ppl/norr/quarcha/mob/doll#465608
生物名: doll
/d/ppl/norr/quarcha/mob/doll#465608 "kill_doll" d/ppl/norr/quarcha/mob/doll.c:41
if(present(str,environment(this_player()))!=this_object())
return 0;
不是 this_object() 就是 this_player() 已消失。
執行時段錯誤: *Bad argument 1 to keys()
Expected: mapping Got: 0.
程式: u/l/laechan/skycastle/room/crops_room.c:152
物件: /d/map/isalon/crops_room
/u/l/laechan/skycastle/room/skyfarm_mob#248759 "list_xxx" u/l/laechan/skycastle/room/skyfarm_mob.c:366
/d/map/isalon/crops_room "list_xxx" u/l/laechan/skycastle/room/crops_room.c:152
改成
if(!home_crops=(mapping)skyroom->query("crops"))
return notify_fail("你的家裡沒有任何作物喔.\n");
Laechan
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.61.157.53
mud_sanc 近期熱門文章
PTT遊戲區 即時熱門文章
31
60
706
1406