且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我的电脑游戏lua程序需要帮助

更新时间:2023-02-02 20:56:45

  • 程序1(startup)抱怨,因为"LE"失败,翻译为小于或等于",仅在distance <= 500下出现.因此,出于某些原因,distance未被设置为数字.在检查 rednet.receive docs 时,它看起来像第三个返回值是protocol,它声称成为字符串".
  • 程序2失败,因为第1行中的呼叫由于某种原因未设置monitor.
    • Program 1 (startup) is complaining because of a "LE" fail which translates to "less than or equals" which only occurs with distance <= 500. So distance is not being set to numeric for some reason. In checking the rednet.receive docs it looks like the third return value is protocol which it claims to be a "string".
    • Program 2 is failing because the call in line 1 is not setting monitor for some reason.