I could get multiplayer working on a local host, but as soon as I enabled port forwarding, clients wouldn't successfully connect to the server.
Ended up spending hours going through your codebase & the mgba scripting api and figured out the issue.
Btw, I think that code base could use some help. I wouldn't mind donating a few days to help out. Some things I think you could benefit from that I could help out with:
Better handling network errors (server/client shouldn't crash when there are problems...)
Format the code.
Have a configuration file instead of needing to specify configuration in the lua files.
Maybe have a file for shared code between client & server. (Have a build process, so you don't have to copy it into both files every time.)
Improved logging.
Ping me if you're interested. (I don't want to make big changes without coordinating.)
Thank you for your input and help. This is and will be accomplished in 3.5, which will be out this month. Except for the config file, which I don't believe is in the mgba documentation. Can you load additional files?
I could get multiplayer working on a local host, but as soon as I enabled port forwarding, clients wouldn't successfully connect to the server.
Ended up spending hours going through your codebase & the mgba scripting api and figured out the issue.
Btw, I think that code base could use some help. I wouldn't mind donating a few days to help out. Some things I think you could benefit from that I could help out with:
Ping me if you're interested. (I don't want to make big changes without coordinating.)