Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sample lua scripts or code snippets
#1
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
Reply

#2
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/ma...es/scripts
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2024 Melroy van den Berg.