由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
WmGame版 - help debug!
相关主题
admire ghostsbug@chat
谁再在IR疯狂卖鲤鱼我要purge了!!这个错误怎么回事????
IR通知:限制do的次数钱超了!
chinese input in mud等级高时,打不到人的问题
where can i download mud software?欢迎参加PDA版“找你妹”挑战赛 (转载)
本人裕开MU,怎么修改文件ir 命令目录
mudos里面让两个npc fight的命令是什么啊?Thirsty river and Elona reach (spoiler)
今天谁重起的IR?report ERROR
相关话题的讨论汇总
话题: obj话题: debug话题: daemons话题: adm话题: man
进入WmGame版参与讨论
1 (共1页)
m***t
发帖数: 22
1
以下是最近解决不了的几个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 ;
}
p**f
发帖数: 49
2
It is the MUDOS's limitation about how many instruction can execute in a
single function. It is how MudOS detect the endless loop.
U can rebuild ur mudos to increase this number
but maybe this will waste ur CPU when real endless loop happens.
it is your choice :-)
g****s
发帖数: 306
3

but some other bug really not due to this, like the crash
in logind, it has no records, seems the instruction pointer
goes to somewhere unknown and causes the crash, but how
can I find when or in which function it
goes crazy?

【在 p**f 的大作中提到】
: It is the MUDOS's limitation about how many instruction can execute in a
: single function. It is how MudOS detect the endless loop.
: U can rebuild ur mudos to increase this number
: but maybe this will waste ur CPU when real endless loop happens.
: it is your choice :-)

p**f
发帖数: 49
4

hehe, a big question
There is not special way that can resolve these kinds of crash.
From my experience, when the system is not stable,
open the debug option of mudos, and try to get rid of all the error
msg in logfile.

【在 g****s 的大作中提到】
:
: but some other bug really not due to this, like the crash
: in logind, it has no records, seems the instruction pointer
: goes to somewhere unknown and causes the crash, but how
: can I find when or in which function it
: goes crazy?

1 (共1页)
进入WmGame版参与讨论
相关主题
report ERRORwhere can i download mud software?
1 quick interview question本人裕开MU,怎么修改文件
build image with debug info, can you build the debug symbol only ?mudos里面让两个npc fight的命令是什么啊?
SQL debug step into a store procedure from another one (转载)今天谁重起的IR?
admire ghostsbug@chat
谁再在IR疯狂卖鲤鱼我要purge了!!这个错误怎么回事????
IR通知:限制do的次数钱超了!
chinese input in mud等级高时,打不到人的问题
相关话题的讨论汇总
话题: obj话题: debug话题: daemons话题: adm话题: man