[閒聊] 20140226修改事項

看板mud_sanc (Sanctuary - 聖殿)作者 (小太保)時間12年前 (2014/02/26 10:26), 編輯推噓0(007)
留言7則, 2人參與, 最新討論串1/1
今天狀況不錯。 一、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。 三、 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 210.61.157.53 ※ 編輯: laechan 來自: 210.61.157.53 (02/26 10:42)

02/26 13:50, , 1F
農場生怪暫時關閉, 已在 note 公告
02/26 13:50, 1F

02/26 13:51, , 2F
gintama 訊息已關閉
02/26 13:51, 2F

02/26 14:59, , 3F
蟲除了在 form 之外,在home也會生...
02/26 14:59, 3F

02/26 15:00, , 4F
home往street/farm 時,是不會被戰鬥卡住的....
02/26 15:00, 4F

02/26 15:01, , 5F
所以只要farm->home->street,或street->home->farm
02/26 15:01, 5F

02/26 15:01, , 6F
在home生出的蟲就沒被打死,會一直累積,不知是否有關
02/26 15:01, 6F
home 會生是因為蟲會跑,在 home 與 farm 之間有 tunnel 存在,worm 在 farm 一段時間後有機會透過 tunnel 跑到 home 去。 蟲基本上還是在 farm 出生,在 home 看到的就是跑過去的 解決方法就是讓 worm 不會跑過去即可,我要看 code 一下 ※ 編輯: laechan 來自: 1.165.163.159 (02/26 23:32)

02/26 23:36, , 7F
kelofox reward 已給
02/26 23:36, 7F
文章代碼(AID): #1J3L3Kjl (mud_sanc)
文章代碼(AID): #1J3L3Kjl (mud_sanc)