BppleMan Posted October 6, 2022 Share Posted October 6, 2022 I found script.readme.txt in data. As mentioned above, I can extract script.zip in databundle to data directory and do some special debugging. Now need to develop some functions to use luasocket, which is a socket module implemented for lua, it provides some c implementation, so I compiled it into socket.so, and hope to require this socket.so in main.lua, But in my testing it seems that the require function always returns a boolean instead of what the module really returns Link to comment Share on other sites More sharing options...
RageLeague Posted October 26, 2022 Share Posted October 26, 2022 It shouldn't happen. Requiring lua scripts seem to work as intended (returning whatever the script returns). Not sure what is going on here. What are you trying to debug where you need to have a c implementation of some things, anyway? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.