[閒聊] 20140317修改事項

作者: laechan (揮淚斬馬雲)   2014-03-17 08:54:37
今日無大事。
一、婦女節優惠移除
/adm/daemons/user_d.c、/adm/daemons/eq/s001.c、/cmds/std/_drink.c
搜尋 "female" 的程式段將其 // 掉並 update 即可。
二、creator-key bug 修正
主要修正 env->query("already_creator") 的判斷錯誤。
玩家 thisisbook 可申請 rewards.
三、修正 wear 造成的 id bug
/adm/simul_efun/writef.c 不備份添加修改.
主要是改 load_save 函數某一行,直接從源頭刪除錯誤訊息,
但是它有可能會造成 bug,要 try 才知道。
它將把「id 內容超過 5 個的全部強制設定為最多 5 個」。通
常我是估我們要識別一項物品時的 id 最多了不起 5 個,超過
是沒有意義的。
四、
程式: /std/mob/living.c:134
物件: /d/ppl/justinj/dark/mob/torr#1094629
生物名: torr
/d/ppl/justinj/dark/mob/torr#1094629 "heart_beat" /d/ppl/justinj/dark/mob/torr.c:70
/d/ppl/justinj/dark/mob/torr#1094629 "heart_beat" /std/bmonster.c:129
/adm/daemons/mob_d "continue_attack" /adm/daemons/mob_d.c:392
/adm/daemons/mob_d "execute_attack" /adm/daemons/mob_d.c:430
/d/ppl/justinj/dark/mob/torr#1094629 "special_fun" /d/ppl/justinj/dark/mob/torr.c:50
/d/ppl/justinj/dark/mob/torr#1094629 "shut" /std/mob/living.c:134
執行時段錯誤: *Bad argument 1 to find_object()
Expected: string Got: 0.
程式: /adm/simul_efun/find_object_or_load.c(/adm/obj/simul_efun.c):17
物件: /adm/obj/simul_efun
/d/ppl/justinj/palace/room/008 "cmd_look" /d/ppl/justinj/palace/room/palace.c:74
/adm/obj/simul_efun "find_object_or_load" /adm/simul_efun/find_object_or_load.c(/adm/obj/simul_efun.c):17
執行時段錯誤: *Inherited file '/std/new_ob/necklaceor' does not exist!
程式: /d/ppl/justinj/dark/obj/newob_d.c:201
物件: /d/ppl/justinj/dark/obj/newob_d
/d/ppl/justinj/dark/room/077 "cmd_buy" /d/ppl/justinj/dark/obj/id_shop.c:91
/d/ppl/justinj/dark/obj/newob_d "gets_object" /d/ppl/justinj/dark/obj/newob_d.c:201
執行時段錯誤: *Bad argument 1 to switch
Expected: string Got: 104.
程式: /d/ppl/justinj/dark/obj/id_shop.c:100
物件: /d/ppl/justinj/dark/room/077
/d/ppl/justinj/dark/room/077 "cmd_list" /d/ppl/justinj/dark/obj/id_shop.c:39
/d/ppl/justinj/dark/room/077 "get_name" /d/ppl/justinj/dark/obj/id_shop.c:100
這四個要請 justinj 檢查一下。
執行時段錯誤: *Bad argument 2 to <=
Expected: string Got: 7.
程式: /adm/daemons/shut_d.c:81
物件: /adm/daemons/shut_d
/d/ppl/justinj/kemi/mob/clid#1066468 "heart_beat" /std/monster.c:103
/adm/daemons/mob_d "continue_attack" /adm/daemons/mob_d.c:392
/adm/daemons/mob_d "execute_attack" /adm/daemons/mob_d.c:430
/d/ppl/justinj/kemi/mob/clid#1066468 "special_fun" /d/ppl/justinj/kemi/mob/clid.c:47
/d/ppl/justinj/kemi/mob/clid#1066468 "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:81
Expected: object Got: 0.
程式: /std/mob/g_attack.c:19
物件: /d/ppl/quest/memory/mob/novice#837674
生物名: novice
/std/user#8555 "heart_beat" /std/user.c:617
/std/user#8555 "continue_attack" /std/user.c:253
/adm/daemons/user_d "continue_attack" /adm/daemons/user_d.c:886
/adm/daemons/user_d "execute_attack" /adm/daemons/user_d.c:1014
/adm/daemons/user_d "normal_attack" /adm/daemons/user_d.c:1230
/adm/obj/simul_efun "show" /adm/simul_efun/show.c(/adm/obj/simul_efun.c):248
/d/ppl/quest/memory/mob/novice#837674 "receive_damage" /std/mob/g_attack.c:19
二、

Links booklink

Contact Us: admin [ a t ] ucptt.com