GML Networking Tutorials (GMS 2 and 1.4)

Discussion in 'Tutorials' started by matharoo, May 29, 2019.

  1. matharoo

    matharoo Udemy Instructor

    Joined:
    Jul 9, 2016
    Posts:
    896
    Bentley, TheSly and NeZvers like this.
  2. Bentley

    Bentley Member

    Joined:
    Jun 18, 2017
    Posts:
    782
    Excellent tutorial as usual.

    I am completely new to networking. I got one game to host but the other can't join. My computer freezes at "network_connect(...)".
    Maybe I'm using the wrong port number? I googled "how to get my port number" and used the command prompt and got multiple port numbers. I just picked one.

    Me = bad at this stuff.

    Any ideas where I'm going wrong?
     
  3. matharoo

    matharoo Udemy Instructor

    Joined:
    Jul 9, 2016
    Posts:
    896
    Try port forwarding. But even that isn't guaranteed to work since some ISPs use, uh, weird stuff.

    Easiest way to make it work would be to host a dedicated server somewhere and have your players connect to it.
     
    Bentley likes this.
  4. curato

    curato Member

    Joined:
    Jun 30, 2016
    Posts:
    374
    Yeah I usually find that if you are doing anything beyond basic internet usage it is best to buy your own modem to avoid issues like that, but you can't assume everyone will do that.
     
    matharoo likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice