Jump to content
  • 0

Setup auto restarts on HFB...?


tkdmaster

Question

Hey! Finally decided to post on here sicne I've been pounding my head on my keyboard for days trying to get this to work with no luck. anyone know an easy way to get scheduled restarts going on HFB servers?! I tried through the scheduler system, followed vilayer's tutorial on how to do it, since it has the same interface, and it just simply does not work.

 

I tried setting it so the restart would go off at midnight the next day, but it just goes off immediately upon saving it instead, same for all other restart points I've set.

 

I've read battleye can do this for me, but i'd have to make some sort of .bat file to make it work, and I honestly got no idea how the file paths i'd have to put in the scheduler to make that work either..someone, anyone, allittle help please?

Link to comment
Share on other sites

Recommended Posts

  • 0

HFB did some sort of supposed "upgrade" to the server manager page the other day, and now its completely broke. Restarts via scheduler never go off, regardless of what time you set them to...

 

anyone got any ideas of what todo to fix this? Or any work around?

Link to comment
Share on other sites

  • 0

I was having this issue as well, and after 3 days of waiting for them to respond I changed in the hive.ini time from static to custom and redid all my events and havn't had an issue with restarts since.

Hm, sorry for the noob question, but what exactly does chaning the time to custom do? i'm not terribly familiar with all the configs sadly...

 

EDIT: I tried putting it to Custom like you said and remade my Scheduled Restarts in the control panel, still no dice...did I do something wrong/or miss somehting I need to do?

Link to comment
Share on other sites

  • 0

I think I see (maybe) the problem with HFB and the scheduler. In the ini file it references this:

# Set the path to the Scheduler.xml file.
Scheduler = Scheduler.xml

while the file itself is "scheduler.xml" on the server. I don't know if case sensitivity matters here but I'm testing it now myself.

Link to comment
Share on other sites

  • 0

Well i use hfb too and i just use the bec scheduler thing to restart server with and it works fine.. i do hate the hfb support cus its always like 3 - 5 days for an answer... ;(

Last I read, doesn't restarting via the #restart bec command not cause vehicles to respawn, since it's not a proper server shutdown/startup?

Link to comment
Share on other sites

  • 0

I think I see (maybe) the problem with HFB and the scheduler. In the ini file it references this:

# Set the path to the Scheduler.xml file.
Scheduler = Scheduler.xml

while the file itself is "scheduler.xml" on the server. I don't know if case sensitivity matters here but I'm testing it now myself.

Have any luck with this? curious to see if this will fix it!

Link to comment
Share on other sites

  • 0

I'm waiting now for my first set of spam messages (they are every 75 minutes). I'll post up as soon as they either render or don't. This has to be it because I didn't do anything to the servers and they stopped working on their own after this 'upgrade'.

Link to comment
Share on other sites

  • 0

I'm waiting now for my first set of spam messages (they are every 75 minutes). I'll post up as soon as they either render or don't. This has to be it because I didn't do anything to the servers and they stopped working on their own after this 'upgrade'.

My problem is not with BEC scheduler messages, they show up like usual "10 min restart" 5 min, and so on, but the restart itself never kicks off from the "Scheduled Tasks" in the main HFB control panel.

Link to comment
Share on other sites

  • 0

Nope it did not work. This is pissing me off too, I've tried everything to get it back working. Grrr

Same...I finally got an email from HFB about this, but all they said was "it was being escalated to a higher tech support rep. and to keep waiting...lol

Link to comment
Share on other sites

  • 0

Just an update: I fixed this on both my servers last night. They restarted correctly but it stopped working again on it's own on one of the servers for this morning's scheduled restart. Oi vey, I wish I had the bandwidth to do this from home.

Link to comment
Share on other sites

  • 0

Just an update: I fixed this on both my servers last night. They restarted correctly but it stopped working again on it's own on one of the servers for this morning's scheduled restart. Oi vey, I wish I had the bandwidth to do this from home.

What did you do to get it fixed?

Link to comment
Share on other sites

  • 0

I have no idea. I pulled down the BEC folder and reuploaded everything and restarted. I didn't make any edits to anything, just rewrote it to the server while it was stopped. That seemed to fix both servers but one stopped working again on it's own.

Link to comment
Share on other sites

  • 0

That's the only black mark on them as hosts. I love their panel, their servers are solid, but damn they take forever to reply. BTW, still have not been able to fix the one server to restart. Tonight when the server pop goes down I'm going to reinstall BEC, see if that does it.

Link to comment
Share on other sites

  • 0

That's the only black mark on them as hosts. I love their panel, their servers are solid, but damn they take forever to reply. BTW, still have not been able to fix the one server to restart. Tonight when the server pop goes down I'm going to reinstall BEC, see if that does it.

Have any luck with reinstalling~?

Link to comment
Share on other sites

  • 0

OMG, I finally figured it out! This was REALLY pissing me off but this is how you fix it...

 

Go into your battleye folder and make sure your beserver.cfg has the settings you want. Next delete the BEServer_active_XXXX.cfg and let the server create you a new one by restarting.

 

Yeah it's really that simple and it instantly fixed both my servers.

Link to comment
Share on other sites

  • 0

OMG, I finally figured it out! This was REALLY pissing me off but this is how you fix it...

 

Go into your battleye folder and make sure your beserver.cfg has the settings you want. Next delete the BEServer_active_XXXX.cfg and let the server create you a new one by restarting.

 

Yeah it's really that simple and it instantly fixed both my servers.

Awesome! Glad this worked out for ya! As a note, are you restarting via the control panel scheduler? Or battleye #restart command?

Link to comment
Share on other sites

  • 0

I'm letting BEC handle the restarts completely. It ran perfectly all night too so it looks like the issue was solved.

any chance i could get your BEC config for the restarts? I'm quite the nub when it comes to setting that stuff up....XD But I'm learning, slowly! :D

Link to comment
Share on other sites

  • 0

Here's a copy of mine:

<Scheduler>

<!--Restart (00:00)-->

<job id="1">
<time>23:30:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 30 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="2">
<time>23:45:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 15 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="3">
<time>23:50:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 10 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="4">
<time>23:50:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Get to safety and hide vehicles !</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="5">
<time>23:55:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 5 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="6">
<time>23:55:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 You run the risk of losing gear if you don't disconnect !</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="7">
<time>23:59:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 1 minute!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="8">
<time>23:59:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Log out now, you might lose gear !</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="9">
<time>00:00:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>

<!--Restart (06:00)-->

<job id="10">
<time>05:30:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 30 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="11">
<time>05:45:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 15 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="12">
<time>05:50:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 10 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="13">
<time>05:50:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Get to safety and hide vehicles !</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="14">
<time>05:55:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 5 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="15">
<time>05:55:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 You run the risk of losing gear if you don't disconnect !</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="16">
<time>05:59:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 1 minute!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="17">
<time>05:59:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Log out now, you might lose gear !</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="18">
<time>06:00:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>

<!--Restart (12:00)-->

<job id="19">
<time>11:30:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 30 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="20">
<time>11:45:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 15 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="21">
<time>11:50:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 10 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="22">
<time>11:50:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Get to safety and hide vehicles !</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="23">
<time>11:55:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 5 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="24">
<time>11:55:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 You run the risk of losing gear if you don't disconnect !</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="25">
<time>11:59:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 1 minute!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="26">
<time>11:59:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Log out now, you might lose gear !</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="27">
<time>12:00:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>

<!--Restart (18:00)-->

<job id="28">
<time>17:30:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 30 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="29">
<time>17:45:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 15 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="30">
<time>17:50:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 10 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="31">
<time>17:50:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Get to safety and hide vehicles !</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="32">
<time>17:55:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 5 minutes!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="33">
<time>17:55:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 You run the risk of losing gear if you don't disconnect !</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="34">
<time>17:59:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restart in 1 minute!</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="35">
<time>17:59:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Log out now, you might lose gear !</cmd>
<cmdtype>0</cmdtype>
</job>

<job id="36">
<time>18:00:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>#shutdown</cmd>
<cmdtype>0</cmdtype>
</job>

</Scheduler>

 

This one is set up on a 6 hour restart schedule with a couple of nag warnings as you get really close. Feel free to edit as you wish, it should give you a really good template to follow.

 

If you want to add nag messages every so often here's more you can add:

<!-- show text ingame every 75 min -->
<job id="37">
<time>007500</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 There is NO PVP, you will be banned if you do!</cmd>    
<cmdtype>0</cmdtype>
</job>

<job id="38">
<time>007501</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 All bans are reported to the central database.</cmd>
<cmdtype>0</cmdtype>            
</job>
    
<job id="39">
<time>007502</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Our sister server runs Napf PVP 68.232.188.52:2302</cmd>
<cmdtype>0</cmdtype>            
</job>

<job id="40">
<time>007503</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Locked vehicles are not to be touched, unlocked are fair game.</cmd>
<cmdtype>0</cmdtype>            
</job>

<job id="41">
<time>007504</time>
<delay>000000</delay>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Teamspeak: legion.teamspeakserverhost.com:21929 </cmd>
<cmdtype>0</cmdtype>            
</job>
</Scheduler>

 

Just edit the text to what you want and set the <time> to your chosen replay schedule. I use 75 minutes and I know that seems like a long time but players get irritated if you pop shit up every 15 minutes saying the same thing over and over. Lastly be sure that you slip this section in before the "</Scheduler>".

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...