Jump to content
  • 0

MONTHLY GUILD LADDER


Question

Posted (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 by Titan

3 answers to this question

Recommended Posts

  • 0
Posted
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

  • 0
Posted

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.

  • 0
Posted (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 by Titan

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...