This demo shows how to set up a very simple LAN connection between two (or more) devices. In the demo each device running the project can be configured as a server or as a client, and it shows how to build a server list, connect to the server, and send information between the server and the various clients.
This Demo was written to accompany the YoYo Games tech blog about setting up basic networking, which you can find by clicking the "More Info" link below.
Version 1.0.1. Published November 22, 2017
You can only review assets you've bought.
Needs A Quick Fix
Follow the instructions that Anonymous figured out below and you'll be able to run the server.
Instructions repeated for ease:
"comment out or delete the code on oMenu, Alarm 1, line 12 and 13. It looks like it is saying, 'if i cant make the server, freak out. if i do make the server, kill the server for no reason'."
This appears to correct the server connection error. Shoutout to Anonymous for digging through the code to figure this out.
worked great after a small 'fix'
comment out or delete the code on oMenu, Alarm 1, line 12 and 13. It looks like it is saying, "if i cant make the server, freak out. if i do make the server, kill the server for no reason". I am a noob at gml, but it stopped hanging with "Error - can not connect to server!!" after that.
Game crashes whenever I click "create server".
hangs when creating a server