g****s 发帖数: 306 | 1 ERROR: (s)printf(): Incorrect argument to type %s. (arg 0)
program: adm/daemons/channeld.c, object: adm/daemons/channeld, file: /adm/daemons/channeld.c:112
ERROR: (s)printf(): Incorrect argument to type %s. (arg 0)
program: adm/daemons/channeld.c, object: adm/daemons/channeld, file: /adm/daemons/channeld.c:112
if( !arg ) arg = "...";
if( emote ) {
// Support of old behavier of intermud emote.
if( channels[verb]["intermud_emote"] ) arg = who + " " + |
|
m***t 发帖数: 22 | 2 已经把//的功能放到chat里了,不过发现一个chat的bug
如果某句emote未定义对自己使用时的显示(会返回一个0)
channeld就报错
ERROR: (s)printf(): Incorrect argument to type %s. (arg 0)
program: adm/daemons/channeld.c, object: adm/daemons/channeld, file: /adm/daemons/channeld.c:112
谁知道怎么改?
//help |
|
m***t 发帖数: 22 | 3 以下是最近解决不了的几个debug问题
//help
Too long evaluation. Execution aborted.
arg 0)
program: adm/daemons/channeld.c, object: adm/daemons/channeld, file: /adm/daemons/channeld.c:112
obj = all_inventory(environment(ob));
for(i=0; i
if( !living(obj[i]) || !userp(obj[i]) || obj[i]==man ) continue;
if( userp(obj[i]) ) {
man->set_leader(obj[i]);
man->kill_ob(obj[i]);
obj[i]->fight_ob(man);
}
}
return ;
} |
|
g**u 发帖数: 13 | 4 哪里有download MudLIB ?? (for BSD 或是LINUX的都可.. ) 如果不方便的话,也可以mail告诉我的说。
下面是log
% cat debug.log
----------------------------------------------------------------------------
风云三(本地) (MudOS v21.7) starting up on FreeBSD - Sat Mar 27 21:10:05 1999
Connected to address server on localhost port 9990
Loading preloaded files ...
错误讯息被拦截:
执行时段错误:*Error in loading object '/adm/daemons/emoted'
程式:adm/obj/master.c 第 96 行
物件: /adm/obj/master
呼叫来自:adm/obj/master.c 的 preload() 第 96 行,物件: adm/obj/master
呼叫来自:adm/... 阅读全帖 |
|