Jamy Posted March 4, 2012 Posted March 4, 2012 Hello I was wondering how to create a command that causes the server to enter for maintenance when typing the command giving en kick all players and not letting them connect until the command is enabledagain. Quote
0 Reborn Posted December 24, 2017 Posted December 24, 2017 Hello there, can anyone update this source file that can be compatible for the latest rAthena Emulator? Thanks 1 Quote
Nipsino Posted March 5, 2012 Posted March 5, 2012 Quick question. Are you using eAthena or rAthena? Because if you're using rAthena, I'd have to make my script differently. Quote
ngek202 Posted March 5, 2012 Posted March 5, 2012 @Eden this would be a nice Feature if added to SVN in future release. and would benefit the Administrators much. Quote
FatalEror Posted March 5, 2012 Posted March 5, 2012 Hello I was wondering how to create a command that causes the server to enter for maintenance when typing the command giving en kick all players and not letting them connect until the command is enabledagain. @maintenance → kick all players except Admin → change map-server status to Maintenance → tell char-server to change status to Maintenance Player login → check if (server is in Maintenance and player is not an admin), if yes → block player at_maintenance.patch Usage: @maintenance <on/off> 3 Quote
Jezu Posted March 5, 2012 Posted March 5, 2012 (edited) yes, this is a brilliant idea. anyway just to make easy for you Eden, How about Check if GM LEVEL = N N stands for the level of Game Master so we can allow Sub-GMs to test it inside the game. if GM Level = 0 or 1 autokick.. or they will logout automatically. Edited March 5, 2012 by Jezu Quote
Drakkus Posted March 5, 2012 Posted March 5, 2012 (edited) Sounds the IDEA is very nice, thanks for the 'Diff' FataError. Release it on 'Source Modifcations' so that it can easily to find the modifications you made. Thank you Again! Regards, Mindless Edited March 5, 2012 by Mindless Quote
SkzBR Posted March 5, 2012 Posted March 5, 2012 I hate when people do same thing that i already have written for my server. Anyway, gw! Quote
ngek202 Posted March 5, 2012 Posted March 5, 2012 possible to change the Message Rejected from Server to Server Maintenance? Quote
Arcenciel Posted March 5, 2012 Posted March 5, 2012 possible to change the Message Rejected from Server to Server Maintenance? Try looking at the msgstringtable or the lua file for it. Quote
ngek202 Posted March 5, 2012 Posted March 5, 2012 it might also affect the other Message when Map server is still loading. Quote
Mystery Posted March 5, 2012 Posted March 5, 2012 Could you possibly provide a diff patch for those who are currently with eAthena still? Quote
Jamy Posted March 10, 2012 Author Posted March 10, 2012 If someone could make one for eAthena, because I am still configuring rathena not have much time to move through the emulator then take a while to change. Quote
Heaven_BR Posted March 11, 2012 Posted March 11, 2012 (edited) I'm developing this and I'll post when I complete the tests, probably on Saturday Edited March 13, 2012 by Heaven_BR Quote
FatalEror Posted March 14, 2012 Posted March 14, 2012 Could you possibly provide a diff patch for those who are currently with eAthena still? oh well.. at_maintenance_eathena_r15077_sql.patch possible to change the Message Rejected from Server to Server Maintenance? WFIFOHEAD(fd,3); WFIFOW(fd,0) = 0x6c; WFIFOB(fd,2) = 0; // <-- CHANGE 0 TO 1 WFIFOSET(fd,3); break; It should change the message to: "You cannot use this ID on this server." search for that line in msgstringtable.txt and edit it.. Quote
Mystery Posted March 14, 2012 Posted March 14, 2012 Thanks a lot dude! Not Much was really affected from what I see o_o Quote
ngek202 Posted March 15, 2012 Posted March 15, 2012 (edited) @FatalEror Thanks man God Bless you. Fix is Working Thanks FatalEror. Edited March 15, 2012 by ngek202 Quote
Drakkus Posted March 15, 2012 Posted March 15, 2012 Could you possibly provide a diff patch for those who are currently with eAthena still? oh well.. at_maintenance_eathena_r15077_sql.patch possible to change the Message Rejected from Server to Server Maintenance? WFIFOHEAD(fd,3); WFIFOW(fd,0) = 0x6c; WFIFOB(fd,2) = 0; // <-- CHANGE 0 TO 1 WFIFOSET(fd,3); break; It should change the message to: "You cannot use this ID on this server." search for that line in msgstringtable.txt and edit it.. Much better if you could 'UPDATE' the latest rAthena SVN. Thank you. Yours, Mindless Quote
Drakkus Posted March 16, 2012 Posted March 16, 2012 WTF? please do read what 'FATALERROR' says, he also diff for eAthena. Links: http://rathena.org/board/topic/59786-maintenance-command/page__view__findpost__p__85436 Please read don't be stup!d. Yours, Mindless Quote
Deleted User Posted March 18, 2012 Posted March 18, 2012 (edited) This is very useful! Edited September 23, 2018 by Kaze Quote
Question
Jamy
Hello I was wondering how to create a command that causes the server to enter for maintenance when typing the command giving en kick all players and not letting them connect until the command is enabledagain.
41 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.