BFG Barry 0 Posted September 19, 2018 [ERROR][Server config] :: instanceId parameter is mandatory and must be valid 32-bit integer. my server wont start due this error? any help would be greatful. Share this post Link to post Share on other sites
Guest Posted September 19, 2018 You need to configure the server. Read the official documentation. Share this post Link to post Share on other sites
HEEROCKSS 4 Posted September 19, 2018 I get the same Error, i configured my server and forwarded the Port in my router. Still not working. Share this post Link to post Share on other sites
Infinite_1st 0 Posted September 19, 2018 set in launch parameters -config=serverDZ.cfg Share this post Link to post Share on other sites
HEEROCKSS 4 Posted September 19, 2018 Just now, Infinite_1st said: set in launch parameters -config=serverDZ.cfg Had that, PC reboot fixed it for me. Share this post Link to post Share on other sites
The Classified Rebel 2 Posted September 19, 2018 yeah had to do the -config=serverDZ.cfg and I also had to do the -port="####" and then port forward it and then everything seemed to work but I couldn't tell since I can't play and have it running at the same time. Hopefully they make a standalone launcher for it like what I use for Ark (Ark Server Manager). Share this post Link to post Share on other sites
terker 0 Posted September 19, 2018 we can add vehicles on server? Share this post Link to post Share on other sites
Dávid Őri (ConanHUN) 1 Posted September 19, 2018 alright the server started and I see it in LAN servers window but I cannot connect on it I also tried to connect with -connect=127.0.0.1, localhost and with my LAN address too but the game only say: Connection Lost or Waiting for host and I don't see any error message in the server window 1 Share this post Link to post Share on other sites
halamo 0 Posted September 19, 2018 Same error here instanceId parameter is mandatory and must be valid 32-bit integer can you help ? how to set in launcher ? I put password and name of server already but i don t see another setting How to run with bat run ? Help with great full Share this post Link to post Share on other sites
clarkycal 0 Posted September 19, 2018 26 minutes ago, halamo said: Same error here instanceId parameter is mandatory and must be valid 32-bit integer can you help ? how to set in launcher ? I put password and name of server already but i don t see another setting How to run with bat run ? Help with great full One way to start the server is to use a batch file and pass the config using a parameter like so: Remember to change the path on line6 to your server path @echo off cls set version=1.0 set wat=Dayz SA title %wat% Watchdog cd E:\Games\SteamLibrary\steamapps\common\DayZServer :watchdog echo (%time%) %wat% started. start "Dayz_SA" /wait /affinity FF /high "DayZServer_x64.exe" -config=serverDZ.cfg echo (%time%) %wat% closed or crashed, restarting. goto watchdog Share this post Link to post Share on other sites
halamo 0 Posted September 19, 2018 Thank you so much it work perfectly Share this post Link to post Share on other sites
halamo 0 Posted September 19, 2018 work great but don t have any zombie Share this post Link to post Share on other sites
Hornet58 0 Posted September 19, 2018 I have a problem. connection error "Connecting failed" this .bat start server Quote @echo off cls set version=1.0 set wat=Dayz SA title %wat% Watchdog cd d:\Steam\steamapps\common\DayZServer\ :watchdog echo (%time%) %wat% started. start "Dayz_SA" /wait /affinity FF /high "DayZServer_x64.exe" -config=serverDZ.cfg -dologs -BEpath=d:\Steam\steamapps\common\DayZServer\battleye\ echo (%time%) %wat% closed or crashed, restarting. goto watchdog Share this post Link to post Share on other sites
BFG Barry 0 Posted September 19, 2018 6 hours ago, lijazos said: You need to configure the server. Read the official documentation. i did still cant get it Share this post Link to post Share on other sites
Iceman997799 1 Posted September 20, 2018 (edited) Hope this helps This is a restart bat for Arma 3 reworked for Dayz just make sure you set the file paths to your Dayz server. File name restartserver_x64.bat Quote @echo off :: Turn off all firewall rules echo Disabling firewall rules for this server netsh advfirewall firewall delete rule name="Dayz" program="C:\DayZServer\DayZServer_x64.exe" timeout 2 :: MAKE SURE ALL TASKS ARE REALLY STOPPED echo Making sure all instances of this server have stopped taskkill /f /fi "status eq not responding" /im DayZServer_x64.exe taskkill /f /im DayZServer_x64.exe timeout 2 :: RESTARTING THE DayZ SERVER BE SURE TO EDIT THIS TO YOUR SERVER .EXE LOCATION -NOTE ALSO THIS IS WHERE YOU DEFINE WHERE YOU CONFIG.CFG IS echo Starting Dayz Server... C:\Windows\System32\cmd.exe /C start "Dayz" "C:\DayZServer\DayZServer_x64.exe" -config=C:\DayZServer\serverDZ.cfg -port=2302 echo Dayz Server has started timeout 60 :: THIS RUNS THE SERVER MONITOR FOR YOU SO YOU DON'T FORGET echo Starting Server Monitor Loop set ServerMonitorPath="C:\DayZServer" cd /d %ServerMonitorPath% start "" "servermonitor.bat" echo Server Monitor has started. Have Fun timeout 5 :: Turn On Firewall rule timeout 10 echo Turning on Firewall Rule to allow server network traffic netsh advfirewall firewall add rule name="DayZServer" dir=in action=allow program="C:\DayZServer\DayZServer_x64.exe" enable=yes echo Firewall is on and players can join timeout 5 @exit This is the server monitor. file name servermonitor.bat Quote @echo off ::IMPORTANT TO NAME IT SO WE CAN KILL IT title servermonitor.bat :start C:\Windows\System32\tasklist /FI "IMAGENAME eq DayZServer_x64.exe" 2>NUL | C:\Windows\System32\find /I /N "DayZServer_x64.exe">NUL if "%ERRORLEVEL%"=="0" goto loop echo Server is not running, will be started now start "" /min /wait "c:\DayZServer\restartserver_x64.bat - Shortcut" timeout 30 echo Server started succesfully exit goto started :loop cls echo Server is already running, running monitoring loop :started ::THE 80 REFERS TO SECONDS AND HOW OFTEN IT WILL CHECK,YOU CAN SET IT TO WHATEVER YOU WANT. I JUST DONT WANT MY SERVER DOWN FOR MUCH LONGER THAN THAT! ::New error fault kill, will check for err fault and clear it and hopefully restart, a little more promise but no guarantee :) taskkill /f /im WerFault.exe /fi "WINDOWTITLE eq Arma 3" C:\Windows\System32\timeout /t 150 C:\Windows\System32\tasklist /FI "IMAGENAME eq DayZServer_x64.exe" 2>NUL | C:\Windows\System32\find /I /N "DayZServer_x64.exe">NUL if "%ERRORLEVEL%"=="0" goto loop goto start Make sure these two files are in the main directory of the server. Edited September 20, 2018 by Iceman997799 Share this post Link to post Share on other sites