S&box Wiki

Revision Difference

multi-run#560453

<cat>Play.Intro</cat>⤶ <title>Running Multiple Instances of the Game</title>⤶ ⤶ # Running Multiple Instances of the Game⤶ ⤶ You can run multiple instances of the game to test multiplayer features without the need for other users.⤶ ⤶ - To do this, **both** instances of s&box need to run `sv_lan 1` **before** any games are started.⤶ - Next, the hosting client should start up a local game.⤶ - Then, simply type `connect localhost` in the console (press F1 for console in non-tools mode) of your non-hosting client to connect.⤶ ⤶ ⤶ # Things to Note⤶ ⤶ - Your client will be the same in all instances (name, player id, etc).⤶ - You will have to download your game from yourself, which can take time.⤶ - If you'd like to run two copies of the s&box game editor, you will need to use the `-multiple_tools_instances` [launch argument](launchargs).