|
<!-- Produced by MUSHclient v 4.84 - www.mushclient.com -->
<font size=2 face="仿宋, FixedSys, Lucida Console, Courier New, Courier">
> 你身上包含下列特殊状态:
┌────────────────────────┐
│状态名称约剩余时间 类别│
├────────────────────────┤
│任务繁忙状态 一分 忙 │
└────────────────────────┘
当前你没有被判断为机器人。
> 你现在不忙。
> 你把 "action" 设定为 "checkUweapon" 成功完成。
> 没有这个技能种类,用 enable ? 可以查看有哪些种类。
> 你把 "action" 设定为 "checkUarmor" 成功完成。
> 没有这个技能种类,用 enable ? 可以查看有哪些种类。
> 你现在不忙。
Run-time error
World: tj
Function/Sub: haltok called by trigger
Reason: 正在处理触发器 "check_halt1"
[string "Script file"]:2344: attempt to perform arithmetic on local 's' (a strin
g value)
stack traceback:
[string "Script file"]:2344: in function <[string "Script file"]:2304>
(tail call): ?
(tail call): ?
脚本错误处的上下文:
2340 : else
2341 : local s = f:read()
2342 : f:close()
2343 : if s ~= os.date("%Y%m%d%H") then
2344*: if os.date("%Y%m%d%H") - s >= 100 then
2345 : local x=tostring(os.date("%Y%m%d%H"))
2346 : local y1=tonumber(string.sub(x,-4,-3))
2347 : if y1==1 then
2348 : local y=tonumber(string.sub(x,-2,-1))
|
os.date("%Y%m%d%H") - s
计算这里出问题了吗?该怎么改呀? |
|