From ab377cc3989c8546d798b0b444f3fd7b888d86c6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 20 Mar 2019 10:50:48 -0300 Subject: Prepare another SQL Query too --- npc/functions/scoreboards.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'npc') diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt index 0ddf20ee5..ecfc8aeb1 100644 --- a/npc/functions/scoreboards.txt +++ b/npc/functions/scoreboards.txt @@ -34,6 +34,7 @@ OnInit: debugmes "Reloading scoreboards..."; .@nb = query_sql("select name, zeny from `char` WHERE `guild_id`!=1 ORDER BY zeny DESC LIMIT 15", $@hofortune_name$, $@hofortune_value); .@nb = query_sql("select name, base_level from `char` WHERE `guild_id`!=1 ORDER BY base_level DESC LIMIT 15", $@hoblvl_name$, $@hoblvl_value); + .@nb = query_sql("select name, job_level from `char` WHERE `guild_id`!=1 ORDER BY job_level DESC LIMIT 15", $@hojlvl_name$, $@hojlvl_value); .@nb = query_sql("SELECT c.name, i.amount FROM `inventory` AS i, `char` AS c WHERE i.nameid="+StrangeCoin+" AND i.char_id=c.char_id ORDER BY i.amount DESC LIMIT 15", $@hoc_name$, $@hoc_value); .@nb = query_sql("select char_name, command from `atcommandlog` ORDER BY atcommand_id DESC LIMIT 15", $@hogm_name$, $@hogm_value$); .@nb = query_sql("select name, guild_lv from `guild` WHERE `guild_id`!=1 ORDER BY guild_lv DESC LIMIT 5", $@hoguild_name$, $@hoguild_value); -- cgit v1.2.3-70-g09d2