diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/scoreboards.txt | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt index 50a5823d..f7d5ddaf 100644 --- a/npc/functions/scoreboards.txt +++ b/npc/functions/scoreboards.txt @@ -79,6 +79,7 @@ function script HallOfJob { return; } +/* function script HallOfAcorns { mes ""; mes l("##BHall Of Acorns: TOP15##b"); @@ -122,6 +123,7 @@ function script HallOfLethality { mesf("15. %s (%d)", $@hol_name$[14], $@hol_value[14]); return; } +*/ function script HallOfAlmanach { mes ""; @@ -192,8 +194,6 @@ OnInit: .@nb = query_sql("select name, base_level from `char` ORDER BY base_level DESC LIMIT 15", $@hoblvl_name$, $@hoblvl_value); .@nb = query_sql("select name, job_level from `char` ORDER BY job_level DESC LIMIT 15", $@hojlvl_name$, $@hojlvl_value); .@nb = query_sql("select name, guild_lv from `guild` ORDER BY guild_lv DESC LIMIT 5", $@hoguild_name$, $@hoguild_value); - .@nb = query_sql("SELECT c.name, i.amount FROM `storage` AS i, `char` AS c WHERE i.nameid="+Acorn+" AND i.account_id=c.account_id AND c.char_num = 0 ORDER BY i.amount DESC LIMIT 15", $@hoa_name$, $@hoa_value); - .@nb = query_sql("SELECT c.name, i.value FROM `char_reg_num_db` AS i, `char` AS c WHERE i.key='MONSTERS_KILLED' AND i.char_id=c.char_id ORDER BY i.value DESC LIMIT 15", $@hol_name$, $@hol_value); .@nb = query_sql("SELECT c.name, i.value FROM `char_reg_num_db` AS i, `char` AS c WHERE i.key='BOSS_POINTS' AND i.char_id=c.char_id ORDER BY i.value DESC LIMIT 15", $@hob_name$, $@hob_value); consolemes(CONSOLEMES_DEBUG, "Scoreboards reloaded"); if (!$@SCOREBOARD_BIND) { @@ -214,9 +214,7 @@ OnCall: l("Hall Of Base Level"), l("Hall Of Job Level"), l("Hall Of Guilds"), - l("Hall Of Lethality"), l("Hall Of Almanach"), - l("Hall Of Acorns"), l("Game Statistics"), l("Personal Information"), l("Quit"); @@ -239,22 +237,14 @@ OnCall: next; break; case 5: - HallOfLethality(); - next; - break; - case 6: HallOfAlmanach(); next; break; - case 7: - HallOfAcorns(); - next; - break; - case 8: + case 6: HallOfGame(); next; break; - case 9: + case 7: ShowAbizit(true); mes ""; mesc l("Total deaths: %s", fnum(PC_DIE_COUNTER)); |