diff options
-rw-r--r-- | npc/functions/scoreboards.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt index decc25ffd..0a4caa263 100644 --- a/npc/functions/scoreboards.txt +++ b/npc/functions/scoreboards.txt @@ -18,7 +18,7 @@ function script ScoreboardsReload { .@nb = query_sql("SELECT c.name, i.value FROM `char_reg_num_db` AS i, `char` AS c WHERE i.key='AFKING' AND i.char_id=c.char_id ORDER BY i.value DESC LIMIT 10", $@afk_name$, $@afk_value); .@nb = query_sql("SELECT c.name, i.value FROM `char_reg_num_db` AS i, `char` AS c WHERE i.key='HONOR' AND i.char_id=c.char_id ORDER BY i.value DESC LIMIT 10", $@hof_name$, $@hof_value); .@nb = query_sql("SELECT c.name, i.value FROM `char_reg_num_db` AS i, `char` AS c WHERE i.key='ACADEMIC_RANK' AND i.char_id=c.char_id ORDER BY i.value DESC LIMIT 30", $@hoa_name$, $@hoa_value); - .@nb = query_sql("SELECT c.name, i.value FROM `mapreg` AS i, `char` AS c WHERE i.varname='$REFERRAL_IDS' AND i.index=c.account_id ORDER BY i.value DESC LIMIT 20", $@hor_name$, $@hor_value); + //.@nb = query_sql("SELECT c.name, i.value FROM `mapreg` AS i, `char` AS c WHERE i.varname='$REFERRAL_IDS' AND i.index=c.account_id ORDER BY i.value DESC LIMIT 20", $@hor_name$, $@hor_value); .@nb = query_sql("SELECT c.name, i.value FROM `char_reg_num_db` AS i, `char` AS c WHERE i.key='PC_DIE_COUNTER' AND i.char_id=c.char_id AND c.last_login >= "+(gettimetick(2)-86400)+" ORDER BY i.value ASC LIMIT 10", $@hod_name$, $@hod_value); // Seasonal Scoreboards @@ -316,6 +316,7 @@ function script HallOfHonor { function script HallOfReferral { mes ""; mes "Referral Program Report - pg. 1"; + /* mes("1."+$@hor_name$[0]+" ("+$@hor_value[0]+")"); mes("2."+$@hor_name$[1]+" ("+$@hor_value[1]+")"); mes("3."+$@hor_name$[2]+" ("+$@hor_value[2]+")"); @@ -338,6 +339,8 @@ function script HallOfReferral { mes("18."+$@hor_name$[17]+" ("+$@hor_value[17]+")"); mes("19."+$@hor_name$[18]+" ("+$@hor_value[18]+")"); mes("20."+$@hor_name$[19]+" ("+$@hor_value[19]+")"); + */ + mesc "-- Temporarily disabled", 1; next; return; } |