ryahn 112 Posted August 3, 2012 (edited) I have been looking for a decent script or program to do server restarts and log rotations with ease but could never find one to suite my needs. So I decided to make my own and its based off the ideas of some current scripts already currently out there which I will give credit to in my work. The only down side to this, is that its only for dedicated servers only and I have no plans to make it available to managed servers. I will however be allowing server host companies use my program once its in full release. This script will not be in batch file form and will be in .exe.Looking ForNeed a Joomla Dev/Expert (Free**)Batch & Python Programmer (Free**)VB Programmer (Free**)Graphic Designer (Free - just need some small odd jobs)Wiki Expert - Mediawiki perferably (Free**)**This is free until I decide to start to make a premium product out of it. I do plan on making more than one piece of software and eventually one to support multiple games.Interested people may PM, skype or email me with what they are intermediate/expert on.Required programs: BEC (Battleye Extended Controls)FeaturesRestart ServerRotate LogsHeart BeatAnti-CrashCrash ReportsProcess PriorityCustom PathsTO-DOAdd the ability to add custom wildcardsAdd specify log rotation folderAdd addon boot programsMake crash reports more informativeBUG LIST/Issueshttp://www.gameboxtools.com/issues/Little FAQQ: What is a heart beat?A: Think of the human heart. If someone wants to see if your alive, they check for a pulse. The same since is applied to servers. In my case, I use the "-pid=" argument in my server config. This allows you to run multiple servers.Q: Anti-Crash? What?A: Yes you hear right. There is an issue at times that popular servers like to crash or get the server has stopped responding. This means server owners have to RDP into their dedicated and restart it by hand.Q: Why BEC? Why make it require?A: Answer is pretty straight forward. BEC has everything already setup to what I was going to add to my script. You can schedule when you want things to run. You may use windows schedule tasks but this is way easierCredits:Stian Mikalsen (Maker of BEC): He as been a great help in helping me figure out how work BEC to its fullest. Once I have his permission, I will me packaging BEC in with my program.Adam McKissock: Made the log rotation part of my script and troubleshooting since I am still a n00b to him.R4Z0R49: The inspiration to make this program and had permission to use some of his to give me a good working ground.Shawn-Dante: Because he is a ninja with LegecyDomiStyle: For the rcon toolDisclaimer: I am not liable if this program causes files to delete, go missing or corrupt. You have been warnedCopyright: This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License. To view a copy of this license, visit http://creativecommo...-nc-sa/3.0/us/. Download vA1.52.3 HOTFIX 157 - Link Edited September 1, 2012 by Ryahn 15 Share this post Link to post Share on other sites
inch 40 Posted August 3, 2012 I'd be willing, if i could look over the source code. Share this post Link to post Share on other sites
ryahn 112 Posted August 3, 2012 I'd be willing, if i could look over the source code.At this moment, I probably wont let anyone look over the source code until I know its safe to release it. I am still having some issues with it wanting to have seizures. And by seizures, I mean open 30 windows at once e_e. Share this post Link to post Share on other sites
Guest Posted August 3, 2012 Great job, Ryahn! Have MAH BEEEEEEANZ!Also, added to the sticky :) Share this post Link to post Share on other sites
pepperkorn@gmail.com 94 Posted August 3, 2012 At this moment, I probably wont let anyone look over the source code until I know its safe to release it. I am still having some issues with it wanting to have seizures. And by seizures, I mean open 30 windows at once e_e.Hey Ryahn, I'd be willing to test it for you now that I have my dedicated box running. Shoot me a skype message! Share this post Link to post Share on other sites
ryahn 112 Posted August 3, 2012 Hey Ryahn, I'd be willing to test it for you now that I have my dedicated box running. Shoot me a skype message!Will do. I just got all my stuff back from Hawaii. So I am unpacking and then get back to programming again ^_^ Share this post Link to post Share on other sites
ryahn 112 Posted August 3, 2012 Update: This will not have a GUI present at this time. Everything will be managed with a config.cfg. In later versions there will possibly be a GUI. Share this post Link to post Share on other sites
ryahn 112 Posted August 3, 2012 Download Link?I will update it once I figure out this multi-window bug. Also please remember, this is for dedicated servers only Share this post Link to post Share on other sites
paronity 83 Posted August 3, 2012 Awesome. I am working on one in C# right now as well. It's nice to see so many people trying to make these servers manageable.I built this one to have a web api as well. I'll test this out for though if you want. The more tools we have, the better off we will be. I didn't use BEC in mine though, I wrote my own RCON wrapper using teh dll that is floating around here. http://img.paronity.com/IW3YWe can kick, ban, and message from the web as well as trigger restarts, modify the auto-restart configs and such as well. Let me know if you need any other help figuring it out. What are you writing it in? 1 Share this post Link to post Share on other sites
ryahn 112 Posted August 3, 2012 I started to write it in PHP and javascript but changed to batch and powershell. I am still awaiting permission to use BEC source code within mine to make it an all in one. Share this post Link to post Share on other sites
ryahn 112 Posted August 8, 2012 Its finally here. It is still a little buggy. I have included an online read me and text file. Please make sure you read them before messing with the config file. Share this post Link to post Share on other sites
Pheenix89 12 Posted August 8, 2012 Wow.. im trying this out, ima give you feedback as soon as i tested it. Share this post Link to post Share on other sites
ryahn 112 Posted August 8, 2012 Uploaded v1.31. There was a parameter I missed for killing the server. This one now includes it. Share this post Link to post Share on other sites
Pheenix89 12 Posted August 8, 2012 Hey man just wondering, "PID must be same as in startup parameter", cant find PID in mine.. is it Profile ID / -name ? ex, SE56? Share this post Link to post Share on other sites
ryahn 112 Posted August 8, 2012 Once you set your pid file location that includes the text file. You will need to set the same location in the pidfile but without the file. EX C:\tools\pid not C:\tools\pid\pid.txtAlso, you use the servertools.exe to start the server and the heartbeat.exe with watch to make sure its running and its not crashed Share this post Link to post Share on other sites
Pheenix89 12 Posted August 8, 2012 Hmm i still dont get it, PID is not something that currently exists in my server / server folders, it's something i create for this, am i correct? Share this post Link to post Share on other sites
ryahn 112 Posted August 8, 2012 The pid folder you will have to create where you point the pid parameter to. Once it runs, it will create a pid.txt that heartbeat.exe will check for. This same file is also used to pull the PID number to kill that specific process. I have plans to be able to have this run with multiple servers. I have also made it to where BEC can be ran multiple times. Share this post Link to post Share on other sites
Pheenix89 12 Posted August 8, 2012 Could you also include -noCB, -maxMem & -noSound in # Dayz Configurations ? Share this post Link to post Share on other sites
ryahn 112 Posted August 8, 2012 Could you also include -noCB, -maxMem & -noSound in # Dayz Configurations ?I will go ahead an add this right now. I will post when I have it doen Share this post Link to post Share on other sites
Pheenix89 12 Posted August 8, 2012 (edited) Awesome.. so my config file is looking like this:#Please read the readme.txt before messing with these settings.#Title of Programtitleserv=SE 56 Log Rotation#Locationsberoot2=SET beroot="Z:\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEye"startdayz=SET dayz="Z:\Steam\steamapps\common\arma 2 operation arrowhead"LID=8****pidfile=Z:\tools\pidinstall=Z:\tools\ryahn_STS#Required File Names To Be Killedbeckill=Bec.exeheartkill=heartbeat.exe#Custom Task Kills#task1 //Cannot be used until next release#task2 //Cannot be used until next release#task3 //Cannot be used until next release#task4 //Cannot be used until next release#task5 //Cannot be used until next release#task6 //Cannot be used until next release#task7 //Cannot be used until next release#Timout Settings (All times are in SECONDS)timetask=2timelog=5timebec=18timewarm=5timerunning=45timereset=5# Dayz Configurationsname=cfgdayzconfig=cfgdayz\server.cfgcfg=cfgdayz\arma2.cfgprofile=cfgdayzipserv=***.***.224.154port=2302world=Chernaruscpu=4threads=1#What ever is set here, Must be set at pidfilepid=Z:\tools\pid\pid.txt# Becbecpath=Z:\tools\becbeccfg=DayZ.cfg#What ever is set here, must be set in beckillbecexe=Bec.exeand my tools folder look like this:Should work right? Edited August 8, 2012 by Pheenix89 Share this post Link to post Share on other sites
ryahn 112 Posted August 8, 2012 Yes. I have made a few changes to the config file to make a little more friendly. Instead of just show cpu=4 it has now changed to cpu=-cpuCount=4If anyone needs help with setting anything up, let me know Share this post Link to post Share on other sites
Pheenix89 12 Posted August 8, 2012 If its not too much to ask id also like an option to choose task priority i.e HIGH / REALTIME with that this tool will be perfect for me. Share this post Link to post Share on other sites
ryahn 112 Posted August 8, 2012 I can add a setting to where you can change it to what process priority it runs at. Should this just be for the tools or for dayz server or both? Share this post Link to post Share on other sites
Pheenix89 12 Posted August 8, 2012 (edited) for arma2oaserver.exe preferably.I have one issue.. it seems it's not reading my profile correctly.. it reads the server.cfg and arma2.cfg but my difficulty is left at recruit, i have it set to veteran in my server cfg, so it should be a profile reading issue right? Edited August 8, 2012 by Pheenix89 Share this post Link to post Share on other sites