|
发表于 2018-9-22 09:49:32
|
显示全部楼层
Run-time error
World: tj.sjever.net
Function/Sub: haltok called by trigger
Reason: 正在处理触发器 "check_halt1"
[string "Script file"]:1869: attempt to compare number with nil
stack traceback:
[string "Script file"]:1869: in function <[string "Script file"]:1865>
(tail call): ?
(tail call): ?
(tail call): ?
(tail call): ?
(tail call): ?
脚本错误处的上下文:
1865 : function check_job()
1866 : create_triggerex_lvl('dmlflag1','^(> )*【江湖传闻】玩家竞技活动开始了!','','dml_on',95)
1867 : SetTriggerOption('dmlflag1','group','hp')
1868 : if not dml_cnt then dml_cnt = 0 end
1869*: if dml_cnt < 5 and (not condition.busy or condition.busy == 0) and locl.hour >= 8 then
1870 : local fn = 'logs\\diemenglou_mark_'..score.id..'.log'
1871 : local f = io.open(fn,"r")
1872 : if not f then
1873 : print('未找到蝶梦楼记录,准备进行蝶梦楼挑战!')
我是放错地方了么?我放在function check_job()里面,以前都这么放的。 |
|