Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我曾尝试使用:require("socket"),但我在有关 WoW 的论坛上发红说我无法使用该require命令。有没有其他方法可以做到这一点?我想将数据从 Lua 线程传递到 Java 线程。
require("socket")
require
您不能使用套接字,也没有其他方法可以与其他程序进行通信。这是暴雪为防止某些形式的作弊以及避免恶意软件传播和其他帐户安全漏洞而施加的限制。
通常,您将无法与第三方应用程序通信。有一些变通方法,但它们是 hack,它们可能会在 WoW 的未来更新中中断,并且它们可能违反某些服务条款。