Pheenix89 12 Posted August 8, 2012 i also noticed that if i changeprofile=cfgdayzto something else i.eprofile=\cfgdayz\users\cfgdayzI will get an battleye initialization failed when i try to start the server.. what does the profile have to do with battleye? :/ Share this post Link to post Share on other sites
ryahn 112 Posted August 8, 2012 (edited) It sounds like that yes. I will have to look into it.Also updated the tool to include cpu priority v1.33Also could you submit that to the issue tracker? http://code.google.c...gma/issues/listi also noticed that if i changeprofile=cfgdayzto something else i.eprofile=\cfgdayz\users\cfgdayzI will get an battleye initialization failed when i try to start the server.. what does the profile have to do with battleye? :/You need to remove the forward slash from \cfgdayz\users\cfgdayz. So it should look like cfgdayz\users\cfgdayzThe system is setup to CD to the directory that your arma 2 oa is installed in. Edited August 8, 2012 by Ryahn Share this post Link to post Share on other sites
Pheenix89 12 Posted August 8, 2012 (edited) I tried with and without slash different folders, it still doesnt read my profile. i even copied the profile to all folders: cfgdayz, cfgdayz\Users, cfgdayz\users\cfgdayz, arma 2 operation arrowhead Edited August 8, 2012 by Pheenix89 Share this post Link to post Share on other sites
ryahn 112 Posted August 8, 2012 The profile is usually set to cfgdayz. This will set the folders inside as follows Users\cfgdayz. There should be no need to set it any further than cfgdayz. If you want to change the name of where it saves, you just need to change -name=SE6 or whatever Share this post Link to post Share on other sites
Pheenix89 12 Posted August 8, 2012 Still, what does the profile have to do with BE? i mean we already specified that folder in#Locationsberoot2=SET beroot="Z:\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEye"its like its looking for \BattlEye folder in profile= and not for a .ArmA2OAProfile file Share this post Link to post Share on other sites
ryahn 112 Posted August 8, 2012 beroot2=SET beroot="Z:\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEye"This is for log rotations. Your profile is set for when the server runs.%beroot2%set firstline=New Line %dtStamp%mkdir %beroot%\OldLogs\%dtStamp%\copy %beroot%\scripts.log %beroot%\OldLogs\%dtStamp%\scripts.logdel /Q /F %beroot%\scripts.logecho %firstline% > %beroot%\scripts.logThe profile is set herestart %priority% Expansion\beta\arma2oaserver.exe -beta=Expansion\beta;Expansion\beta\Expansion -mod=Expansion\beta;Expansion\beta\expansion;ca;@dayz;@hive %ipserv% %port% %name% %config% %cfg% %profile% %world% %cpu% %threads% %pid% %nocb% %maxmem% %nosound% Share this post Link to post Share on other sites
Pheenix89 12 Posted August 8, 2012 (edited) My normal server start .bat file looks like this:/High Expansion\beta\arma2oaserver.exe -mod=EXPANSION\beta;EXPANSION\beta\Expansion;EXPANSION;ca;@dayz;@hive -ip=***.***.224.154 -port=2302 -profiles=cfgdayz -config=cfgdayz\server.cfg -cfg=cfgdayz\arma2.cfg -name=SE56 -world=Chernarus -cpuCount=4 -exThreads=1 -noSound -maxMem=2047 -noCBif i start with that my difficulty will be veteran as specified in server.cfgand in your config:# Dayz Configurationsname=-name=SE56config=-config=cfgdayz\server.cfgcfg=-cfg=cfgdayz\arma2.cfgprofile=-profiles=cfgdayzipserv=-ip=***.***.224.154port=-port=2302world=-world=Chernaruscpu=-cpuCount=4threads=-exThreads=1#What ever is set here, Must be set at pidfilepid=-pid=Z:\tools\pid\pid.txtnocb=-noCBmaxmem=-maxMem=2047nosound=-noSound#Priority for server|Can be set with - Realtime, High, AboveNormal, Normal, BelowNormal, Lowpriority=/HighWhich should be exactly the same;My server shows as difficulty: recruit Edited August 8, 2012 by Pheenix89 Share this post Link to post Share on other sites
ryahn 112 Posted August 8, 2012 Its weird. Its running fine on both of my servers. I have my server.cfg set to regular and it reflects it in game. Is your server using the new or old difficulty file? Share this post Link to post Share on other sites
Pheenix89 12 Posted August 8, 2012 Im not sure, would you mind posting the contents of a new difficulty file? Share this post Link to post Share on other sites
Pheenix89 12 Posted August 8, 2012 Ok i dont know how or why it happend and or what it did, my server had created like 5x folders With users: BattlEye, SE56 and cfgdayz so i had the same files in 5 different locations dunno if it messed up a CD somewhere but in the last 4 folders the ArmA2OAProfile files were empty. I removed all the folders that shouldnt be there, its really ConfusingIt created user folders in:Z:\cfgdayz\users\cfgdayz\users\arma2oa\cfgdayz\users\cfgdayz\users\cfgdayz\users\cfgdaysarma2oa\cfgdays\users\SE56\users\SE56\usersi think the Z:\ folder was created when i changed it to cfgdays\users in your config if i look at the time the folder was last changed~still cant get it to work with ur tool Share this post Link to post Share on other sites
Pheenix89 12 Posted August 8, 2012 (edited) Ok dude, im really sorry for an iinconvenience i may have caused, i realized it says recruit until someone has joined the server, so everytime i started with your tool there wasnt anyone in lobby yet. Everytime i started with .bat file there was always at least one there before i got to check. I feel really stupid. (o_o)Edit: FYI Im using your tool now and its running flawless. Edited August 8, 2012 by Pheenix89 Share this post Link to post Share on other sites
tyler@tytanis.com 28 Posted August 8, 2012 Release the source code.https://www.virustotal.com/file/69040e8de88c312b56b4d51ebfe8c3ef5c3d3da94f6068e47bda7dbdd84cb563/analysis/1344462866/ Share this post Link to post Share on other sites
ryahn 112 Posted August 8, 2012 I am not releasing the source code. The only reason why it would be picked up as a possible virus is because it uses the taskkill and start commands in batch. Share this post Link to post Share on other sites
ryahn 112 Posted August 9, 2012 Currently working on make the crash part of the script more versatile in detecting on when the server crashes. Share this post Link to post Share on other sites
Pheenix89 12 Posted August 9, 2012 Still running flawless for me, it has restarted my server 2 times since yesterday, just as it is scheduled to do. Share this post Link to post Share on other sites
juhaownn 0 Posted August 9, 2012 Where i can find the Pid?? And where i find the line where i can configure the Auto restart?? :Dregards Share this post Link to post Share on other sites
ryahn 112 Posted August 9, 2012 (edited) Where it showspid=-pid=C:\tools\pid\pid.txYou will need to make sure you have the folders setup to that location. Do not make the text file as this is created by the server when its running.To configure it to auto restart, you will use BEC. You will need to setup the scheduler.xmlHere is part of mine<?xml version="1.0"?><Scheduler><!--*** INTERNAL COMMANDS ***--><!-- Show text ingame after 10 min with loop enabled --><job id="1"><time>000600</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>say -1 Server restarts every day at 1AM, 7AM, 1PM and 7PM</cmd><cmdtype>0</cmdtype></job><!-- Restart/Log Rotation 1AM--><job id="4"><time>01:00</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>C:\tools\servertools.exe</cmd><cmdtype>1</cmdtype></job><!-- Restart/Log Rotation 7AM--><job id="5"><time>07:00</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>C:\tools\servertools.exe</cmd><cmdtype>1</cmdtype></job><!-- Restart/Log Rotation 1PM--><job id="6"><time>13:00</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>C:\tools\servertools.exe</cmd><cmdtype>1</cmdtype></job><!-- Restart/Log Rotation 7PM--><job id="7"><time>19:00</time><day>1,2,3,4,5,6,7</day><loop>1</loop><cmd>C:\tools\servertools.exe</cmd><cmdtype>1</cmdtype></job></scheduler>The job id="#" must be in order. Mine isnt as shown, as I am just showing examples of it. Edited August 9, 2012 by Ryahn Share this post Link to post Share on other sites
juhaownn 0 Posted August 9, 2012 My DayZ Server doesnt crate an PiD o.O Share this post Link to post Share on other sites
pepperkorn@gmail.com 94 Posted August 9, 2012 you can tell it to in the server.cfg i believe Share this post Link to post Share on other sites
ryahn 112 Posted August 9, 2012 My DayZ Server doesnt crate an PiD o.OYou need to make sure the pid=-pid=C:\tools\pid path is created. If neither of the folders are made, it wont work.you can tell it to in the server.cfg i believeNot in the cfg. Its in the start up parameters. Like -ip, -port etcI am currently building an installer to install the files and create the folders Share this post Link to post Share on other sites
juhaownn 0 Posted August 9, 2012 Hmmm.. i dont know, Bec closes after launch.. I schould Start the Server before or after?? :D Share this post Link to post Share on other sites
juhaownn 0 Posted August 9, 2012 This is my .cfg You know why it Crashes?# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ## Example Config file for Bec.# Everything is disabled by default# Enable/disable a parameter by Comment/Uncomment it with a ## You can also delete all parameters that are not in use.# If you are unsure how to configure this file read the online docs.# http://ibattle.org/install-and-configure/#####################################################[Bec]Ip = 127.0.0.1Port = 2302BePath = E:\Steam\SteamApps\common\arma 2 operation arrowhead\cfgdayz\BattlEyeLogDir = MyServer1Admins = Admins.xmlCommands = Commands.xml####################################################### Optional settings for misc functions[Misc]#AsciiNickOnly = True#AsciiChatOnly = True#IgnoreChatChars = £æøåServerExeName = arma2oaserver.exe#NickFilterFile = BadNames.txt#WordFilterFile = BadWords.txtWarnings = 3Color = 0cTimeout = 40KickLobbyIdlers = 300Scheduler = Scheduler.xml#MaxPlayerNameLength = 18#DisallowPlayerNameChars =#ChatChannelFiles = true####################FloodControl1 = 5# Or#FloodControl2 = 5#FloodSampleTime = 5#FloodLockTime = 10########################################################################## Optional settings related to Chat restriction#[ChatRestriction]#Global = 3Side = -1Group = -1Vehicle = -1#Command = -1#Commander = -1Direct = -1####################################################### Optional settings related to Reporting function#[Reporter]#User = Donald Duck#Password = 313###################################################### Optional settings related to Heartbeat#[Heartbeat]#BanFile0 = E:\Steam\SteamApps\common\arma 2 operation arrowhead\cfgdayz\BattlEye\bans.txt#BanFile1 = Share this post Link to post Share on other sites
ryahn 112 Posted August 9, 2012 Your IP should be the IP of which everyone connects to. Also with -1 being enabled on the chats, it means to disable them.I have included mine to help compare# Config file for Bec.# Enable/disable a parameter by Comment/Uncomment it with a ## You can also delete all parameters that are not in use.# If you are unsure how to configure this file read the online docs.# http://ibattle.org/install-and-configure/#Replace the exe file[Bec]Ip = XXXXXPort = 2302BePath = C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEyeLogDir = XXXXAdmins = Admins.xmlCommands = Commands.xml## Optional ##[Misc]#AsciiNickOnly = TrueAsciiChatOnly = True#IgnoreChars = £æøåServerExeName = arma2oaserver.exeNickFilterFile = BadNames.txt#WordFilterFile = BadWords.txtWarnings = 3Color = 0a#Timeout = 40#FloodControl = 6#KickLobbyIdlers = 300Scheduler = Scheduler.xml#MaxPlayerNameLength = 18#DisallowPlayerNameChars = [](){}<>/\^¨|§!"'#¤%&@£$€## Optional ## -1 is same as disabled#[ChatRestriction]#Global = -1#Side = -1#Group = -1#Vehicle = -1#Command = -1#Commander = -1#Direct = -1## Optional ##[Reporter]User = iReporterPassword = XXXXXXX Share this post Link to post Share on other sites
juhaownn 0 Posted August 9, 2012 I need to start the Server first??regards Share this post Link to post Share on other sites