OBT~Miguel21®
Messages : 2140 Date d'inscription : 04/06/2008
| Sujet: HL et COD Lun 12 Mar - 19:45 | |
| Ou comment hoster avec HL, voir même, comment creer un serveur dédié. - Citation :
- 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 clienthyperlobby.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 clienthyperlobby.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:
- setup loopback IP (your computer ip, for example used 10.1.1.10) by chat command:
Code: | /sg loopbackip=10.1.1.10 |
- Enjoy
How to run Dedicated server and game client on different computers with the same steam account:
(note: i continuously got steam disconnect messages from the dedicated server in both steam online and offline modes. The server was functional from few hours to few days and i consistered is definitely as game issue, so do not discuss it here)
- At your main computer logof and exit steam
- At server computer instal steam, log your account and install/patch IL2CLOD
- Run il2 clod first time so it will initialize its own profile.
It may crash if you run it via remote desktop, but do not care, the profile wil be created ...
- Switch steam in to offline mode (mandatory)
- Setup hl dedicated server by steps 1,2,3 from previous guide.
- Login steam at your main computer, connect HL, setup loopback
if you and your server is behind the same NAT router (IP must match internal ip of server computer)
- Enjoy
| |
|