EvilPuncker Posted June 7, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share Posted June 7, 2012 I would like to suggest an in-game safe method to shutdown the server, my ideas for the command follows: @shutdown <time in minutes> so an admin would use for example @shutdown 5 then there will start a broadcast every 1 minute telling "Server is going down in X minutes, we will come back soon." and then it would kick all players then save them and finally close map,login and char servers. don't flame telling that it is possible to make it manually via X or Y way, my suggestion is that, if you don't like just leave since i'm not going to argue with anyone xd Link to comment Share on other sites More sharing options...
Euphy Posted June 7, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted June 7, 2012 Uh... @mapexit? 1 Link to comment Share on other sites More sharing options...
EvilPuncker Posted June 7, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Author Share Posted June 7, 2012 Uh... @mapexit? close map,login and char hope it is clear enough? Link to comment Share on other sites More sharing options...
Euphy Posted June 7, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted June 7, 2012 It's inherently insecure to allow closing login/char servers through a mapserver command, especially since you can run multiple mapservers per login. o.o Link to comment Share on other sites More sharing options...
EvilPuncker Posted June 7, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Author Share Posted June 7, 2012 that was just an idea =D they can make it secure btw Link to comment Share on other sites More sharing options...
KeiKun Posted June 7, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 967 Reputation: 53 Joined: 11/13/11 Last Seen: February 23 Share Posted June 7, 2012 No for me for me... its lame.. cause no RO Server(ofc) will do maintenance (server side) without accessing the server where is it hosted... btw why you want 3 of them to go exit automatically? i think killing login and char is safe when you do it manually or possible send delay time after map server goes down to char then login or login to char (whatever) Link to comment Share on other sites More sharing options...
Sneaky Posted June 7, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 392 Reputation: 47 Joined: 11/18/11 Last Seen: July 8, 2024 Share Posted June 7, 2012 Automatic countdown... But that's something you can do via script. Trigger it via a whisper or some kind of NPC that only Administrators can access it, and when you trigger, it will announce in how much time (~~APROX) the server may be offline. Link to comment Share on other sites More sharing options...
Nipsino Posted June 7, 2012 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 218 Reputation: 16 Joined: 01/24/12 Last Seen: May 24, 2015 Share Posted June 7, 2012 (edited) Automatic countdown... But that's something you can do via script. Trigger it via a whisper or some kind of NPC that only Administrators can access it, and when you trigger, it will announce in how much time (~~APROX) the server may be offline. Like this... - script Shutdown -1,{ end; OnWhisperGlobal: if( getgmlevel() < 60 ) end; if( @whispervar0$ == "stop" ) { stopnpctimer; announce "-- Server Shutdown canceled by Game Master --",0,0xFFA500; end; } if( set(.Minutes, atoi(@whispervar0$)) <= 0 ) end; initnpctimer; announce "-- Server Shutdown in " + .Minutes + " minute(s) --",0,0xFFA500; end; OnTimer60000: set .Minutes, .Minutes - 1; announce "-- Server Shutdown in " + .Minutes + " minute(s) --",0,0xFFA500; if( .Minutes == 1 ) {. end; } initnpctimer; end; OnTimer90000: announce "-- Server Shutdown in 30 seconds --",0,0xFFA500; end; OnTimer100000: announce "-- Server Shutdown in 20 seconds --",0,0xFFA500; end; OnTimer110000: announce "-- Server Shutdown in 10 seconds --",0,0xFFA500; end; OnTimer115000: announce "-- We will be back soon. Bye bye --",0,0x00BFFF; end; OnTimer120000: atcommand "@mapexit"; end; } Edited June 7, 2012 by Eden 1 Link to comment Share on other sites More sharing options...
Sneaky Posted June 7, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 392 Reputation: 47 Joined: 11/18/11 Last Seen: July 8, 2024 Share Posted June 7, 2012 Well what I meant was that but, closing map, login and char manually though. Link to comment Share on other sites More sharing options...
Jezu Posted June 7, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Share Posted June 7, 2012 (edited) It is not safe to close all servers, @mapexit will do the job by script function. You will rain out reports about Roll Backs by your players.. Edited June 7, 2012 by Jezu Link to comment Share on other sites More sharing options...
Nipsino Posted June 7, 2012 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 218 Reputation: 16 Joined: 01/24/12 Last Seen: May 24, 2015 Share Posted June 7, 2012 It is not safe to close all servers, @mapexit will do the job by script function. You will rain out reports about Roll Backs by your players.. Indeed. I forgot what which server I think char, but it needs some time to save up all of the character's data before it can actually be closed. Link to comment Share on other sites More sharing options...
clydelion Posted June 7, 2012 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 754 Reputation: 186 Joined: 05/22/12 Last Seen: October 15, 2022 Share Posted June 7, 2012 yeah it is better to leave char server running so it can save all characters. Link to comment Share on other sites More sharing options...
Aleos Posted June 7, 2012 Group: Development Manager Topic Count: 56 Topics Per Day: 0.01 Content Count: 732 Reputation: 525 Joined: 12/13/11 Last Seen: June 13, 2024 Share Posted June 7, 2012 (edited) @kickall @mapexit That is the chain you need to follow. The kick all will forcefully make the server save all characters who are online. Then you can map exit safely. Edited August 9, 2012 by Aleos 2 Link to comment Share on other sites More sharing options...
Sneaky Posted June 7, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 392 Reputation: 47 Joined: 11/18/11 Last Seen: July 8, 2024 Share Posted June 7, 2012 Well of course you gotta know when you can turn it off lol. It's not just like that. Link to comment Share on other sites More sharing options...
Aleos Posted June 7, 2012 Group: Development Manager Topic Count: 56 Topics Per Day: 0.01 Content Count: 732 Reputation: 525 Joined: 12/13/11 Last Seen: June 13, 2024 Share Posted June 7, 2012 It was meant to be an addon to Eden's script. But the original topic starter wants an actual command rather than a script. Link to comment Share on other sites More sharing options...
Recommended Posts