fn_Quiksilver 1636 Posted February 16, 2014 I'd like to implement a variable max ping that changes at certain times of day. ie. Peak hours (national/regional traffic) = max ping 200 Off-peak hours (worldwide) = max ping 400 For the purpose of not kicking international guests/players when server traffic is typically low (ie 3AM-3PM). How would I go about this? Share this post Link to post Share on other sites
terox 316 Posted February 16, 2014 I'll give it a shot. If I wanted to do this, this is how I would go about it Firstly you need two research two issues a) ascertain if the Battleye\BE.cfg can be overwritten while the server is running b) ascertain if the server reads the updated/overwritten version of the BE.cfg when a player connects If it can then it will be possible to write a batch file that will continously run and then when the Time parameters you have set are met, it would either a) delete and then recreate the BE.cfg b) move 2 versions of the BE.cfg in and out of the Battleye folder c) simply rename the 2 versions of the BE.cfg from say something like BE.cfg1 & BE.cfg2 to BE.cfg Option B would probably be the best --------------------------------------------------------- If the BE.cfg cannot be overwritten while the server is active or the server doesnt read the updated version of the BE.cfg then you are a bit stuck because you will then have to restart the server when you want to switch versions of the BE.cfg Share this post Link to post Share on other sites
spanishsurfer 58 Posted May 6, 2014 I'm interested in doing this as well. Has anyone been able to accomplish this? Share this post Link to post Share on other sites
Viba 1 Posted May 6, 2014 Fairly easy to accomplish with this: http://ibattle.org/ Just put a maxping command to happen at wished times in the scheduler. Share this post Link to post Share on other sites
spanishsurfer 58 Posted May 6, 2014 Fairly easy to accomplish with this: http://ibattle.org/Just put a maxping command to happen at wished times in the scheduler. I use BEC and had no idea I could do that, thanks. ---------- Post added at 13:56 ---------- Previous post was at 12:38 ---------- I put this in the scheduler, does this all look right? <job id="10"> <time>15:00:00</time> <delay>000000</delay> <day>1,2,3,4,5</day> <loop>1</loop> <cmd>!PING 250</cmd> <cmdtype>0</cmdtype> </job> <job id="11"> <time>19:00:00</time> <delay>000000</delay> <day>1,2,3,4,5</day> <loop>1</loop> <cmd>!PING 200</cmd> <cmdtype>0</cmdtype> </job> <job id="12"> <time>02:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>!PING 250</cmd> <cmdtype>0</cmdtype> </job> <job id="13"> <time>03:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>!PING 350</cmd> <cmdtype>0</cmdtype> </job> <job id="14"> <time>12:00:00</time> <delay>000000</delay> <day>6,7</day> <loop>1</loop> <cmd>!PING 250</cmd> <cmdtype>0</cmdtype> </job> <job id="15"> <time>15:00:00</time> <delay>000000</delay> <day>6,7</day> <loop>1</loop> <cmd>!PING 200</cmd> <cmdtype>0</cmdtype> </job> Share this post Link to post Share on other sites
nuxil 2 Posted May 7, 2014 (edited) I put this in the scheduler, does this all look right? No it dosent. You need to use maxping not !PING Also keep in mind that if your server is running some dayz|life or whatever mission and you do change the system time on the server. it might screw up the scheduler timer. Edited May 7, 2014 by nuxil Share this post Link to post Share on other sites
spanishsurfer 58 Posted May 7, 2014 No it dosent.You need to use maxping not !PING Also keep in mind that if your server is running some dayz|life or whatever mission and you do change the system time on the server. it might screw up the scheduler timer. Thanks! And thanks for the heads up, I was aware of that. Share this post Link to post Share on other sites