今天状况不错。
一、929 debug.log
程式: 0:0
物件: 0
执行时段错误: *Illegal to move or destruct an object
(/u/l/laechan/skycastle/room/skyfarm_worm2#817232)
defining actions from a verb function which returns zero.
这个 bug 最近又开始跑出来,原因我还在查,视情况我会关闭
农场的生怪。
locals were: "执行时段错误: *Bad argument 1 to call_other()
Expected: string or array or object Got: 0.
程式: /adm/daemons/room_d.c:56
物件: /adm/daemons/room_d
/d/map/cir/room/cir082 "reset" /std/ob/room.c:50
/adm/daemons/room_d "reset" /adm/daemons/room_d.c:56
/adm/daemons/room_d "CATCH" /adm/daemons/room_d.c:56
奥玛村有个房间有问题,已修正。
locals were: "执行时段错误: *Bad argument 1 to userp()
Expected: object Got: 0.
程式: /std/mob/g_attack.c:19
物件: /d/dfire/caresa/npc/hydra#736709
生物名: hydra
0 "heart_beat" /std/gmonster.c:111
/adm/daemons/mob_d "continue_attack" /adm/daemons/mob_d.c:392
/adm/daemons/mob_d "execute_attack" /adm/daemons/mob_d.c:430
0 "special_fun" /d/dfire/caresa/npc/hydra.c:30
0 "shut" /std/mob/living.c:145
/adm/daemons/mob_d "shut" /adm/daemons/mob_d.c:522
/adm/daemons/shut_d "shut_tar" /adm/daemons/shut_d.c:126
/adm/obj/simul_efun "new_defance" /adm/simul_efun/new_defance.c
(/adm/obj/simul_efun.c):144
/std/user#934 "set_special_attack" /std/user.c:203
/std/user#934 "dump_special_attack" /std/user.c:190
/std/user#934 "shut2" /std/user/attack.c:172
/adm/daemons/user_d "shut2" /adm/daemons/user_d.c:1464
/adm/daemons/shut2_d "shut_tar" /adm/daemons/shut2_d.c:75
/adm/obj/simul_efun "show" /adm/simul_efun/show.c
(/adm/obj/simul_efun.c):250
/d/dfire/caresa/npc/hydra#736709 "receive_damage" /std/mob/g_attack.c:19
问题点在 new_defance 的独孤反击段,已做前期修正。
执行时段错误: *Value being indexed is zero.
程式: /u/j/justinj/area/sky/mob/sworm5.c:33
物件: /u/j/justinj/area/sky/mob/sworm5#703150
生物名: worm
/u/j/justinj/area/sky/mob/sworm5#703150 "heart_beat"
/u/j/justinj/area/sky/mob/sworm5.c:33
这个会请 justin 查一下。
二、修正 /std/pexp.c 程式段 bug
玩家 kelofox 反映队长队员之间均分经验似乎有问题,经检
查后发现确实有错,已修正如下
if(leader_level-r>leadership ||
leader_level-r<-leadership)
continue; // 无法均分
假设队长等级 60,leadership 100,队员等级 10,则无法
均分经验的判断式是
if(60 - 10 > 100/10 || 60 - 10 < -100/10)
满足了前面的算式。反过来说如果队长等级 10,leadership
0,队员等级 60
if(10 - 60 > 0/10 || 10 - 60 < 0/10)
满足了后面的算式。若队长等级 60,leadership 500,队
员等级 40
if(60 - 40 > 500/10 || 60 - 40 < -500/10)
两者都不满足,就能均分经验值。
kelofox 可申请回报 bug reward。
三、