Jamy Posted March 4, 2012 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 54 Reputation: 0 Joined: 02/14/12 Last Seen: September 6, 2013 Share 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 Link to comment Share on other sites More sharing options...
0 Reborn Posted December 24, 2017 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 290 Reputation: 3 Joined: 09/29/13 Last Seen: December 28, 2024 Share Posted December 24, 2017 Hello there, can anyone update this source file that can be compatible for the latest rAthena Emulator? Thanks 1 Quote Link to comment Share on other sites More sharing options...
Nipsino Posted March 5, 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 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 Link to comment Share on other sites More sharing options...
ngek202 Posted March 5, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share 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 Link to comment Share on other sites More sharing options...
FatalEror Posted March 5, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 67 Reputation: 23 Joined: 11/14/11 Last Seen: October 3, 2014 Share 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 Link to comment Share on other sites More sharing options...
Judas Posted March 5, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 2244 Reputation: 182 Joined: 11/19/11 Last Seen: September 15, 2024 Share Posted March 5, 2012 nice Quote Link to comment Share on other sites More sharing options...
Nipsino Posted March 5, 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 March 5, 2012 Beat me to it! Haha nice one. Quote Link to comment Share on other sites More sharing options...
Jezu Posted March 5, 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 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 Link to comment Share on other sites More sharing options...
Drakkus Posted March 5, 2012 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 386 Reputation: 15 Joined: 11/17/11 Last Seen: September 13, 2024 Share 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 Link to comment Share on other sites More sharing options...
SkzBR Posted March 5, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 27 Reputation: 5 Joined: 11/19/11 Last Seen: July 30, 2012 Share Posted March 5, 2012 I hate when people do same thing that i already have written for my server. Anyway, gw! Quote Link to comment Share on other sites More sharing options...
Syouji Posted March 5, 2012 Group: Members Topic Count: 70 Topics Per Day: 0.01 Content Count: 1245 Reputation: 395 Joined: 11/19/11 Last Seen: January 15, 2020 Share Posted March 5, 2012 Love the idea. Very useful! Quote Link to comment Share on other sites More sharing options...
ngek202 Posted March 5, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted March 5, 2012 possible to change the Message Rejected from Server to Server Maintenance? Quote Link to comment Share on other sites More sharing options...
Arcenciel Posted March 5, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 1315 Reputation: 372 Joined: 12/10/11 Last Seen: August 31, 2013 Share 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 Link to comment Share on other sites More sharing options...
ngek202 Posted March 5, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted March 5, 2012 it might also affect the other Message when Map server is still loading. Quote Link to comment Share on other sites More sharing options...
Mystery Posted March 5, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted March 5, 2012 Could you possibly provide a diff patch for those who are currently with eAthena still? Quote Link to comment Share on other sites More sharing options...
Jamy Posted March 10, 2012 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 54 Reputation: 0 Joined: 02/14/12 Last Seen: September 6, 2013 Author Share 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 Link to comment Share on other sites More sharing options...
Heaven_BR Posted March 11, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 03/11/12 Last Seen: April 27, 2014 Share 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 Link to comment Share on other sites More sharing options...
Jamy Posted March 13, 2012 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 54 Reputation: 0 Joined: 02/14/12 Last Seen: September 6, 2013 Author Share Posted March 13, 2012 okay Heaven Quote Link to comment Share on other sites More sharing options...
Erazer Posted March 14, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 54 Reputation: 24 Joined: 11/22/11 Last Seen: October 2, 2014 Share Posted March 14, 2012 Not a bad command indeed, gj. Quote Link to comment Share on other sites More sharing options...
FatalEror Posted March 14, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 67 Reputation: 23 Joined: 11/14/11 Last Seen: October 3, 2014 Share 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 Link to comment Share on other sites More sharing options...
Mystery Posted March 14, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted March 14, 2012 Thanks a lot dude! Not Much was really affected from what I see o_o Quote Link to comment Share on other sites More sharing options...
ngek202 Posted March 15, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted March 15, 2012 (edited) @FatalEror Thanks man God Bless you. Fix is Working Thanks FatalEror. Edited March 15, 2012 by ngek202 Quote Link to comment Share on other sites More sharing options...
Drakkus Posted March 15, 2012 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 386 Reputation: 15 Joined: 11/17/11 Last Seen: September 13, 2024 Share 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 Link to comment Share on other sites More sharing options...
darking123 Posted March 15, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Share Posted March 15, 2012 nice idea. . Does ths work in eathena Quote Link to comment Share on other sites More sharing options...
Drakkus Posted March 16, 2012 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 386 Reputation: 15 Joined: 11/17/11 Last Seen: September 13, 2024 Share 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 Link to comment Share on other sites More sharing options...
Deleted User Posted March 18, 2012 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 235 Reputation: 55 Joined: 12/02/11 Last Seen: February 26, 2021 Share Posted March 18, 2012 (edited) This is very useful! Edited September 23, 2018 by Kaze Quote Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.