找回密码
 注册
搜索
查看: 389|回复: 8

TJ有人用宁静致远的机器挂吗?有哪些要改的地方?

[复制链接]
门派:武当派
发表于 2023-7-26 22:25:29 | 显示全部楼层 |阅读模式
这个公版机器人我实在受不了了,折腾了一天,一大堆的问题
门派:姑苏慕容
发表于 2023-7-27 15:02:02 | 显示全部楼层
公版挂的hs sx任务还行。其它任务没试
门派:武当派
 楼主| 发表于 2023-7-27 15:41:05 | 显示全部楼层
chujiu@ts2 发表于 2023-7-27 15:02
公版挂的hs sx任务还行。其它任务没试


唉,我卡在了这里

  1. Run-time error
  2. World: tj
  3. Function/Sub: haltok called by trigger
  4. Reason: 正在处理触发器 "check_halt1"
  5. [string "Script file"]:2344: attempt to perform arithmetic on local 's' (a strin
  6. g value)
  7. stack traceback:
  8.         [string "Script file"]:2344: in function <[string "Script file"]:2304>
  9.         (tail call): ?
  10.         (tail call): ?
  11. 脚本错误处的上下文:
  12. 2340 :            else
  13. 2341 :               local s = f:read()
  14. 2342 :               f:close()
  15. 2343 :               if s ~= os.date("%Y%m%d%H") then
  16. 2344*:                  if os.date("%Y%m%d%H") - s >= 100 then
  17. 2345 :                              local x=tostring(os.date("%Y%m%d%H"))
  18. 2346 :                                  local y1=tonumber(string.sub(x,-4,-3))
  19. 2347 :                                  if y1==1 then
  20. 2348 :                             local y=tonumber(string.sub(x,-2,-1))
复制代码
门派:姑苏慕容
发表于 2023-7-27 17:17:49 | 显示全部楼层
laohei@tj 发表于 2023-7-27 15:41
唉,我卡在了这里

看错了,你这是tj的呀,我说的ts2,tj几年没玩了。
门派:武当派
 楼主| 发表于 2023-7-27 17:19:58 | 显示全部楼层
chujiu@ts2 发表于 2023-7-27 17:17
看错了,你这是tj的呀,我说的ts2,tj几年没玩了。

嗯。ts的应该没啥问题
门派:华山派
发表于 2023-7-27 17:55:53 | 显示全部楼层
机器板块最新的两款公版机器都可以跑的啊
门派:武当派
 楼主| 发表于 2023-7-28 10:09:18 | 显示全部楼层
zhenshan@tj 发表于 2023-7-27 17:55
机器板块最新的两款公版机器都可以跑的啊

跑不了,各种问题,我发了好多帖子了
门派:嵩山派
发表于 2023-7-28 15:33:36 来自手机 | 显示全部楼层
还是用mush了,比较稳定的
门派:武当派
 楼主| 发表于 2023-7-28 15:54:11 | 显示全部楼层
mingsi@ts2 发表于 2023-7-28 15:33
还是用mush了,比较稳定的

LUA比较复杂,改起来不太好改
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-6-16 23:41 , Processed in 0.027385 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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