Shawn Posted May 22, 2016 Report Share Posted May 22, 2016 I was wondering if there was a way of kicking all players 2 minutes prior to restart. A method I figured was set max ping to 1 before restart, and revert just after, but I really don't like this. Are there any other alternatives? Thanks. Link to comment Share on other sites More sharing options...
0 Pro_Speedy Posted May 22, 2016 Report Share Posted May 22, 2016 4 hours ago, Shawn said: I was wondering if there was a way of kicking all players 2 minutes prior to restart. A method I figured was set max ping to 1 before restart, and revert just after, but I really don't like this. Are there any other alternatives? Thanks. why would you want this? Link to comment Share on other sites More sharing options...
0 Shawn Posted May 22, 2016 Author Report Share Posted May 22, 2016 There is a dupe that works on every single server. I'm not going to mention how it works, but it is fixed if players do not get session lost, and are kicked prior to restart. Link to comment Share on other sites More sharing options...
0 Brian Soanes Posted May 22, 2016 Report Share Posted May 22, 2016 11 minutes ago, Shawn said: There is a dupe that works on every single server. I'm not going to mention how it works, but it is fixed if players do not get session lost, and are kicked prior to restart. Or if you decrease intervals that Redis saves ;) Link to comment Share on other sites More sharing options...
0 axeman Posted May 22, 2016 Report Share Posted May 22, 2016 Depending on how you hold your variables :) https://community.bistudio.com/wiki/serverCommand DirtySanchez 1 Link to comment Share on other sites More sharing options...
0 vbawol Posted May 22, 2016 Report Share Posted May 22, 2016 This is an existing feature of Epoch actually just for this reason and can be enabled here: https://github.com/EpochModTeam/Epoch/blob/release/Server_Install_Pack/%40epochhive/epochconfig.hpp#L1 Change forceRestart line from false -> true. Provided you have the correct BE IP, Port and password set here: https://github.com/EpochModTeam/Epoch/blob/release/Server_Install_Pack/%40epochhive/EpochServer.ini#L5-L7 it will lock the server, send messages about the restart and finally kick everyone before issuing the #shutdown command. You will also need a service manager that will restart your server when it crashes or when the #shutdown command is used. I use http://www.firedaemon.com/ for my dev servers and even have it set to auto update from Epoch Experimental steam workshop every time before they restart. this also allows running the log rotator script: https://github.com/EpochModTeam/Epoch/blob/release/Server_Install_Pack/Tools/log-rotator.cmd Also @Shawn did you mean to post this in the A2 or A3 section? axeman and DirtySanchez 2 Link to comment Share on other sites More sharing options...
0 creativv Posted May 22, 2016 Report Share Posted May 22, 2016 You guys do realise he is talking about A2 right ? Link to comment Share on other sites More sharing options...
0 Shawn Posted May 22, 2016 Author Report Share Posted May 22, 2016 Oh god, my mistake guys. Creativv is correct, I do mean A2. But this is a massive issue as it works on every single server, apart from any that kicks players prior to restart. Link to comment Share on other sites More sharing options...
0 creativv Posted May 22, 2016 Report Share Posted May 22, 2016 Maybe use the force disconnect from a certain anithack make it do it to all players at 2 min warning Link to comment Share on other sites More sharing options...
0 icomrade Posted May 22, 2016 Report Share Posted May 22, 2016 You should be able to use your BEC scheduler.xml file to do this. Here's an example using maxping to kick all players, you should warn them beforehand that they will be kicked to prevent confusion. I haven't tested this example, but it should work, be sure to edit the start time and job id. Edit: Just tested and this works, it takes about 10 seconds for the maxping to update and kick players, but it works. Also, don't forget to issue the lock command to prevent players from rejoining before restart. <job id="9"> <start>035800</start> <runtime>000000</runtime> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>maxping 0</cmd> <cmdtype>0</cmdtype> </job> Seelanpro, i3lackoutHD, theduke and 1 other 4 Link to comment Share on other sites More sharing options...
0 kangawroon Posted December 24, 2016 Report Share Posted December 24, 2016 Does anyone know how this works on an A3 epoch server? Link to comment Share on other sites More sharing options...
0 Linux Posted December 24, 2016 Report Share Posted December 24, 2016 you can try this : http://rnrportal.ru/forum/index.php?/topic/178-кик-всех-игроков-рестарт-сервера-отображение-р/ Link to comment Share on other sites More sharing options...
0 LunatikCH Posted December 24, 2016 Report Share Posted December 24, 2016 is it only me or any one else doesnt think its a good idea to put a ddl from a russian board on my dedicated server? :D Link to comment Share on other sites More sharing options...
0 Linux Posted December 24, 2016 Report Share Posted December 24, 2016 5 hours ago, LunatikCH said: is it only me or any one else doesnt think its a good idea to put a ddl from a russian board on my dedicated server? :D this dll works on my server Link to comment Share on other sites More sharing options...
0 juandayz Posted December 24, 2016 Report Share Posted December 24, 2016 7 hours ago, LunatikCH said: is it only me or any one else doesnt think its a good idea to put a ddl from a russian board on my dedicated server? :D theduke and LunatikCH 2 Link to comment Share on other sites More sharing options...
Question
Shawn
I was wondering if there was a way of kicking all players 2 minutes prior to restart. A method I figured was set max ping to 1 before restart, and revert just after, but I really don't like this.
Are there any other alternatives?
Thanks.
Link to comment
Share on other sites
14 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now