找回密码
 注册
搜索
查看: 308|回复: 1

公版MUSH领悟报错

[复制链接]
门派:华山派
发表于 2021-9-8 20:00:03 | 显示全部楼层 |阅读模式
<!-- Produced by MUSHclient v 4.84 - www.mushclient.com -->
<table border=0 cellpadding=5 bgcolor="#000000">
<tr><td>
<pre><code><font size=2 face="楷体, FixedSys, Lucida Console, Courier New, Courier"><font color="#0">
</font><font color="#FF4500">Run-time error
World: tj.sjever.net
Function/Sub: local_exit called by trigger
Reason: 正在处理触发器 &quot;locate3&quot;
[string &quot;Script file&quot;]:1082: attempt to call global 'lingwu' (a number value)
stack traceback:
        [string &quot;Script file&quot;]:1082: in function &lt;[string &quot;Script file&quot;]:1080&gt;
        (tail call): ?
        (tail call): ?
        (tail call): ?
        (tail call): ?
        (tail call): ?
        (tail call): ?
        (tail call): ?
        (tail call): ?
脚本错误处的上下文:
</font><font color="#DEB887">1078 :  end
1079 : end
1080 : function checklingwu()
1081 :    if lingwudie==0 then
1082*:      return lingwu()
1083 :    end
1084 :    if xxpot&lt;hp.pot_max then
1085 :      return lingwu()
1086 :    end
</font></font></code></pre>
</td></tr></table>
救命啊,求教怎么弄啊
门派:华山派
 楼主| 发表于 2021-9-8 20:05:16 | 显示全部楼层
执行 /lingwu_go() 到达达摩院后殿时也报错
提示
Run-time error
World: tj.sjever.net
Function/Sub: local_exit called by trigger
Reason: 正在处理触发器 "locate3"
[string "Script file"]:1174: attempt to perform arithmetic on field 'lingwu' (a nil value)
stack traceback:
        [string "Script file"]:1174: in function <[string "Script file"]:1172>
        (tail call): ?
        (tail call): ?
        (tail call): ?
脚本错误处的上下文:
1170 :     --exe('alias action 少林领悟就是好啊,就是好!')
1171 : end
1172 : function lingwu_next()
1173 :     EnableTriggerGroup("lingwu",false)
1174*:     tmp.lingwu=tmp.lingwu+1
1175 :     local length=table.getn(skillsLingwu)
1176 :     if tmp.lingwu>length then
1177 :        flag.lingwu=0
1178 :        lingwudie=1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|书剑永恒MUD ( 闽ICP备14012032号|闽公网安备 35050202000162号 )

GMT+8, 2025-6-4 19:25 , Processed in 0.063449 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表