** I mainly made this tutorial so people can stop making threads about it. **
**1. Port forwarding.
**A lot of people complain that others can’t connect to your listen server. You have to forward your ports. Go to www.portforward.com, find and click on your Routers model and after, it will show a list of games. Find and Click on Half Life 2 Steam Server, and follow the instructions on the following page. If a huge ad comes up, just in the top right, click ‘Click here to skip this advertisement…’. And it will take you to the instructions page.
2. Going and making your server**.**
Now that you’ve port forwarded. You will want to create your server. So go to ‘Start new game’ in the Gmod menu and change the settings, gamemode etc, then press Start Multiplayer.
After you start the game, your server is now up and running, but there is more stuff you need to do.
3. Making your server show up in the right region. **
Now to make your server show up in the right place… type sv_region * into the console (* means number/value I’m going to give you)
The number/value determines where the server will be located under the filters, eg Australia or East US.
The numbers/values are as follows:
[li]East US - sv_region 0[/li][li]West US - sv_region 1[/li][li] South America - sv_region 2[/li][li] Europe - sv_region 3[/li][li] Asia - sv_region 4[/li][li] Australia - sv_region 5[/li][li] Middle East - sv_region 6[/li][li] Africa - sv_region 7[/li][li] The World - sv_region 255[/li][/ul]
** 4. IP Address. **
Now that thats done, restart the map and it should be in the region you chose.
Now when telling friends to join, give them your IP, if they go to ‘View Game Info’ in friends tab. It will say ‘Server is not responding’. This is because it is trying to connect to your local IP, not your external IP, to give them your external IP, go to www.whatismyip.com. Copy and paste the IP it gives you. Now, put the port on the end of the IP address. Generally it’s :27015 (For example mine : 220.127.116.11:27015.) Now when you’ve put the port on the ip address… Give it to your friends to try out and play with you.
You’re all done! Now go play with some people that you don’t even know!
** Some notes, read them: **
NOTE: When you host your server it might be in Internet list, and it will definitely be in the LAN list. So if it’s not on the internet list, try to get someone to connect a few times, then fix your problem, or inform me, I can probably work about to fixing it.
ANOTHER NOTE: When installing addons for your listen server, install them like a normal one, just put them in your normal GMod directory.
ANOTHER NOTE (Thanks joeman.): To check if your ports are open, go to www.canyouseeme.org.
ANOTHER NOTE: About 75kb/s of your upload speed will give you the ability to support an extra player, that includes yourself. Once more than that are on the server, it starts to lag the server, BAD!
ANOTHER DAMNED NOTE: You don’t need to type ‘sv_lan 0’ or ‘heartbeat’ because these are already done for you. So if someone can’t connect then you must have gone to singleplayer you sneaky, little bastard. :downs: (Unless of course it was a mistake)