|
发表于 2018-9-23 06:24:36
|
显示全部楼层
function checkPrepareOver()
if lostletter==1 and needdolost==1 then
return letterLost()
end
if not job.last or job.last=="songxin" or needdolost==1 or job.last=="tdh" or job.last=="songmoya" or job.last=="huashan" or job.zuhe["hqgzc"] then
return check_xuexi()
else
return check_job()
end
exe('time')
end
添加了time也不行,还是报错。
Run-time error
World: tj.sjever.net
Function/Sub: haltok called by trigger
Reason: 正在处理触发器 "check_halt1"
[string "Script file"]:1899: attempt to compare number with nil
stack traceback:
[string "Script file"]:1899: in function <[string "Script file"]:1877>
(tail call): ?
(tail call): ?
(tail call): ?
(tail call): ?
(tail call): ?
脚本错误处的上下文:
1895 : --end
1896 : create_triggerex_lvl('dmlflag1','^(> )*【江湖传闻】玩家竞技活动开始了!','','dml_on',95)
1897 : SetTriggerOption('dmlflag1','group','hp')
1898 : if not dml_cnt then dml_cnt = 0 end
1899*: if dml_cnt < 5 and (not condition.busy or condition.busy == 0) and locl.hour >= 8 then
1900 : local fn = 'logs\\diemenglou_mark_'..score.id..'.log'
1901 : local f = io.open(fn,"r")
1902 : if not f then
1903 : print('未找到蝶梦楼记录,准备进行蝶梦楼挑战!') |
|