Remote Multiplayer!


Remote multiplayer is now a thing! Thanks mixtheleaf for testing!

How to do it

Enter this command into command prompt / terminal 

ssh -R 80:localhost:10567 nokey@localhost.run

(or run the server script for your platform) and type 'yes' if prompted to continue connecting

At the end of the command output, you will get a link of the form "https://[something].lhrtunnel.link". This is the link your opponent will need to connect to you. 

Start up the game, and click the "Host Game" button. For your opponent to join you, they have to open their game, enter the link you got above, and click "Join Game".

Make sure to keep the terminal window open until you finish playing, otherwise your opponent will not be able to connect.

Fan made video tutorial: here

For more information on how this works, check out http://localhost.run/docs/

Why the strange connection method?
As I'm not hosting a multiplayer server for this game, all remote multiplayer is peer-to-peer. Normally, this would require forwarding the game's port (10567) and providing your public ip to whoever you wanted to play with. This is not always the best option as it can involve giving your public ip to potential strangers (if you want to play with people other than your friends).

Thankfully, due to the existence of the amazing http://localhost.run/, remote multiplayer is possible without having to give out your ip.

In order for this to work, the game was rewritten (slightly) to use websockets for multiplayer.

Files

Windows Server Script
May 30, 2022
macOS Server Script 58 bytes
May 30, 2022
Linux Server Script 58 bytes
May 30, 2022

Get Inscryption Multiplayer [Fangame]

Comments

Log in with itch.io to leave a comment.

(+1)

holy shit i need to try this out!