Titan Posted March 28, 2017 Posted March 28, 2017 (edited) Can I request for this script? Found this script below: //===== eAthena Script ======================================= //= Amatsu Guides //===== By: ================================================== // Rahul Dev // Thanks to Myzter //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= eAthena/ rAthena SVN //===== Description: ========================================= //= Castle Ranking //===== Additional Comments: ================================= //= 1.0 //============================================================ prontera,139,175,5 script Guild Ranking 415,{ // Configurations .@max_ranking = 10; // Max Rankings to display. // Do not touch for (set .@x,0; .@x < .@max_ranking; set .@x,.@x + 1) { if (.@x) mes "- - - - - - - - - - - - - - -"; mes "# ^ff0000" + (.@x + 1) + "^000000: ^0000ff" + ( (.GuildName$[.@x])? .GuildName$[.@x]:"None" ) + "^000000"; mes " - Master: ^0000ff" + ( (.GuildMaster$[.@x])? .GuildMaster$[.@x]:"None" ) + "^000000"; mes " - Territories: ^ff0000" + .NumCastles[.@x] + "^000000"; mes " - Members: ^ff0000" + .NumMembers[.@x] + "^000000"; } close; OnAgitEnd: OnAgitEnd2: OnInit: set .Cnt, query_sql("SELECT (SELECT count(c.castle_id) FROM guild_castle c WHERE c.guild_id = g.guild_id) castles, CONCAT(g.name, ' (LV. ',g.guild_lv,')') guild, count(g.char_id) members, g.master FROM guild g LEFT JOIN guild_member m ON g.guild_id = m.guild_id GROUP BY g.guild_id HAVING castles > 0 ORDER BY castles DESC, guild_lv DESC, members DESC", .NumCastles,.GuildName$,.NumMembers,.GuildMaster$); waitingroom "Top 10 Guild",0; end; } I want to have the option for admin to restart every month. Thanks in advance. Guild_Ranking.txt Edited April 1, 2017 by Titan Quote
0 Titan Posted April 1, 2017 Author Posted April 1, 2017 On 3/28/2017 at 3:01 PM, Titan said: Can I request for this script? something that counts daily agit owner after woe then option for admin to restart every month. Maybe top 5 guilds will be on that list. Thanks in advance. Post updated with found script to be modify. Thanks Quote
0 srhmike Posted April 8, 2017 Posted April 8, 2017 That script you provided, I think only ranks them by the amount of castles they have at the moment, and then their guild level. Wouldnt need to reset because the next WoE it would be different. Quote
0 Titan Posted April 10, 2017 Author Posted April 10, 2017 (edited) On 4/8/2017 at 3:13 PM, srhmike said: That script you provided, I think only ranks them by the amount of castles they have at the moment, and then their guild level. Wouldnt need to reset because the next WoE it would be different. So this script is a daily guild ladder. I need something that can be monthly and able to reset. Edited April 10, 2017 by Titan Quote
Question
Titan
Can I request for this script?Found this script below://===== eAthena Script ======================================= //= Amatsu Guides //===== By: ================================================== // Rahul Dev // Thanks to Myzter //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= eAthena/ rAthena SVN //===== Description: ========================================= //= Castle Ranking //===== Additional Comments: ================================= //= 1.0 //============================================================ prontera,139,175,5 script Guild Ranking 415,{ // Configurations .@max_ranking = 10; // Max Rankings to display. // Do not touch for (set .@x,0; .@x < .@max_ranking; set .@x,.@x + 1) { if (.@x) mes "- - - - - - - - - - - - - - -"; mes "# ^ff0000" + (.@x + 1) + "^000000: ^0000ff" + ( (.GuildName$[.@x])? .GuildName$[.@x]:"None" ) + "^000000"; mes " - Master: ^0000ff" + ( (.GuildMaster$[.@x])? .GuildMaster$[.@x]:"None" ) + "^000000"; mes " - Territories: ^ff0000" + .NumCastles[.@x] + "^000000"; mes " - Members: ^ff0000" + .NumMembers[.@x] + "^000000"; } close; OnAgitEnd: OnAgitEnd2: OnInit: set .Cnt, query_sql("SELECT (SELECT count(c.castle_id) FROM guild_castle c WHERE c.guild_id = g.guild_id) castles, CONCAT(g.name, ' (LV. ',g.guild_lv,')') guild, count(g.char_id) members, g.master FROM guild g LEFT JOIN guild_member m ON g.guild_id = m.guild_id GROUP BY g.guild_id HAVING castles > 0 ORDER BY castles DESC, guild_lv DESC, members DESC", .NumCastles,.GuildName$,.NumMembers,.GuildMaster$); waitingroom "Top 10 Guild",0; end; }
I want to have the option for admin to restart every month. Thanks in advance.
Guild_Ranking.txt
Edited by Titan3 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.