[Singleplayer] Connect to single player server on a local network

Write and post guides here (skill guides, etc)
Post Reply
User avatar
RiL
Noob
Posts: 22
Joined: Sat Feb 11, 2023 9:36 am
Been thanked: 5 times

[Singleplayer] Connect to single player server on a local network

Post by RiL »

This guide will describe how to set up a single player server on a computer, then connect to it with another computer on the same local network. I will refer to the computer running the server as the server computer, and the computer(s) running the game by connecting to the server as the local computer.
  1. Download and extract the single player folder on both the server and local computers: https://gitlab.com/2009scape/singleplayer/windows.
  2. Download and extract the attached files. Put launch_server.bat in the single player folder on the server computer. Do the same with the launch_client.bat on the local computer.
  3. Open port 43594. If you're not sure how, refer to your router manual.
  4. Find the IP-address of the server computer. On the local computer, open <single_player_folder>\game\config.json. Replace "localhost" with the server computer IP-address.
  5. Run launch_server.bat on the server computer. Wait for it to finish starting the server.
  6. Run launch_client.bat on the local computer. If everything worked it should connect to the server.
Note: connecting on a network is limited to the default client; it's not possible to connect using the Saradomin launcher. Currently, the launcher is hard coded to only connect to the local computer. If it's updated with an option to input a custom IP-address, just replace above client steps with running Saradomin using the server IP-address.
Attachments
launch_client.zip
(402 Bytes) Downloaded 148 times
launch_server.zip
(400 Bytes) Downloaded 148 times
Post Reply