Day of Infamy Guide

How to create a private server to play with your friends!? | (Listen Server) for Day of Infamy

How to create a private server to play with your friends!? | (Listen Server)

Overview

This guide is for those of you wishing to create a fully working Day of Infamy server rapidly without having to make a dedicated one.& Also works with the Internal version of the game [Beta Branch Bunch])https://serverranks.com/server/45.63.67.214:27095 custom server with rising storm TDM mod & small maps perfect for a session between friends.

Intro / basics + tutorial video

• With over ??k concurrent players[steamcharts.com] on this Day of Infamy Free Weekend!. it has been recently quite hard to find available slot on Co-op servers. this Steam guide will help us getting a coop session between friends!

• Easier than dedicated one to create, Listen servers are run on the same machine as the game client.
When the client disconnects, the server is shut down, as the server and host client are run together.
So check game cache integrality (game properties) before host it in order to avoid crashs.

• Listen servers usually cannot support too many players, due to bandwidth and CPU requirements.
So please optimize your internet connection so close others useless programs and run only the minimal requiered.
(Do not even try if you are on the neighbourhood wireless!)

Please get a look to this guide for running a real dedicated one:

[link]
[link]

How to proceed?!

First of all get your IP specifications by opening your operating system console:

• Launch the command prompt (executable name cmd.exe )
Enter:

ipconfig
Then focus on your Network connection details:


Port Forwarding:

• Copy/paste your default gateway IP in your web browser: (url tab)

Day of Infamy requieres only the port for the Steam Server:
• port: 27015 UDP & your IPv4 address

Before you launch your game, you will have to:

• Right click on the game on your steam library and click “Properties”. Once you’re there, click on “Set Launch Options”. An empty caption box will show up.
In it, simply type:

-console
Launch Day of Infamy:

• You will notice that a console has now appeared on the main menu. Keep it there! (Dev-console is used to submit some commands variables == cvar)
• You can also pop it up when needed by binding it (F11 as an example) with the following cvar: (with quotes)

bind “F11” “toggleconsole”

* bind F11 allows you to open it during loading screen!

disconect (cancel loading time if server not responding)

Then “Create a server” by opening whatever level you wish:

• Type in:

heartbeat <Submit> map <the map you want> <whished gamemode> <Submit>

It’s easy to know how many players you can support:

If you go above your limit all the other players in your server will see their ping increased to extreme heights.
• You just have to test how many players your network can handle but most of the times 6+ slots becomes harder to manage.

• Once it’s done display console again and type in:

status

It gives you the external/public server IP[ip-lookup.net] copy/paste it to yours Steam friends in order they join you manually (cvar: connect IP) if your server isn’t yet displayed in the server browser list from their side.
• There you go! You have a fully working server now! Invite your friends in!
• If it still doesn’t work or you’re having other issues see the troubleshooting section bellow:

Server Configuration and Handy Tweaks

Some useful tips to manage your server:

***How to create a private server to play with your friends!?***
sv_password <whatever you want> (Set a passwd to get a private lobby)
connect <IP>;password <passwd> (And how your steam friend join it later once secured)

CVAR
DESCRIPTION
changelevel <…>
nextlevel <…>
switch to a new map
set next lvl
kill
(suicide yourself)
“Playtesting weird stuff with cvar!”
You must enable cheats on your server to enjoy the following user config:

Save following code as autoexec.cfg in doi/cfg folder:

bind “o” “sv_cheats 1;give_supply” alias slow0 “host_timescale 1; echo slow motion OFF; alias slowmottog slow1” alias slow1 “host_timescale 0.7; echo slow motion ON; alias slowmottog slow0” slow0 bind “h” “slowmottog”

Troubleshooting

• Anti-virus and Firewalls

If your friends still cannot join your server even after you’ve set it up properly it’s most likely because something is blocking network traffic coming from outside. Many anti-virus and firewalls do that by default and you’ll have to either temporarily disable them or add Steam and Day of Infamy to the restrictions.[www.dummies.com]

•Port Forwarding

If it still doesn’t work you might want to try these ports too:

UDP 1200
UDP 27000 to 27015
UDP 27020
TCP 27030 to 27039
TCP 27015

If you don’t know how you just have to follow the instructions on this website[portforward.com]
There you simply have to enter your router’s brand and model and then ports for what game you want to forward.

Real LAN Party with a few computers & 1 Shared Steam account!

You can skip Port Forwarding step but don’t negligate firewall exception:
NET_GetBindAddresses found 192.168.1.54: ‘Killer Wireless-n/a/ac 1525 Wireless Network Adapter’ NET_GetBindAddresses found 192.168.56.1: ‘VirtualBox Host-Only Ethernet Adapter’ Opened Steam Socket NS_SERVER ( socket 1700 ) Opened Steam Socket NS_CLIENT ( socket 1560 ) Network: IP 192.168.1.54 mode MP, dedicated No, ports 27015 SV / 27005 CL ] heartbeat ] sv_lan 1 ] map bastogne stronghold —- Host_NewGame —- Host_NewGame on map bastogne Executing listen server config file Executing ‘listenserver.cfg’ config file Gamerules: entering state ‘GR_STATE_PREGAME’ Initializing Steam libraries for LAN server Logging into anonymous gameserver account. 94.762: Sending UDP connect to public IP 127.0.0.1:27015 Assigned anonymous gameserver Steam ID [A:1:3879180293:8656]. VAC secure mode disabled. 100.763: Sending UDP connect to public IP 127.0.0.1:27015 Server using ‘<none>’ lobbies, requiring pw no, lobby id 0 RememberIPAddressForLobby: lobby 0 from address loopback S3: Duplicate client connection: UserID: 16 SteamID 11000010122a3e8 Client “(1)SHOUBI°♫” connected (192.168.1.20:27005). (1) ] status hostname: SHOUBI°♫ version : 2.9.8.9/2989 6757 insecure udp/ip : 192.168.1.54:27015 os : Windows type : listen map : bastogne at: -511 x, -1753 y, 321 z players : 2 humans, 19 bots (6/0 max) (not hibernating) # userid name uniqueid connected ping loss state rate adr # 2 1 “SHOUBI°♫” STEAM_1:0:9523700 06:06 16 0 active 80000 loopback # 3 “Arthur” BOT active # 4 “Ben” BOT active # 5 “Christiaan” BOT active # 6 “Drew” BOT active # 7 “Gabriel” BOT active # 8 “James” BOT active # 9 “Jamie” BOT active #10 “Jeroen” BOT active #11 “John” BOT active #12 “Jonny” BOT active #13 “Mark” BOT active #14 “Martin” BOT active #15 “Matthias” BOT active #16 “Michael” BOT active #17 “Mike” BOT active #18 “Rense” BOT active #19 “Stephen” BOT active #20 “Thiago” BOT active #21 “Valdis” BOT active # 22 21 “(1)SHOUBI°♫” STEAM_1:0:0 01:56 42 0 active 196608 192.168.1.20:27005 #end

Outro

[link]

[link]
[link]
[link]

Special thanks mention to “+[SP]+ Kaede” for his understanding and provided me helpful ressources for my guide which is based on.
SteamSolo.com