Documentation for this module may be created at Module:Hiscore counts/doc
--
-- Hiscore data grabbed by [[User:Cresbot]]
--
-- While the bot does change these numbers, they can be updated manually as well
-- Be sure to find the correct set of numbers to update
-- You can use Control + F to find the specific template that sent you here
-- Or you can read through the comments
-- ** Be sure to leave the rest of the code the way it is **
-- Skills/etc are left lower case intentionally
local p = {}
--
-- Data for 120s (virtual and dungeoneering)
-- [[Template:120s]]
--
local count_120s = {
["agility"] = "1,709",
["attack"] = "6,779",
["constitution"] = "13,552",
["construction"] = "1,308",
["cooking"] = "3,793",
["crafting"] = "1,649",
["defence"] = "13,508",
["divination"] = "1,691",
["dungeoneering"] = "33,095",
["farming"] = "2,660",
["firemaking"] = "6,310",
["fishing"] = "5,598",
["fletching"] = "2,517",
["herblore"] = "3,522",
["hunter"] = "1,797",
["invention"] = "24,935",
["magic"] = "11,629",
["mining"] = "5,671",
["prayer"] = "2,454",
["ranged"] = "10,946",
["runecrafting"] = "1,326",
["slayer"] = "6,495",
["smithing"] = "2,314",
["strength"] = "6,176",
["summoning"] = "5,113",
["thieving"] = "9,548",
["woodcutting"] = "2,381",
-- @notes this isn't updated by [[User:Cresbot]]
["overall"] = "70",
["updated"] = "14 May 2017"
}
function p.get_120s ( frame )
local skill = string.lower( frame.args[1] )
if not count_120s[skill] then
return 0
end
return count_120s[skill]
end
--
-- End 120s
--
--
-- Data for 99s (including overall)
-- [[Template:99s]]
--
local count_99s = {
["agility"] = "83,210",
["attack"] = "196,776",
["constitution"] = "223,221",
["construction"] = "83,808",
["cooking"] = "196,151",
["crafting"] = "98,601",
["defence"] = "203,720",
["divination"] = "76,141",
["dungeoneering"] = "107,137",
["farming"] = "85,365",
["firemaking"] = "188,614",
["fishing"] = "130,492",
["fletching"] = "160,735",
["herblore"] = "140,608",
["invention"] = "51,726",
["hunter"] = "84,592",
["magic"] = "222,236",
["mining"] = "112,209",
["prayer"] = "143,920",
["ranged"] = "193,259",
["runecrafting"] = "88,819",
["slayer"] = "125,006",
["smithing"] = "107,595",
["strength"] = "224,108",
["summoning"] = "125,041",
["thieving"] = "94,035",
["woodcutting"] = "171,305",
-- @notes this isn't updated by [[User:Cresbot]]
["overall"] = "10,000",
-- @notes this isn't updated by [[User:Cresbot]]
["overall f2p"] = "8",
["updated"] = "14 May 2017"
}
function p.get_99s ( frame )
local skill = string.lower( frame.args[1] )
if not count_99s[skill] then
return 0
end
return count_99s[skill]
end
--
-- End 99s
--
--
-- Data for 200mxp
-- [[Template:200mxp]]
--
local count_200mxp = {
["agility"] = "431",
["attack"] = "1,066",
["constitution"] = "2,904",
["construction"] = "384",
["cooking"] = "1,347",
["crafting"] = "474",
["defence"] = "2,156",
["divination"] = "431",
["dungeoneering"] = "8,447",
["farming"] = "683",
["firemaking"] = "1,576",
["fishing"] = "1,285",
["fletching"] = "666",
["herblore"] = "731",
["hunter"] = "524",
["invention"] = "3,607",
["magic"] = "2,318",
["mining"] = "1,234",
["prayer"] = "539",
["ranged"] = "2,063",
["runecrafting"] = "380",
["slayer"] = "1,132",
["smithing"] = "573",
["strength"] = "1,023",
["summoning"] = "1,437",
["thieving"] = "2,761",
["woodcutting"] = "657",
["overall"] = "158",
["updated"] = "14 May 2017"
}
function p.get_200mxp ( frame )
local skill = string.lower( frame.args[1] )
if not count_200mxp[skill] then
return 0
end
return count_200mxp[skill]
end
--
-- End 200mxp
--
--
-- Data for Hiscores lowest rank
-- [[Template:Hiscores lowest rank]]
--
local lowest_ranks = {
["agility"] = "15",
["agility.rank"] = "898,098",
["attack"] = "15",
["attack.rank"] = "1,344,676",
["constitution"] = "15",
["constitution.rank"] = "1,527,447",
["construction"] = "15",
["construction.rank"] = "734,760",
["cooking"] = "15",
["cooking.rank"] = "1,231,153",
["crafting"] = "15",
["crafting.rank"] = "1,079,916",
["defence"] = "15",
["defence.rank"] = "1,334,854",
["divination"] = "15",
["divination.rank"] = "499,407",
["dungeoneering"] = "15",
["dungeoneering.rank"] = "818,696",
["farming"] = "15",
["farming.rank"] = "662,851",
["firemaking"] = "15",
["firemaking.rank"] = "1,227,258",
["fishing"] = "15",
["fishing.rank"] = "1,152,586",
["fletching"] = "15",
["fletching.rank"] = "860,147",
["herblore"] = "15",
["herblore.rank"] = "779,234",
["hunter"] = "15",
["hunter.rank"] = "700,978",
["invention"] = "15",
["invention.rank"] = "158,259",
["magic"] = "15",
["magic.rank"] = "1,230,837",
["mining"] = "15",
["mining.rank"] = "1,249,986",
["prayer"] = "15",
["prayer.rank"] = "1,199,628",
["ranged"] = "15",
["ranged.rank"] = "1,154,087",
["runecrafting"] = "15",
["runecrafting.rank"] = "935,364",
["slayer"] = "15",
["slayer.rank"] = "830,842",
["smithing"] = "15",
["smithing.rank"] = "1,172,795",
["strength"] = "15",
["strength.rank"] = "1,336,894",
["summoning"] = "15",
["summoning.rank"] = "648,723",
["thieving"] = "15",
["thieving.rank"] = "875,474",
["woodcutting"] = "15",
["woodcutting.rank"] = "1,312,304",
["overall"] = "38",
["overall.rank"] = "1,948,025",
["updated"] = "14 May 2017"
}
function p.get_lowest_ranks ( frame )
local skill = string.lower( frame.args[1] )
if not lowest_ranks[skill] then
return 0
end
return lowest_ranks[skill]
end
--
-- End Hiscores lowest rank
--
return p