• humanoidchaos@lemmy.cif.suOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      4 days ago

      Thanks. I’m probably doing something wrong here.

      When I try to connect while self-hosting, I get stuck at “Connecting to update server” when Runescape is loading in the client window.

      In ~/.local/share/2009scape/config.json, I have:

      {
        "ip_management": "[VPN INTERNAL IP]",
        "ip_address": "[VPN INTERNAL IP]",
        "world": 1,
        "server_port": [VPN FORWARDED PORT],
        "wl_port": 43595,
        "js5_port": 43595,
        "ui_scale": 1,
        "fps": 0
      }
      

      I’ve made sure the changes persist by either setting the file to read-only, or just avoiding changing the server setting at the game client launcher.

      The only change I’ve made for the server was changing 2009scape-master/docker-compose.yml. I put the VPN port to the left side and left everything else the same.

      version: '3.3'
      services:
        app:
          build: .
          container_name: "2009scape_app"
          depends_on:
            - database
          restart: unless-stopped
          volumes:
            - "2009scape_app:/app"
          ports:
            - "[VPN FORWARDED PORT]:43595"
      

      Sorry if I come across as a novice. I’m still learning and any help is always appreciated.

          • ryannathans@aussie.zone
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 days ago

            Ah man that was just tested. I’ll put that on my todo list.

            In its simplest form, without containers, are you able to run the server and connect to localhost using the official launcher? (There’s a setting to swap from stable server to local server)

            • humanoidchaos@lemmy.cif.suOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              2 days ago

              I was able to run the server properly after building it with ./build -g. I can connect if I select the local server and therefore have localhost for ip address and ip management in the config.

              If possible, I’d like to find out where I can put my VPN’s internal IP address (assuming that’s what I need) so I could have the server listen on that interface and let people connect to my server from the outside.

              Thanks again for all your help and your contributions to this project.

              • ryannathans@aussie.zone
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 days ago

                You shouldn’t need to put your VPN IP anywhere in the server, by default I’m pretty sure it listens on all interfaces. Just the client config I imagine is sufficient