Jump to content
mrwolv

Install Battleye + Server Start.bat +Server Restarts +Server Crash Restarter

Recommended Posts

4 hours ago, Killerfeed said:

Mod doesn't work now or can't recognize me as administrator (i logged like admin)

Yeh I got the same issue after testing, got me stumped. I'd recommend using CFTools instead tbh.

 

Share this post


Link to post
Share on other sites
17 minutes ago, SmashT said:

Yeh I got the same issue after testing, got me stumped. I'd recommend using CFTools instead tbh.

 

Hosted servers like Fragnet, 4netplayers, etc? Or apliccation free?

Share this post


Link to post
Share on other sites

that looks like it due to another mod or something edited in a dta/scripts file somewhere as it runs ok for me still

http://prntscr.com/mkunxz

Edited by mrwolv

Share this post


Link to post
Share on other sites
On 2/12/2019 at 8:12 PM, Killerfeed said:

It works, solved! 😉 BEC connected and working. But... i have other problem. 

 

Since I installed the BEC the mods don't work fine (Comunity Tools, Permissions framworks, etc)  I see the interface of Comunity Tools but I can't see any player in the server list, nor teleport, nor respawn objects.

https://imgur.com/a/M774gQU

Last night works perfectly

 

thats down to dayz and the community tools they are broken still 😄

Share this post


Link to post
Share on other sites
18 hours ago, SmashT said:

Yeh I got the same issue after testing, got me stumped. I'd recommend using CFTools instead tbh.

 

Can you link me some guide for newbies? 😊 Thanks mate

Share this post


Link to post
Share on other sites
On 2/14/2019 at 12:02 AM, Killerfeed said:

Mod doesn't work now or can't recognize me as administrator (i logged like admin)

Try this, finally got it working after scratching my head for ages trying to figure it out. Copy your entire DayZServer folder to C:\DayZServer instead of C:\Program Files (x86)\Steam\steamapps\common\DayZServer, BEC doesn't seem to like the spacing in Program Files (x86).

Use this as your startup bat.

@echo off
TITLE DayZ SA Server - Status
COLOR 0A
:: Variables::
::DayZServer_64.exe path
set DAYZ-SA_SERVER_LOCATION="C:\DayZServer"
::Bec.exe path
set BEC_LOCATION="C:\DayZServer\battleye\Bec"
::::::::::::::

echo Agusanz
goto checksv
pause

:checksv
tasklist /FI "IMAGENAME eq DayZServer_x64.exe" 2>NUL | find /I /N "DayZServer_x64.exe">NUL
if "%ERRORLEVEL%"=="0" goto checkbec
cls
echo Server is not running, taking care of it..
goto killsv

:checkbec
tasklist /FI "IMAGENAME eq Bec.exe" 2>NUL | find /I /N "Bec.exe">NUL
if "%ERRORLEVEL%"=="0" goto loopsv
cls
echo Bec is not running, taking care of it..
goto startbec

:loopsv
FOR /L %%s IN (30,-1,0) DO (
	cls
	echo Server is running. Checking again in %%s seconds.. 
	timeout 1 >nul
)
goto checksv

:killsv
taskkill /f /im Bec.exe
taskkill /f /im DayZServer_x64.exe
goto startsv

:startsv
cls
echo Starting DayZ SA Server.
timeout 1 >nul
cls
echo Starting DayZ SA Server..
timeout 1 >nul
cls
echo Starting DayZ SA Server...
cd "%DAYZ-SA_SERVER_LOCATION%"
start DayZServer_x64.exe -config=serverDZ.cfg -port=2302 "-mod=@RPCFramework;@Permissions-Framework;@Community-Online-Tools" "-scrAllowFileWrite" -BEpath=C:\DayZServer\battleye -profiles=C:\DayZServer\PlayerLogs -dologs -adminlog -netlog -freezecheck 
FOR /L %%s IN (45,-1,0) DO (
	cls
	echo Initializing server, wait %%s seconds to initialize Bec.. 
	timeout 1 >nul
)
goto startbec

:startbec
cls
echo Starting Bec.
timeout 1 >nul
cls
echo Starting Bec..
timeout 1 >nul
cls
echo Starting Bec...
timeout 1 >nul
cd "%BEC_LOCATION%"
start Bec.exe -f Config.cfg
goto checksv

Your C:\DayZServer\battleye\Bec\Config\Config.cfg should look like this:

[Bec]
Ip = 81.37.173.141
Port = 2302
BePath = C:\DayZServer\battleye
Admins = admins.xml
Commands = commands.xml
LogDir = Config

[Misc]

# Only allow english chars.
AsciiNickOnly = True

# Kick players who has listed chars in their name
DisallowPlayerNameChars	= ё,я,ш,е,р,т,ы,у,и,о,п,ю,щ,э,а,с,д,ф,г,ч,й,к,л,ь,ж,з,х,ц,в,б,н,м,ъ,Ё,Я,Ш,Е,Р,Т,Ы,У,И,О,П,Ю,Щ,Э,А,С,Д,Ф,Г,Ч,Й,К,Л,Ь,Ж,З,Х,Ц,В,Б,Н,М,Ъ

ServerExeName = DayZServer_x64.exe
Color = 0f
ConsoleHeight = 65
ConsoleWidth = 100
Timeout = 60
Scheduler = scheduler.xml
AsciiChatOnly = False
WordFilterFile = BadWords.txt
#WhiteListFile = WhiteList.txt
#WhileListKickMsg = You are not in the whitelist. 
NickFilterFile = BadNames.txt
ChatChannelFiles = false
MinPlayerNameLength	= 3
MaxPlayerNameLength	= 20
SlotLimit = 120
SlotLimitKickMsg = The Server has reached its player limit.
Ban = 3

 

Share this post


Link to post
Share on other sites

@SmashT  thanks, but when reinstalling I had problems with the server and now it doesn't appear in Community. I opened the ports (IP computer and ports 2302: 2307) but for some reason it only appears in LAN.

I use two PC's: one main to play and the other for the server. With static IP both. The IP that my server has is the same IP as my computer, which is strange because I did not have it that way before,

Any suggestions?

 

Ok

Edited by Killerfeed

Share this post


Link to post
Share on other sites

@SmashT  I already made the changes but i have this new message

https://gyazo.com/fa412eacac92da4ae2866a2171eafeb3

 

If I delete "-mod = @ RPCFramework; @ Permissions-Framework; @ Community-Online-Tools" of the start.bat the server and the BEC work, so I guess it's a problem with Mods scripts, how can I fix it?

EIDT: I try to post that problem in correctly forum "Comunnity Tools"

Thank you

Edited by Killerfeed

Share this post


Link to post
Share on other sites
8 hours ago, Killerfeed said:

@SmashT  I already made the changes but i have this new message

https://gyazo.com/fa412eacac92da4ae2866a2171eafeb3

 

If I delete "-mod = @ RPCFramework; @ Permissions-Framework; @ Community-Online-Tools" of the start.bat the server and the BEC work, so I guess it's a problem with Mods scripts, how can I fix it?

EIDT: I try to post that problem in correctly forum "Comunnity Tools"

Thank you

try that command line as you has spaces between them also make sure you have added the new key to the keys folder from the  @Community-Online-Tools

"-mod=@RPCFramework;@Permissions-Framework;@Community-Online-Tools"

 

Also for anyone having issues with the Install Battleye + Server Start.bat +Server Restarts +Server Crash Restarter

make sure you have set all ports required and ips also make sure all your folder paths are correct as this still works and has no problems if you still require help and have teamveiwer i will help you out just pm me and ile get right to it

Edited by mrwolv
  • Thanks 1

Share this post


Link to post
Share on other sites

This works perfectly for me I have had no problems installing very simple guide to follow I don't see why everyone has so many problems getting it to work its just a simple copy paste the battleye folder then add your information took me 5 mins and I am all set thanks for putting this together 

  • Like 1
  • Beans 1

Share this post


Link to post
Share on other sites
16 hours ago, mrwolv said:

try that command line as you has spaces between them also make sure you have added the new key to the keys folder from the  @Community-Online-Tools

"-mod=@RPCFramework;@Permissions-Framework;@Community-Online-Tools"

 

Also for anyone having issues with the Install Battleye + Server Start.bat +Server Restarts +Server Crash Restarter

make sure you have set all ports required and ips also make sure all your folder paths are correct as this still works and has no problems if you still require help and have teamveiwer i will help you out just pm me and ile get right to it

Thansk a lot, mate, i'll post new thread for my problem, with all information of server, i hope that i fix it 

Share this post


Link to post
Share on other sites

hello, im having trouble setting my server to run with DZSALModServer.exe, it opens both the Modserver and DayzServer but when BEC tries to connect, keep saying: waiting for server to start.

Edited by andremelo90

Share this post


Link to post
Share on other sites
2 hours ago, andremelo90 said:

hello, im having trouble setting my server to run with DZSALModServer.exe, it opens both the Modserver and DayzServer but when BEC tries to connect, keep saying: waiting for server to start.

yeah make sure you have added the same password in your serverDZ.cfg for the rcon password and set it in the BEServer_x64.cfg and it will connect on server boot

Share this post


Link to post
Share on other sites

ill try this one, as i forgot to replace all the DayZServer_x64.exe for DZSALModServer.exe.

@echo off

TITLE DayZ SA Server - Status
COLOR 0A
:: Variables::
::DayZServer_64.exe path
set DAYZ-SA_SERVER_LOCATION="C:\Dayzserver"
::Bec.exe path
set BEC_LOCATION="C:\Dayzserver\battleye\Bec"
::::::::::::::

echo Agusanz
goto checksv
pause

:checksv
tasklist /FI "IMAGENAME eq DZSALModServer.exe" 2>NUL | find /I /N "DZSALModServer.exe">NUL
if "%ERRORLEVEL%"=="0" goto checkbec
cls
echo Server is not running, taking care of it..
goto killsv

:checkbec
tasklist /FI "IMAGENAME eq Bec.exe" 2>NUL | find /I /N "Bec.exe">NUL
if "%ERRORLEVEL%"=="0" goto loopsv
cls
echo Bec is not running, taking care of it..
goto startbec

:loopsv
FOR /L %%s IN (30,-1,0) DO (
    cls
    echo Server is running. Checking again in %%s seconds..
    timeout 1 >nul
)
goto checksv

:killsv
taskkill /f /im Bec.exe
taskkill /f /im DZSALModServer.exe
goto startsv

:startsv
cls
echo Starting DayZ SA Server.
timeout 1 >nul
cls
echo Starting DayZ SA Server..
timeout 1 >nul
cls
echo Starting DayZ SA Server...
cd "%DAYZ-SA_SERVER_LOCATION%"
start DZSALModServer.exe -scrAllowFileWrite -config=serverDZ.cfg -port=2302 "-profiles=ServerProfiles" -dologs -adminlog -freezecheck -cpuCount=4 "-mod=@RPCFramework;@Permissions Framework;@Community Online Tools;@[MOV] Notification Framework;@[MOV] Airdrop Redux;@Weapon Redux Pack;@Mass'sManyItemOverhaul(W.I.P);@InventoryPlus;@KillFeed;@Trader"
FOR /L %%s IN (45,-1,0) DO (
    cls
    echo Initializing server, wait %%s seconds to initialize Bec..
    timeout 1 >nul
)
goto startbec

:startbec
cls
echo Starting Bec.
timeout 1 >nul
cls
echo Starting Bec..
timeout 1 >nul
cls
echo Starting Bec...
timeout 1 >nul
cd "%BEC_LOCATION%"
start /min Bec.exe -f Config.cfg --dsc
goto checksv

Edited by andremelo90

Share this post


Link to post
Share on other sites

Solved adding --dsc

start Bec.exe --dsc -f Config.cfg

BUT... DZSALModServer.exe mods wont show in DayZSALauncher server list 😫😖

Edited by andremelo90

Share this post


Link to post
Share on other sites
36 minutes ago, andremelo90 said:

Solved adding --dsc

start Bec.exe --dsc -f Config.cfg

BUT... DZSALModServer.exe mods wont show in DayZSALauncher server list 😫😖

do you have a discord if so give me a message with your link ile come help you i got a free hour oh i added you to steam

Edited by mrwolv

Share this post


Link to post
Share on other sites

Worked perfectly! Thanks for your hard work! Now I'll start messing with some of the cfg's and xml's for my taste and see what I can mess up!

 

Guess I spoke too soon . . .

The Scheduler isn't working so I will list the changes I made to the files and hopefully someone can see the problem. I just put the box stock scheduler.xml in without any changes to see if the restarts would work.

Step 1 - Changed the path to my server location in batch file: 

set DAYZ-SA_SERVER_LOCATION="E:\Steam\steamapps\common\DayZServer"

Step 2 -Changed BEC folder location in batch file: 

BEC_LOCATION="E:\Steam\steamapps\common\DayZServer\Battleye\Bec"

Step 3 - Copied the battleye folder into E:\Steam\steamapps\common\DayZServer

Step 4 - Edit BEServer_x64.cfg (name changed after I first run the server to BEServer_x64_active_????.cfg?):

RConPassword ????????????
RestrictRCon 0
RConPort 2302
RConIP 73.48.212.156

Step 5 - Edit Config.cfg

[Bec]
Ip = 73.48.212.156
Port = 2302
BePath = E:\Steam\steamapps\common\DayZServer\battleye
Admins = admins.xml
Commands = commands.xml
LogDir = Config

Step 6 - Left the scheduler.xml alone

Before I ran the batch file I changed start DayZServer_x64.exe to start DZSALModServer.exe, added my mods, and set the location for my profile folder:

start DZSALModServer.exe "-config=serverDZ.cfg" "-port=2302" "-dologs" "-adminlog" "-netlog" "-freezecheck" "-noFilePatching" "-BEpath=E:\Steam\steamapps\common\DayZServer\Battleye" "-mod=;@InventoryPlus;@Code Lock;@DisableBaseDestruction;@BuildAnywhere;@FIDOv PACK 4;@Mass'sManyItemOverhaul;@Trader;@KillFeed;@RPCFramework;ZomBerry" "-ignoremod=ZomBerry" "-profiles=E:\Steam\steamapps\common\DayZServer\EvilChickenCoop"

 

Also:

The instructions say the scheduler.xml is in the BEC folder but it is in the BEC\Config folder. I put a copy in both locations but still no restarts?

Edited by animal451

Share this post


Link to post
Share on other sites

Hey all, I've got a problem. My server starts up but my client freezes whenever I try and connect. Also unlike other servers with mod my mods don't appear in the server info. I've never tried running a modded server before so I'm fairly confused.

Share this post


Link to post
Share on other sites

Never mind I'm an idiot! My port forward was setup at an old address and I forgot to update to the new IP I have. It's all good and running fine now.

edit: Ok, so my server runs but doesn't register my mods. I have the mods in the .bat and I did put the keys in the key folder. I'm obviously missing something, but have no idea what it could be.

Edited by Scott Konkel

Share this post


Link to post
Share on other sites

mrwolv, Thank you, great work, though I had to rewrite the bat file for myself

178be462dd5fc658d782b2cd07f9565e2eb43535

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

×