Jump to content
Sign in to follow this  
gigiwwa

Need some help plz, trying to run server and client on the same machine.

Recommended Posts

Hello All, hope you all well.

I recently installed a local server.

it is starting up fine with no warnings or errors however when I try to connect to it through the Dayz launcher it allways hangs halfway through the loading screen.

the start.bat looks like this:

@echo off
:start
::Server name
set serverName="Beardos"
::Server files location
set serverLocation="X:\STM\steamapps\common\DayZServer"
::Server Port
set serverPort=2302
::Server config
set serverConfig=serverDZ.cfg
::Logical CPU cores to use (Equal or less than available)
set serverCPU=4
::Sets title for terminal (DONT edit)
title %serverName% batch
::DayZServer location (DONT edit)
cd "%serverLocation%"
echo (%time%) %serverName% started.
::Launch parameters (edit end: -config=|-port=|-profiles=|-doLogs|-adminLog|-netLog|-freezeCheck|-filePatching|-BEpath=|-cpuCount=)
start "DayZ Server" /min "DayZServer_x64.exe" -config=%serverConfig% -port=%serverPort% "profiles=X:\STM\steamapps\common\DayZServer" "-profiles=config" "-mod=@BANOV;@CF;@Community-Online-Tools;" -cpuCount=%serverCPU% -dologs -adminlog -netlog -freezecheck  -BEpath=X:\STM\steamapps\common\DayZServer\battleye
::Time in seconds before kill server process (14400 = 4 hours)
timeout 14390
taskkill /im DayZServer_x64.exe /F
::Time in seconds to wait before..
timeout 10
::Go back to the top and repeat the whole cycle again
goto start

  ports are also forwarded and its showing also under the comunity Tab

thios is from the console:

14:53:19 Dedicated host created.
14:53:19 [Inputs] Loading inputs default "bin/constants.xml"
14:53:19 [Inputs] Loading inputs default "bin/specific.xml"
14:53:19 [Inputs] Loading inputs default "JM/COT/Scripts/Data/Inputs.xml"
14:53:19 !!! [Inputs] Cannot Register "UAObjectModuleDeleteOnCursor" non-existent input - Fix Preset!
14:53:19 [Inputs] Loading inputs cfg "profiles\Users\Survivor\Server.core.xml"
14:53:19 !!! [Inputs] Cannot read inputs cfg "profiles\Users\Survivor\Server.core.xml", parser error
14:53:19 [Inputs] Loading inputs cfg "bin/core.xml"
14:53:19 !!! [Inputs] Cannot load input preset "user", file does not exist
14:53:19 [Inputs] Exporting inputs cfg "profiles\Users\Survivor\Server.core.xml"
14:53:22 BattlEye Server: Initialized (v1.219, DayZ 1.14.154258)
14:53:22 SUCCESS: SteamGameServer_Init(0,8766,2302,27016,3,1.14.154258)
14:53:22 Roles assigned.
14:53:22 Reading mission ...
14:53:26 Mission read.
14:53:26 Connected to Steam
14:53:26 Steam policy response
 

Please point me in the right direction, Thank you.

 

Share this post


Link to post
Share on other sites

@gigiwwa

In your launch parameters, you have this:

"profiles=X:\STM\steamapps\common\DayZServer" "-profiles=config"

Neither of those is correct.  What you want here is a folder somewhere other than where DayZ is installed for the log files and other folders to go.  Mine looks like this:

"-profiles=C:\DayZServer\"

For me, DayZ Server itself is installed under C:\Steam\steamapps\common\DayZServer, so the folder I have there for my profile is completely separate.  Try it like that.

The only other thing I'd suggest is to not force kill the exe with the /F switch because you can screw up some of your persistence files doing that.  Remove the /F and let DayZServer_x64.exe shut down gracefully.  It might take 5-15 seconds longer, but it's worth it.

  • Thanks 1

Share this post


Link to post
Share on other sites

I made some  changes 

start "DayZ Server" /min "DayZServer_x64.exe" -config=%serverConfig% -port=%serverPort% "profiles=X:\Dayzserver"  "-mod=@BANOV;@CF;@Community-Online-Tools;" -cpuCount=%serverCPU% -dologs -adminlog -netlog -freezecheck  -BEpath=X:\STM\steamapps\common\DayZServer\battleye

it loads fine with no errors

https://imgur.com/AnSqtzw

I Join

https://imgur.com/wDTvttp

and thenit freezes

https://imgur.com/dvUc2Bl

 

 

Share this post


Link to post
Share on other sites

serverDZ.cfg :

hostname = "Beardos";  // Server name
password = "";              // Password to connect to the server
passwordAdmin = "";         // Password to become a server admin

enableWhitelist = 0;        // Enable/disable whitelist (value 0-1)
 
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=1;         // Toggles the 3rd person view for players (value 0-1)
disableCrosshair=0;         // Toggles the cross-hair (value 0-1)

disablePersonalLight = 1;   // Disables personal light for all clients connected to server
lightingConfig = 0;         // 0 for brighter night setup, 1 for darker night setup
 
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=12;  // 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=2;  // 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.BANOV"; // Mission to load on server startup. <MissionName>.<TerrainName>
                          // Vanilla mission: dayzOffline.chernarusplus
                          // DLC mission: dayzOffline.enoch
    };
};

Share this post


Link to post
Share on other sites

@gigiwwa

You are missing a minus sign in front of the word profiles

@etwas

It doesn't matter what you call it in the template as long as the folder has the same name.  You could put cookie.monster here and it would work if there was a cookie.monster folder under mpmissions.

Share this post


Link to post
Share on other sites

ah alright. i always use the folder names the map provides and theres no sign how OP called that folder.

Share this post


Link to post
Share on other sites

I renamed the empty.Banov.

 

I got it to work on chernorusplus but banov or deerisle give me PBO error with community online tools even when I resubscribe.

I will try again with emty.banov today

 

Share this post


Link to post
Share on other sites

renaming it back to empty.banove did, thank you

now I cant start admin anymore even my Json file in PermissionsFramework is changed to admin.

anyways Thank you all . 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×