作者laechan (挥泪斩马云)
看板mud_sanc
标题Re: [问题] 乐乐山-编译时段错误
时间Fri Sep 20 15:42:53 2019
※ 引述《Emiielf (Emiielf)》之铭言:
: 乐乐山,出现极多笔 编译时段错误码
: 事实上已经好几个月了
: [不能Clone],Bug原因:*Error in loading object '/d/south/happy/mob/climber'
: [不能Clone],Bug原因:*Error in loading object '/d/south/happy/mob/climber'
: 乐乐山入口
: 这里是乐乐山的入口,你看着雄伟的乐乐山,有着一股莫名
: 的兴奋,想赶快上去看个究竟。东方一眼望去有许多不同的草类
: ,不知道有没有路可以上乐乐山。
: 明显出口有: north 和 east.
: 编译时段错误:
: /d/south/happy/mob/climber.c line 8: Bad type for argument 3 of init_mob (
: string vs int ) before ; //用法参考 INIT_MO
: 编译时段错误:
: /d/south/happy/mob/climber.c line 8: Bad type for argument 4 of init_mob (
: string vs int ) before ; //用法参考 INIT_MO
: [不能Clone],Bug原因:*Error in loading object '/d/south/happy/mob/climber'
原因是 climber.c 继承的 funcs/init_mob.c 里面的 init_mob 函数
void init_mob(string chinese_name,string english_name,
string mob_level,
string mob_ethic,int killer);
把怪物的等级跟道德宣告为 string 字串,应该要 int 整数,已修正
,顺手修正了 funcs/init_gmob.c 相同的错误。
LAechan
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 114.33.66.104 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/mud_sanc/M.1568965376.A.0A8.html
1F:→ laechan : emiielf 可以 ask rewards, sanc内的或p币都可 09/20 15:43
2F:→ laechan : 乐乐山可能会有其它error,目前还没时间细看 09/20 15:43