Its not a full release since you need to modify some stuff, it can get some improvements but works as intended.
This script is only showing the ranking for Swanhild and Kriemhild as an example, if you wanna show more just change the code:
switch( select("- Swanhild", "- Kriemhild."))
{
case 1:
set .@castleName$,"Swanhild";
break;
case 2:
set .@castleName$,"Kriemhild";
break;
}
Adding more cases and more options on the switch select.
Install:
Copy the agit_defend_ranking.txt to the custom folder and add it to scripts_custom.conf.
Insert the SQL table to your server database
replace the agit_main.txt to 'hercules\npc\woe-fe\' folder. obs* doest work for woe-se for now, I will update it if someone ask for it.
agit_defend_ranking.txt
agit_defend_stats.sql
agit_main.txt