Re: [問題] 副本

作者: laechan (揮淚斬馬雲)   2014-07-14 09:57:14
> instance -enter 1
instance -enter 1
執行時段錯誤: *Arguments to -= do not match in type.
程式: /std/new_ob/instance/instance_ob.c:112
物件: /std/new_ob/instance/ppl_area/laechan_blood
/std/user#265 "cmd_hook" /std/user.c:140
/cmds/std/_instance "cmd_instance" /cmds/std/_instance.c:172
/cmds/std/_instance "check_cd_times" /cmds/std/_instance.c:68
/adm/obj/simul_efun "questing" /adm/simul_efun/pri_cmds.c(/adm/obj/simul_e
fun.c):358
/open/cmds/quest/quest_data/quest_data "quested" /open/cmds/quest/quest_data/que
st_data.c:744
/std/new_ob/instance/ppl_area/laechan_blood "instance_data" /std/new_ob/instance
/instance_ob.c:112
x=sizeof(vars);
if(x<1)
return ob->instance_data("all");
else if(x<2)
return ob->instance_data(vars[0]);
else
744 return ob->instance_data(vars[0],vars[1]);
if(sscanf(str2,"%s-%s-%s",s1,s2,s3)==3)
{
int i,j;
j=sizeof(ppl_instance[s1]);
for(i=0;i<j;i++)
if(ppl_instance[s1][i][0]==s2 && ppl_instance[s1][i][1]==s3)
ppl_instance[s1][i]=0;
112 ppl_instance[s1]-=({0});
}
> call laechan_blood;instance_data;"del-ppl_instance";"zoroo-normal-0"
UNDEFINED
房間(/std/new_ob/instance/ppl_area/laechan_blood)->
instance_data( "del-ppl_instance", "zoroo-normal-0" ) = ERR("*Arguments to
-= do not match in type.\n")
> call laechan_blood;instance_data;"ppl_instance"
;"zoroo"
房間(/std/new_ob/instance/ppl_area/laechan_blood)->
instance_data( "ppl_instance", "zoroo" ) = UNDEFINED
那麼問題來了,為什麼 ppl_instance["zoroo"] 會是 UNDEFINED?
> instance -enter 1
vars=({ "ppl_instance", "ppl_area/laechan_blood" })
idata=([ "zoroo" : ({ ({ "hard1", 0, 1405301274 }), ({ "hard1", 0, 1405301283 })
, ({ "hard1", 0, 1405301287 }), ({ "hard1", 0, 1405301292 }), ({ "hard1", 0, 140
5301295 }) }) ])
綾兒: 你還無法進入這個副本喔.
原因就在於 ppl_instance 的主 key 不是 names,而是 quest_num。
嘛,怪了,我記得 ppl_instance 的主 key 應該是 names...
算了,總之已修改,再觀察看看,zoroo 我已經讓你 instance -enter 1
5 次,約 11 點的時候我會再試一次,若 bug 已修正,你就可申請 bug
回報及協助測試的 rewards。
Laechan

Links booklink

Contact Us: admin [ a t ] ucptt.com