diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-07-16 23:51:04 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-07-16 23:51:04 -0300 |
commit | daf65ed9945542415c04a4e344a11ba95ddfe5f5 (patch) | |
tree | 7ccc6ab81b323847602578a030417d877f29cb0a | |
parent | 04397d2bb53eb1054cf651a59ec44d914177a147 (diff) | |
download | serverdata-daf65ed9945542415c04a4e344a11ba95ddfe5f5.tar.gz serverdata-daf65ed9945542415c04a4e344a11ba95ddfe5f5.tar.bz2 serverdata-daf65ed9945542415c04a4e344a11ba95ddfe5f5.tar.xz serverdata-daf65ed9945542415c04a4e344a11ba95ddfe5f5.zip |
Remove underperformant scoreboards.
One which did not exist in TMWA, and one is the Hall of Acorns.
Boss Points scoreboard is underperformant as well.
Was kept for being important but likely will need an optimization.
-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)); |