Jump to content

Agusanz

Members
  • Content Count

    29
  • Joined

  • Last visited

Everything posted by Agusanz

  1. Agusanz

    [RELEASE]BEC for DayZ SA

    There's a version for that already https://github.com/Agusanz/AZ_Start.bat/blob/master/AZ_Start.bat
  2. Agusanz

    Any BEC geniuses out there that can help

    It may be case sensitive.. Scheduler = scheduler.xml
  3. i made some minor changes to my script: Remember to change all the variables to the correct ones and modify line 70 to your correct parameters. If you have any idea i can add to this thing, let me know... i would love to make it more functional for you guys. @echo off TITLE DayZ SA Server - Status COLOR 0A mode con:cols=75 lines=3 :: Variables:: ::SteamCMD.exe path set STEAM_CMD_LOCATION="C:\SteamCMD" set STEAM_USERNAME="anonymous" ::DayZServer_64.exe path set DAYZ-SA_SERVER_LOCATION="C:\DayZ-SA_server" ::Bec.exe path set BEC_LOCATION="C:\DayZ-SA_server\Bec" ::IMPORTANT: Modify line 70 to your correct parameters :::::::::::::: 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 updatesv :updatesv cls echo Updating DayZ SA Server. timeout 1 >nul cls echo Updating DayZ SA Server.. timeout 1 >nul cls echo Updating DayZ SA Server... cd "%STEAM_CMD_LOCATION%" start /wait "" steamcmd.exe +login "%STEAM_USERNAME%" +force_install_dir %~dp0 +app_update 223350 validate +quit 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 -profiles=C:\Users\%USER%\Documents\DayZ -dologs -adminlog -netlog -freezecheck -noFilePatching -BEpath=C:\DayZ-SA_server\battleye FOR /L %%s IN (30,-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 --dsc goto checksv
  4. Agusanz

    [RELEASE]BEC for DayZ SA

    Put a file named BEServer.cfg on /battleye directory with ur rcon password and execute bec.exe- f Config.cfg --dsc
  5. Agusanz

    Whitelist for the server

    I got it working few hours later that day. Thanks! Btw.. BEC is a great way to configure a whitelist.. you should check that out @deep68 @xkrakenx
  6. Agusanz

    [RELEASE]BEC for DayZ SA

    Chance your paths, if you use c:\program files (x86) you will have spaces in the variable and other places.
  7. Agusanz

    [RELEASE]BEC for DayZ SA

    wait a minute... i tried with --dsc now and it connected. wtf. i swear i tried that some hours ago and didn't work.. my starter it's just a shortcut. It's named AZ_Start_Bec it's path is: C:\steamcmd\DayZ-sa_server\Bec\Bec.exe -f Config.cfg My batch would be Bec.exe -f Config Yours works without --dsc?
  8. Agusanz

    [RELEASE]BEC for DayZ SA

    Here you go, i tried to comment out the same stuff as yours to see if it was somekind of bug, but still doesnt work for me: http://www.mediafire.com/file/1vaweegf0susa67/Bec.zip 1.608 error: Meanwhile 1.496 with the same config.. WTF :( :
  9. Agusanz

    [RELEASE]BEC for DayZ SA

    Sadly, it doesnt work. I dont know why latest says server is not online while 1.496 connects..
  10. Agusanz

    [RELEASE]BEC for DayZ SA

    Damn.. it's not working for me. i had to use an older version. Do you mind uploading ur config.cfg?
  11. Agusanz

    [RELEASE]BEC for DayZ SA

    which version of Bec?
  12. Agusanz

    ADVICE AND GUIDANCE - POST TIPS HERE!

    Hey guys.. i want to know if someone have Bec latest version to work with their dayz sa server.. i tested versions 1.608, 1.597 and 1.496. The only one that i could make it work is 1.496, all of them with the same configuration. It doesn't make sense. i am missing something here.. Version 1.608 and 1.597 says that the response is invalid, meanwhile 1.496 works fine with the same config. Edit: Solved :D
  13. Agusanz

    Battleye Extendet Controls

    execute it as bec.exe -f Config.cfg --dsc
  14. Agusanz

    [RELEASE]BEC for DayZ SA

    Try this version: http://www.mediafire.com/file/k6nf7810n4pu9si/Bec.zip It's 1.496, latest doesnt work for me neither. Use this version of the script if you want to use DayZServer_x64.exe and Bec.exe @echo off TITLE DayZ SA Server - Status COLOR 0A :: Variables:: ::DayZServer_64.exe path set DAYZ-SA_SERVER_LOCATION="C:\steamcmd\DayZ-sa_server" ::Bec.exe path set BEC_LOCATION="C:\steamcmd\DayZ-sa_server\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 -profiles=C:\Users\%USER%\Documents\DayZ Server -dologs -adminlog -netlog -freezecheck -noFilePatching -BEpath=C:\steamcmd\DayZ-sa_server\battleye -cpuCount=4 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
  15. Agusanz

    [RELEASE]BEC for DayZ SA

    You're missing the point here. This is an script to prevent your server from random crashing. It keeps executing it so u can maintain it online. if you want to play with restarts, messages and scheduler.xml, you need to configure your Bec.exe Battleye Extended Controls and use it. Bec is a tool that connects to your server as admin and execute commands at set times (scheduler.xml..) http://ibattle.org/
  16. Agusanz

    [RELEASE]BEC for DayZ SA

    This one doesnt use SteamCMD and Bec, it should work: @echo off TITLE DayZ SA Server - Status COLOR 0A :: Variables:: ::DayZServer_64.exe path set DAYZ-SA_SERVER_LOCATION="C:\steamcmd\DayZ-sa_server" :::::::::::::: 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 loopsv cls echo Server is not running, taking care of it.. goto killsv goto startsv :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 DayZServer_x64.exe :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 -profiles=C:\Users\%USER%\Documents\DayZ Server -dologs -adminlog -netlog -freezecheck -noFilePatching -BEpath=C:\steamcmd\DayZ-sa_server\battleye -cpuCount=4 goto checksv
  17. Agusanz

    [RELEASE]BEC for DayZ SA

    Yeah.. it execute an auto-update via SteamCMD, DayZServer_x64.exe and Bec.exe, and then it keeps monitoring if DayZServer_x64.exe and Bec.exe are running each 30 seconds. That should do the trick for most of us
  18. Agusanz

    [RELEASE]BEC for DayZ SA

    I made some changes. It's just one .bat file now, hopefully this is useful to someone. @echo off TITLE DayZ SA Server - Status COLOR 0A :: Variables:: ::SteamCMD.exe path set STEAM_CMD_LOCATION="C:\SteamCMD" set STEAM_USERNAME="anonymous" ::DayZServer_64.exe path set DAYZ-SA_SERVER_LOCATION="C:\steamcmd\DayZ-sa_server" ::Bec.exe path set BEC_LOCATION="C:\steamcmd\DayZ-sa_server\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 updatesv :updatesv cls echo Updating DayZ SA Server. timeout 1 >nul cls echo Updating DayZ SA Server.. timeout 1 >nul cls echo Updating DayZ SA Server... cd "%STEAM_CMD_LOCATION%" start /wait "" steamcmd.exe +login "%STEAM_USERNAME%" +force_install_dir %~dp0 +app_update 223350 validate +quit 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 -profiles=C:\Users\%USER%\Documents\DayZ Server -dologs -adminlog -netlog -freezecheck -noFilePatching -BEpath=C:\steamcmd\DayZ-sa_server\battleye -cpuCount=4 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
  19. Agusanz

    Dedicated Server - How much slots ?

    Probably 30 without problems. MAYBE 60 if you're OK with a lil bit of lag
  20. Agusanz

    more server ports?

    Check your battleeye path launch command
  21. Agusanz

    BEC for DayZ SA

    You're talking about Bec config.cfg? It makes no changes.. still the same error. (I did it that way because of the example)
  22. Agusanz

    more server ports?

    My server is up, working with Dart and showing at the community list using 2302 TCP/UDP..
  23. Agusanz

    BEC for DayZ SA

    16:47:17 : No Valid response. Trying to reconnect.! 16:47:21 : No Valid response. Trying to reconnect.! 16:47:25 : No Valid response. Trying to reconnect.! 16:47:29 : Lost Connection! 16:47:29 : Closing socket & exiting! This is all i get.. :( it doesnt make sense.. path looks correct, my server is up, i can connect via dart Launch Dayz: C:\steamcmd\DayZ-sa_server\DayZServer_x64.exe -config=serverDZ.cfg -port=2302 -profiles=C:\Users\%USER%\Documents\DayZ Server -adminlog -netlog -freezecheck -noFilePatching -BEpath=C:\steamcmd\DayZ-sa_server\battleye -cpuCount=8 Launch Bec: C:\steamcmd\DayZ-sa_server\Bec\Bec.exe -f Config.cfg --dsc Bec Config: # This config file is only provided as an example file. # Edit it to sute your needs. # For more info on how to edit this file. use the Readme.txt file or visit http://www.ibattle.org/install-and-configure #-------------------------------------------------------------------------------------------------------- [Bec] #-------------------------------------------------------------------------------------------------------- # Set the ip to your server. normally 127.0.0.1 will be fine. Ip = 127.0.0.1 # Set the port to the server. default port is 2302 Port = 2302 # Set the path to the BattlEye directory that is currently in use by the server. BePath = C:\steamcmd\DayZ-sa_server\battleye # Set the path to your Admins.xml file containing your admins. Admins = Admins.xml # Set the path to your Commands.xml file. Commands = Commands.xml #-------------------------------------------------------------------------------------------------------- [Misc] #-------------------------------------------------------------------------------------------------------- # Auto run loadbans when ban file(s) changes. # 1 or True will turn it on. # 0 or False will turn it off. # If this parameter is not defined it will use False as default. AutoLoadBans = True # Set which type of hacks that will be added to your banlist. # 0 = none. 1 = GameHack. 2 = Battleye Hack. 3 = both GameHack & Battleye Hack. # value 3 is set as default if this parameter is not defined. Ban = 3 # Set the names of your custom ban files, Separate each file with "," (comma): file1.txt, banfile2.txt, newfile.txt # If you do not use any custom ban files. delete this option or leave this option commented. # This option will check ban files for changes and automatic do a loadbans file when a file gets changed # Do not specify the default bans.txt file here. ##BeCustomBanFiles = Bans1.txt, file2.txt, file3.txt # Set the height & width of Becs console window ConsoleHeight = 45 ConsoleWidth = 135 # Only allow english chars. AsciiNickOnly = False # Only allow english chars to be typed on the chat. Note, Warnings must be enabled. 0 or more. AsciiChatOnly = True # If AsciiChatOnly is set True. you can define none english chars that will be accepted. # You separate each char with a , "note you need to define lower and upper case of the chars." IgnoreChatChars = €,£,æ,Æ,ø,Ø,å,Å,ö,ä,ü,ß # Set the amount of warnings a player will get before kicked. -1 is disabled. 0 instant kick # 1 == one warning on a bad word. next bad word results in kick Warnings = 3 # Kick players who has listed chars in their name when they connect DisallowPlayerNameChars = []{}()0123456789 # Min length, kicks players who has to short name when they connect. MinPlayerNameLength = 3 # Max length, kicks players who has to long name when they connect. MaxPlayerNameLength = 16 # Set the name of your Arma3server.exe if it has been renamed from arma3server.exe to something else! # if the exe has its original name. comment it out. # DO NOT SET FULL PATH TO THE EXE FILE ServerExeName = DayZServer_x64.exe # Set path to the file containing a list of bad words. Note, Warnings must be enabled. 0 or more. WordFilterFile = BadWords.txt # Set the path to the file containing whitelisted guids. WhiteListFile = WhiteList.txt # Set custom whitelist kick message. Text must be in ascii letters. MAX 58 CHARS. BE only does ascii on messages WhiteListKickMsg = You are not whitelisted on this server. # Kick people with offensive names NickFilterFile = BadNames.txt # Set the path to the Scheduler.xml file. #Scheduler = Scheduler.xml # Kick people who are idleing in the lobby, kick will happen after given time, Min time is 90 sec. use 0 to disable this function. KickLobbyIdlers = 90 # If enabled. Bec will create separate chat files for each channel along with the main file. #ChatChannelFiles = false # Set the amount of Normal players who can connect. Set it to -1 to disable it. # If set to 0 it means only players who are listed in the Admins.xml, (or whatever you call it) will be able to connect to the server. # Quick Example 1: server can holed 50 players. and you want to reserve 5 slots for admins. then set SlotLimit to 45. # Quick Example 2: server can holed 50 players. and you want to reserve 5 slots for admins and 5 slots for friends. then set SlotLimit to 40, # AND edit your admins.xml. ADD in all your frineds guid and remaining data, put them in group example 100. or whatever you feel likt. # by using this method you can give some of your friends some access to some commands if you like or none. # in general this is works like .Whitelisting X player slots for admins and friends, while leaving the remaining Y slots for public. SlotLimit = -1 # Set the message people will get when they try to connect and is not whitelisted. Text must be in ascii letters. SlotLimitKickMsg = The Server has reached its player limit. # The amount of time Bec will wait for the server to start up. Timeout = 30 #-------------------------------------------------------------------------------------------------------- [Reporter] #-------------------------------------------------------------------------------------------------------- # Reporter account. Fill in the username and password for your reporter account. # GameHacks, BattlEye Hacks will be reported to a database. all players who connect will also be checked against this database. # Set the Username for your account #User = Agusanz # Set the Password for your account #Password = 123456 #-------------------------------------------------------------------------------------------------------- [ChatRestriction] #-------------------------------------------------------------------------------------------------------- # Set max amount of chat lines a player is allowed to send for each channel. # Going passed the number will result in kick. -1 is disabled, 0 instant kick. # If the number is higher than 0 players will be sent warnings. Lobby = 30 Global = 5 Side = 7 Group = 9 Vehicle = 11 Command = 13 Commander = 15 Direct = 17 #-------------------------------------------------------------------------------------------------------- [ChatSpam] #-------------------------------------------------------------------------------------------------------- # Set max amount of chat lines per channel allowed within given time frame. # Set the values to 0 to disable this function(s) # Quick Example: # Lobby = 5 # Lobby_Time_Lower = 10 # Lobby_Time_Upper = 15 # If the time between each new chatlines from a player is less than CHANNEL_Time_Lower the spam counter increases by + 1. # Consider the CHANNEL (Lobby) as the spam counter. # When a player has (CHANNEL - 1) in spam counting. a warning will be sent to whom it may concern. # If the time between each new chatline from the player is Greater than CHANNEL_Time_Lower and Less than CHANNEL_Time_Upper the spam counter stay as it is. # If the time since the last chatline is greater then CHANNEL_Time_Upper the spam counter is reset to 1. # To get optimal result play around a bit with the values on your server. Lobby = 0 Lobby_Time_Lower = 0 Lobby_Time_Upper = 0 Global = 0 Global_Time_Lower = 0 Global_Time_Upper = 0 Side = 0 Side_Time_Lower = 0 Side_Time_Upper = 0 Group = 2 Group_Time_Lower = 1 Group_Time_Upper = 3 Vehicle = 0 Vehicle_Time_Lower = 0 Vehicle_Time_Upper = 0 Command = 0 Command_Time_Lower = 0 Command_Time_Upper = 0 Commander = 0 Commander_Time_Lower = 0 Commander_Time_Upper = 0 Direct = 0 Direct_Time_Lower = 0 Direct_Time_Upper = 0
  24. Agusanz

    BattlEye Launch options

    Hey! Something must be wrong with port forwarding, i cant connect to ur server via dart or dayz client.. it doesn't appear on community server list. Also, i use -config=serverDZ.cfg without the quotes and it works just fine, i dont know if it works with them on it... Everything else looks fine to me
×