The timing! I just finished 5 hours of playing on my self hosted server with a friend of mine lol
On ubuntu, I just needed java installed, download the git repo, then ran the run sh file. That was it. In the client you edit the config file to swap the public server address with your server's ip and when you launch next, it will connect to yours.
Sure. I wrote the docker-compose file in the repository. Unless something major has changed, it should be pretty straightforward to just clone the repo and then run
If anybody uses this in prod from a git repo, might want to place your database creds in an .env file adjacent to your compose file then gitignore the .env.
I'm having a lot of issues, but I don't really know what I'm doing either.
Right now, when I try to run it on my machine, I get this error saying that I can't connect to google then asking if I'm offline. I haven't had this error before when I tried getting it to work, but it's where I am now.
Ultimately, I'd like to reach a point where I can host it on my own machine with a VPN and port forwarding so other people can connect from the outside.
That is a regular connection check we implemented to pause the server if the server goes offline. That's likely a warning and not an error, and you can disable it in the worldprops for the server
Thanks. It could be nothing, but I'm also thinking it might be an issue on my end from improperly changing configurations while trying to get self hosting to work.
I just don't know enough so I'm going to keep fiddling with it. I'll keep your advice in mind and not focus too much on the warning while figuring this out.
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.
Thanks. Now I'm getting validating 2009scape-master/docker-compose.yml: services.healthcheck additional properties 'timeout', 'interval', 'retries', 'test', 'start_period' not allowed when I run docker-compose up.
18 Comments
AgaveInMyAss@lemmy.world · 13 pts · 354d
No but I definitely want to now that I know this exists
ryannathans@aussie.zone · 1 pts · 354d
Would recommend playing on the live multiplayer server rather than self hosting
Zeoic@lemmy.world · 13 pts · 354d
The timing! I just finished 5 hours of playing on my self hosted server with a friend of mine lol On ubuntu, I just needed java installed, download the git repo, then ran the run sh file. That was it. In the client you edit the config file to swap the public server address with your server's ip and when you launch next, it will connect to yours.
ryannathans@aussie.zone · 7 pts · 354d
Pretty much this, make sure it's Java 11 though
Sickday@kbin.earth · 8 pts · 354d
Sure. I wrote the docker-compose file in the repository. Unless something major has changed, it should be pretty straightforward to just clone the repo and then run
ryannathans@aussie.zone · 2 pts · 353d
IIRC there is a MR to improve it, I just haven't had the time to finish testing and reviewing it
Cyanogenmon@lemmy.world · 1 pts · 353d
If anybody uses this in prod from a git repo, might want to place your database creds in an .env file adjacent to your compose file then gitignore the .env.
Referenced like so:
.env contents
docker-compose.yml contents:
Don't commit secrets to git!
Damn mobile formatting.
ryannathans@aussie.zone · 5 pts · 354d
What issues are you running into?
humanoidchaos@lemmy.cif.su · 1 pts · 353d
I'm having a lot of issues, but I don't really know what I'm doing either.
Right now, when I try to run it on my machine, I get this error saying that I can't connect to google then asking if I'm offline. I haven't had this error before when I tried getting it to work, but it's where I am now.
Ultimately, I'd like to reach a point where I can host it on my own machine with a VPN and port forwarding so other people can connect from the outside.
ryannathans@aussie.zone · 2 pts · 353d
That is a regular connection check we implemented to pause the server if the server goes offline. That's likely a warning and not an error, and you can disable it in the worldprops for the server
humanoidchaos@lemmy.cif.su · 1 pts · 353d
Thanks. It could be nothing, but I'm also thinking it might be an issue on my end from improperly changing configurations while trying to get self hosting to work.
I just don't know enough so I'm going to keep fiddling with it. I'll keep your advice in mind and not focus too much on the warning while figuring this out.
ryannathans@aussie.zone · 1 pts · 353d
If you're getting that message it's running, try logging in with the client
humanoidchaos@lemmy.cif.su · 1 pts · 352d
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: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.Sorry if I come across as a novice. I'm still learning and any help is always appreciated.
ryannathans@aussie.zone · 1 pts · 351d
Update your repo and try the new docker files
humanoidchaos@lemmy.cif.su · 1 pts · 350d
Thanks. Now I'm getting
validating 2009scape-master/docker-compose.yml: services.healthcheck additional properties 'timeout', 'interval', 'retries', 'test', 'start_period' not allowedwhen I rundocker-compose up.I'm using the repository at https://gitlab.com/2009scape/2009scape