DayZ
This topic has been locked
Aidan Jun 22, 2019 @ 1:56am
[ERROR][server config] Host name parameter is missing
Does anyone know why i`m getting this whilst trying to run a server? And yes the server is named in the config file.
< >
Showing 1-15 of 19 comments
Nica Jun 22, 2019 @ 1:57am 
Pastebin the config
Aidan Jun 22, 2019 @ 1:59am 
hostname = "MyServer"; // Server name
password = ""; // Password to connect to the server
passwordAdmin = ""; // Password to become a server admin

maxPlayers = 60; // Maximum amount of players

verifySignatures = 2; // Verifies .pbos against .bisign files. (only 2 is supported)
forceSameBuild = 1; // When enabled, the server will allow the connection only to clients with same the .exe revision as the server (value 0-1)

disableVoN = 0; // Enable/disable voice over network (value 0-1)
vonCodecQuality = 20; // Voice over network codec quality, the higher the better (values 0-30)

disable3rdPerson=0; // Toggles the 3rd person view for players (value 0-1)
disableCrosshair=0; // Toggles the cross-hair (value 0-1)

serverTime="SystemTime"; // Initial in-game time of the server. "SystemTime" means the local time of the machine. Another possibility is to set the time to some value in "YYYY/MM/DD/HH/MM" format, f.e. "2015/4/8/17/23" .
serverTimeAcceleration=1; // Accelerated Time (value 0-24)// This is a time multiplier for in-game time. In this case, the time would move 24 times faster than normal, so an entire day would pass in one hour.
serverNightTimeAcceleration=64; // Accelerated Nigh Time - The numerical value being a multiplier (0.1-64) and also multiplied by serverTimeAcceleration value. Thus, in case it is set to 4 and serverTimeAcceleration is set to 2, night time would move 8 times faster than normal. An entire night would pass in 3 hours.
serverTimePersistent=0; // Persistent Time (value 0-1)// The actual server time is saved to storage, so when active, the next server start will use the saved time value.

guaranteedUpdates=1; // Communication protocol used with game server (use only number 1)

loginQueueConcurrentPlayers=5; // The number of players concurrently processed during the login process. Should prevent massive performance drop during connection when a lot of people are connecting at the same time.
loginQueueMaxPlayers=500; // The maximum number of players that can wait in login queue

instanceId = 1; // DayZ server instance id, to identify the number of instances per box and their storage folders with persistence files

storeHouseStateDisabled = false;// Disable houses/doors persistence (value true/false), usable in case of problems with persistence
storageAutoFix = 1; // Checks if the persistence files are corrupted and replaces corrupted ones with empty ones (value 0-1)


class Missions
{
class DayZ
{
template="dayzOffline.chernarusplus"; // Mission to load on server startup. <MissionName>.<TerrainName>
};
};
Nica Jun 22, 2019 @ 2:00am 
Have you added the config to your launch param?

This jere:

-config=serverDZ.cfg
Last edited by Nica; Jun 22, 2019 @ 2:02am
Aidan Jun 22, 2019 @ 2:01am 
Sorry im new to this not sure what that is.
Nica Jun 22, 2019 @ 2:02am 
Originally posted by Aidan:
Sorry im new to this not sure what that is.
Im not sure if this is oitdated, but have a look here
https://write.corbpie.com/installing-and-setting-up-a-dayz-standalone-server-on-windows-server-2016-guide/

The start command is what you should be looking at
Last edited by Nica; Jun 22, 2019 @ 2:03am
Aidan Jun 22, 2019 @ 2:11am 
That all looks abit technical for me lol but ty for you help i`m just gonna give up.
Kirk1944 Jun 29, 2019 @ 12:58pm 
Originally posted by Nica:
Originally posted by Aidan:
Sorry im new to this not sure what that is.
Im not sure if this is oitdated, but have a look here
https://write.corbpie.com/installing-and-setting-up-a-dayz-standalone-server-on-windows-server-2016-guide/

The start command is what you should be looking at
LMAO that is the spirit, Aidan! Nica, thanks for the help. I finally established my local server!
Leffy Sep 18, 2019 @ 11:58pm 
Or You could just double click Server.bat file in the DayZServer Folder.
Wait till Console says Players 0 in total.
Then you should be good to go
Nica Sep 19, 2019 @ 12:35am 
Originally posted by Leffy:
Or You could just double click Server.bat file in the DayZServer Folder.
Wait till Console says Players 0 in total.
Then you should be good to go
or, the gameserver install doesnt come with such .bat file :lunar2019crylaughingpig:
Lauri024 Oct 2, 2019 @ 9:15am 
Originally posted by Nica:
Have you added the config to your launch param?

This jere:

-config=serverDZ.cfg
worked for me
Rayo_Gaming Oct 4, 2019 @ 4:31pm 
need help
Ruubz001 Nov 5, 2019 @ 10:23am 
Aidan, I had trouble too and found a surprisingly easy fix.

Open your .bat file with a notepad.
For me it said : -config=serverDZ.cfg
Meaning, upon launch it gathers the neccesary data from your config file, however, the auto-installed cfg file wasn't called serverDZ.cfg, but just server.cfg
I simply edited the file name and bada-bing bada-boom, works
TheFunMuffin Jun 16, 2020 @ 6:58pm 
Originally posted by Nica:
Have you added the config to your launch param?

This jere:

-config=serverDZ.cfg
I dont have that Launch Parameter
Nuclear Ape Oct 10, 2020 @ 9:48am 
go to your library, right click dayzserver, go to properties and in the general tab there is launch options. type or paste "-config=serverDZ.cfg" without the ". And launch the server through steam otherwise it doesn't work, not for me at least.
Ronov Dec 27, 2020 @ 3:25am 
Originally posted by Nuclear Ape:
go to your library, right click dayzserver, go to properties and in the general tab there is launch options. type or paste "-config=serverDZ.cfg" without the ". And launch the server through steam otherwise it doesn't work, not for me at least.

this worked for me
< >
Showing 1-15 of 19 comments
Per page: 1530 50

Date Posted: Jun 22, 2019 @ 1:56am
Posts: 19