How to run Dedicated server and game client on the same computer behind router:
Create new shortcut for HL, rename it to "HL Dedicated", Click shortcut properties and add there parameter -i dedicated, It will look like this:
Code:
"C:\Program Files (x86)\HyperLobby client\hyperlobby.exe" -i dedicated
This will create hl instance named dedicated
Run HL Dedicated shortcut, create dedicated server account, setup dedicated server (use another port than default, for example 27020 and also dont forget to forward this port at your router back to your computer ip), start
the server ...
Edit the HL dedicated server shortcut again and add there -a parameter si it will look like this:
Code:
"C:\Program Files (x86)\HyperLobby client\hyperlobby.exe" -i dedicated -a
Clicking this shortcut HL will start, register the server to the HL and run the server.
Log in to HL using your origional HL shortcut (without parameters). You will see your server there but its not all if your computer do not using public ip and is hiddden behind NAT router. In this case you need setup loopback by those two steps (can be done also via HL configuration editor):
enable loopback by chat command:
Code:
/sg loopback=1
setup loopback IP (your computer ip, for example used 10.1.1.10) by chat command:
Code:
/sg loopbackip=10.1.1.10
Enjoy Smile