S&box Wiki

Revision Difference

multi-run#549068

<cat>Code.Game</cat> <title>Running multiple instances of the game</title>⤶ # Running multiple instances of the game⤶ <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⤶ # 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.