Jump to content
Mettius

Cant connect with BERCon?

Recommended Posts

Not sure what I'm doing wrong. But I'm not able to connect with RCon.

I always get "Could not connect to server".  I'm running the command locally on the server running DayZ Server.

start.bat

    @echo off
    :start
    ::Server name
    set serverName=Mettiland
    ::Server files location
    set serverLocation="C:\Program Files (x86)\Steam\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=2
    ::BEPath
    set battlePath="C:\Program Files (x86)\Steam\steamapps\common\DayZServer\battleye"
    ::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% -cpuCount=%serverCPU% -dologs -adminlog -netlog "-bepath=%battlePath%" -freezecheck -
    ::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

serverDZ.cfg

hostname = "Mettiland";  // Server name
password = "blah";              // Password to connect to the server
passwordAdmin = "blalblah";         // 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=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=1;  // 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>
    };
};

BEServer_x64.cfg

RConPassword blahhhhh

 

Edited by Mettius

Share this post


Link to post
Share on other sites

If the game is running on port 2302, then when I attempt to connect with BERCon I should be supplying that port (2302) when it asks "Enter the game server's port:"
Yes?

Share this post


Link to post
Share on other sites

OK. It is connecting now. It looks like the below parameter fixed it:

Adding the following to my launch parameters:

"-BEpath=C:\Program Files (x86)\Steam\steamapps\common\DayZServer\battleye"

 

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

×