Sample lua scripts or code snippets - Printable Version +- mGBA Forums (https://forums.mgba.io) +-- Forum: mGBA (https://forums.mgba.io/forumdisplay.php?fid=1) +--- Forum: Development (https://forums.mgba.io/forumdisplay.php?fid=11) +--- Thread: Sample lua scripts or code snippets (/showthread.php?tid=5597) |
Sample lua scripts or code snippets - UnopenedClosure - 06-25-2023 I'm glad to see that mGBA is now supporting lua scripting. Are there any sample code snippets available? Specifically, I'm looking for guidance with the TCP socket APIs. I have a server created in an external program, but I can't get the lua script to connect and send a message RE: Sample lua scripts or code snippets - endrift - 06-26-2023 There's a bug with that that got fixed recently. I'd have to check when. The program should ship some sample scripts, but the source is available here: https://github.com/mgba-emu/mgba/tree/master/res/scripts |