EvilPuncker Posted June 7, 2012 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
EvilPuncker Posted June 7, 2012 Author Posted June 7, 2012 Uh... @mapexit? close map,login and char hope it is clear enough?
Euphy Posted June 7, 2012 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
EvilPuncker Posted June 7, 2012 Author Posted June 7, 2012 that was just an idea =D they can make it secure btw
KeiKun Posted June 7, 2012 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)
Sneaky Posted June 7, 2012 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.
Nipsino Posted June 7, 2012 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
Sneaky Posted June 7, 2012 Posted June 7, 2012 Well what I meant was that but, closing map, login and char manually though.
Jezu Posted June 7, 2012 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
Nipsino Posted June 7, 2012 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.
clydelion Posted June 7, 2012 Posted June 7, 2012 yeah it is better to leave char server running so it can save all characters.
Aleos Posted June 7, 2012 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
Sneaky Posted June 7, 2012 Posted June 7, 2012 Well of course you gotta know when you can turn it off lol. It's not just like that.
Aleos Posted June 7, 2012 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.
Recommended Posts