We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在游戏进程启动时,先执行CPP的注册代码,然后CPP启动Lua脚本,脚本中执行: require("socket.core"); 报错如上图;
备注:launch.json 文件和文档上设置的一样.
The text was updated successfully, but these errors were encountered:
socket.core 是luasocket库提供的。luapanda本身不提供socket能力。所以需要做的工作如下:
以下链接中有luasocket源码地址和我们自己编译的库,可以参考 https://github.com/Tencent/LuaPanda/tree/c5ef26fb52fb5d91cebea623178678f6091c1c64/luasocketBin
Sorry, something went wrong.
No branches or pull requests
在游戏进程启动时,先执行CPP的注册代码,然后CPP启动Lua脚本,脚本中执行:
require("socket.core"); 报错如上图;
备注:launch.json 文件和文档上设置的一样.
The text was updated successfully, but these errors were encountered: