(Updating hiscore counts) Tag: apiedit |
(Updating hiscore counts) Tag: apiedit |
||
Line 16: | Line 16: | ||
-- |
-- |
||
local count_120s = { |
local count_120s = { |
||
− | ["agility"] = "1, |
+ | ["agility"] = "1,788", |
− | ["attack"] = "6, |
+ | ["attack"] = "6,971", |
− | ["constitution"] = "13, |
+ | ["constitution"] = "13,930", |
− | ["construction"] = "1, |
+ | ["construction"] = "1,436", |
− | ["cooking"] = "3, |
+ | ["cooking"] = "3,877", |
− | ["crafting"] = "1, |
+ | ["crafting"] = "1,769", |
− | ["defence"] = "13, |
+ | ["defence"] = "13,912", |
− | ["divination"] = "1, |
+ | ["divination"] = "1,773", |
− | ["dungeoneering"] = "33, |
+ | ["dungeoneering"] = "33,695", |
− | ["farming"] = "2, |
+ | ["farming"] = "2,730", |
− | ["firemaking"] = "6, |
+ | ["firemaking"] = "6,558", |
− | ["fishing"] = "5, |
+ | ["fishing"] = "5,787", |
− | ["fletching"] = "2, |
+ | ["fletching"] = "2,744", |
− | ["herblore"] = "3, |
+ | ["herblore"] = "3,857", |
− | ["hunter"] = "2, |
+ | ["hunter"] = "2,019", |
− | ["invention"] = "26, |
+ | ["invention"] = "26,191", |
− | ["magic"] = "11, |
+ | ["magic"] = "11,983", |
− | ["mining"] = "5, |
+ | ["mining"] = "5,804", |
− | ["prayer"] = "2, |
+ | ["prayer"] = "2,574", |
− | ["ranged"] = "11, |
+ | ["ranged"] = "11,281", |
− | ["runecrafting"] = "1, |
+ | ["runecrafting"] = "1,369", |
− | ["slayer"] = " |
+ | ["slayer"] = "7,013", |
− | ["smithing"] = "2, |
+ | ["smithing"] = "2,457", |
− | ["strength"] = "6, |
+ | ["strength"] = "6,327", |
− | ["summoning"] = "5, |
+ | ["summoning"] = "5,705", |
− | ["thieving"] = "9, |
+ | ["thieving"] = "9,786", |
− | ["woodcutting"] = "2, |
+ | ["woodcutting"] = "2,433", |
-- @notes this isn't updated by [[User:Cresbot]] |
-- @notes this isn't updated by [[User:Cresbot]] |
||
["overall"] = "70", |
["overall"] = "70", |
||
− | ["updated"] = " |
+ | ["updated"] = "31 May 2017" |
} |
} |
||
Line 66: | Line 66: | ||
-- |
-- |
||
local count_99s = { |
local count_99s = { |
||
− | ["agility"] = "85, |
+ | ["agility"] = "85,702", |
− | ["attack"] = "198, |
+ | ["attack"] = "198,134", |
− | ["constitution"] = "224, |
+ | ["constitution"] = "224,794", |
− | ["construction"] = "87, |
+ | ["construction"] = "87,131", |
− | ["cooking"] = "198, |
+ | ["cooking"] = "198,128", |
− | ["crafting"] = "101, |
+ | ["crafting"] = "101,821", |
["defence"] = "205,347", |
["defence"] = "205,347", |
||
− | ["divination"] = "77, |
+ | ["divination"] = "77,659", |
− | ["dungeoneering"] = "108, |
+ | ["dungeoneering"] = "108,243", |
− | ["farming"] = "86, |
+ | ["farming"] = "86,729", |
− | ["firemaking"] = "191, |
+ | ["firemaking"] = "191,011", |
− | ["fishing"] = "131, |
+ | ["fishing"] = "131,813", |
− | ["fletching"] = "163, |
+ | ["fletching"] = "163,498", |
− | ["herblore"] = "145, |
+ | ["herblore"] = "145,771", |
− | ["invention"] = "53, |
+ | ["invention"] = "53,827", |
− | ["hunter"] = "87, |
+ | ["hunter"] = "87,538", |
− | ["magic"] = "223, |
+ | ["magic"] = "223,741", |
− | ["mining"] = "113, |
+ | ["mining"] = "113,747", |
− | ["prayer"] = "147, |
+ | ["prayer"] = "147,194", |
− | ["ranged"] = "195, |
+ | ["ranged"] = "195,174", |
− | ["runecrafting"] = "90, |
+ | ["runecrafting"] = "90,251", |
− | ["slayer"] = "126, |
+ | ["slayer"] = "126,994", |
− | ["smithing"] = "111, |
+ | ["smithing"] = "111,666", |
− | ["strength"] = "225, |
+ | ["strength"] = "225,285", |
− | ["summoning"] = "130, |
+ | ["summoning"] = "130,026", |
− | ["thieving"] = "96, |
+ | ["thieving"] = "96,082", |
− | ["woodcutting"] = "172, |
+ | ["woodcutting"] = "172,312", |
-- @notes this isn't updated by [[User:Cresbot]] |
-- @notes this isn't updated by [[User:Cresbot]] |
||
["overall"] = "10,000", |
["overall"] = "10,000", |
||
-- @notes this isn't updated by [[User:Cresbot]] |
-- @notes this isn't updated by [[User:Cresbot]] |
||
["overall f2p"] = "8", |
["overall f2p"] = "8", |
||
− | ["updated"] = " |
+ | ["updated"] = "31 May 2017" |
} |
} |
||
Line 118: | Line 118: | ||
-- |
-- |
||
local count_200mxp = { |
local count_200mxp = { |
||
− | ["agility"] = " |
+ | ["agility"] = "454", |
["attack"] = "1,090", |
["attack"] = "1,090", |
||
− | ["constitution"] = " |
+ | ["constitution"] = "3,001", |
["construction"] = "419", |
["construction"] = "419", |
||
− | ["cooking"] = "1, |
+ | ["cooking"] = "1,361", |
["crafting"] = "522", |
["crafting"] = "522", |
||
− | ["defence"] = "2, |
+ | ["defence"] = "2,214", |
["divination"] = "455", |
["divination"] = "455", |
||
["dungeoneering"] = "8,539", |
["dungeoneering"] = "8,539", |
||
− | ["farming"] = " |
+ | ["farming"] = "701", |
["firemaking"] = "1,618", |
["firemaking"] = "1,618", |
||
− | ["fishing"] = "1, |
+ | ["fishing"] = "1,307", |
− | ["fletching"] = " |
+ | ["fletching"] = "718", |
["herblore"] = "805", |
["herblore"] = "805", |
||
["hunter"] = "564", |
["hunter"] = "564", |
||
− | ["invention"] = "3, |
+ | ["invention"] = "3,953", |
− | ["magic"] = "2, |
+ | ["magic"] = "2,386", |
− | ["mining"] = "1, |
+ | ["mining"] = "1,260", |
["prayer"] = "559", |
["prayer"] = "559", |
||
− | ["ranged"] = "2, |
+ | ["ranged"] = "2,128", |
["runecrafting"] = "393", |
["runecrafting"] = "393", |
||
["slayer"] = "1,157", |
["slayer"] = "1,157", |
||
− | ["smithing"] = " |
+ | ["smithing"] = "604", |
− | ["strength"] = "1, |
+ | ["strength"] = "1,049", |
["summoning"] = "1,572", |
["summoning"] = "1,572", |
||
− | ["thieving"] = "2, |
+ | ["thieving"] = "2,805", |
− | ["woodcutting"] = " |
+ | ["woodcutting"] = "665", |
["overall"] = "166", |
["overall"] = "166", |
||
− | ["updated"] = " |
+ | ["updated"] = "31 May 2017" |
} |
} |
||
Line 168: | Line 168: | ||
local lowest_ranks = { |
local lowest_ranks = { |
||
["agility"] = "15", |
["agility"] = "15", |
||
− | ["agility.rank"] = "900, |
+ | ["agility.rank"] = "900,046", |
["attack"] = "15", |
["attack"] = "15", |
||
− | ["attack.rank"] = "1,342, |
+ | ["attack.rank"] = "1,342,673", |
["constitution"] = "15", |
["constitution"] = "15", |
||
− | ["constitution.rank"] = "1,526, |
+ | ["constitution.rank"] = "1,526,142", |
["construction"] = "15", |
["construction"] = "15", |
||
− | ["construction.rank"] = "736, |
+ | ["construction.rank"] = "736,275", |
["cooking"] = "15", |
["cooking"] = "15", |
||
− | ["cooking.rank"] = "1,230, |
+ | ["cooking.rank"] = "1,230,029", |
["crafting"] = "15", |
["crafting"] = "15", |
||
− | ["crafting.rank"] = "1,080, |
+ | ["crafting.rank"] = "1,080,102", |
["defence"] = "15", |
["defence"] = "15", |
||
− | ["defence.rank"] = "1, |
+ | ["defence.rank"] = "1,333,959", |
["divination"] = "15", |
["divination"] = "15", |
||
− | ["divination.rank"] = "502, |
+ | ["divination.rank"] = "502,269", |
["dungeoneering"] = "15", |
["dungeoneering"] = "15", |
||
− | ["dungeoneering.rank"] = "819, |
+ | ["dungeoneering.rank"] = "819,717", |
["farming"] = "15", |
["farming"] = "15", |
||
− | ["farming.rank"] = "664, |
+ | ["farming.rank"] = "664,039", |
["firemaking"] = "15", |
["firemaking"] = "15", |
||
− | ["firemaking.rank"] = "1, |
+ | ["firemaking.rank"] = "1,225,980", |
["fishing"] = "15", |
["fishing"] = "15", |
||
− | ["fishing.rank"] = "1,151, |
+ | ["fishing.rank"] = "1,151,632", |
["fletching"] = "15", |
["fletching"] = "15", |
||
− | ["fletching.rank"] = " |
+ | ["fletching.rank"] = "861,951", |
["herblore"] = "15", |
["herblore"] = "15", |
||
− | ["herblore.rank"] = " |
+ | ["herblore.rank"] = "780,974", |
["hunter"] = "15", |
["hunter"] = "15", |
||
− | ["hunter.rank"] = "704, |
+ | ["hunter.rank"] = "704,107", |
["invention"] = "15", |
["invention"] = "15", |
||
− | ["invention.rank"] = "163, |
+ | ["invention.rank"] = "163,262", |
["magic"] = "15", |
["magic"] = "15", |
||
− | ["magic.rank"] = "1,230, |
+ | ["magic.rank"] = "1,230,060", |
["mining"] = "15", |
["mining"] = "15", |
||
− | ["mining.rank"] = "1,249, |
+ | ["mining.rank"] = "1,249,125", |
["prayer"] = "15", |
["prayer"] = "15", |
||
− | ["prayer.rank"] = "1, |
+ | ["prayer.rank"] = "1,198,855", |
["ranged"] = "15", |
["ranged"] = "15", |
||
− | ["ranged.rank"] = "1,153, |
+ | ["ranged.rank"] = "1,153,360", |
["runecrafting"] = "15", |
["runecrafting"] = "15", |
||
− | ["runecrafting.rank"] = "935, |
+ | ["runecrafting.rank"] = "935,329", |
["slayer"] = "15", |
["slayer"] = "15", |
||
− | ["slayer.rank"] = "833, |
+ | ["slayer.rank"] = "833,183", |
["smithing"] = "15", |
["smithing"] = "15", |
||
− | ["smithing.rank"] = "1,172, |
+ | ["smithing.rank"] = "1,172,442", |
["strength"] = "15", |
["strength"] = "15", |
||
− | ["strength.rank"] = "1, |
+ | ["strength.rank"] = "1,334,948", |
["summoning"] = "15", |
["summoning"] = "15", |
||
− | ["summoning.rank"] = "650, |
+ | ["summoning.rank"] = "650,496", |
["thieving"] = "15", |
["thieving"] = "15", |
||
− | ["thieving.rank"] = "877, |
+ | ["thieving.rank"] = "877,319", |
["woodcutting"] = "15", |
["woodcutting"] = "15", |
||
− | ["woodcutting.rank"] = "1,310, |
+ | ["woodcutting.rank"] = "1,310,534", |
["overall"] = "38", |
["overall"] = "38", |
||
− | ["overall.rank"] = "1,947, |
+ | ["overall.rank"] = "1,947,135", |
− | ["updated"] = " |
+ | ["updated"] = "31 May 2017" |
} |
} |
||
Revision as of 23:40, 30 May 2017
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,788",
["attack"] = "6,971",
["constitution"] = "13,930",
["construction"] = "1,436",
["cooking"] = "3,877",
["crafting"] = "1,769",
["defence"] = "13,912",
["divination"] = "1,773",
["dungeoneering"] = "33,695",
["farming"] = "2,730",
["firemaking"] = "6,558",
["fishing"] = "5,787",
["fletching"] = "2,744",
["herblore"] = "3,857",
["hunter"] = "2,019",
["invention"] = "26,191",
["magic"] = "11,983",
["mining"] = "5,804",
["prayer"] = "2,574",
["ranged"] = "11,281",
["runecrafting"] = "1,369",
["slayer"] = "7,013",
["smithing"] = "2,457",
["strength"] = "6,327",
["summoning"] = "5,705",
["thieving"] = "9,786",
["woodcutting"] = "2,433",
-- @notes this isn't updated by [[User:Cresbot]]
["overall"] = "70",
["updated"] = "31 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"] = "85,702",
["attack"] = "198,134",
["constitution"] = "224,794",
["construction"] = "87,131",
["cooking"] = "198,128",
["crafting"] = "101,821",
["defence"] = "205,347",
["divination"] = "77,659",
["dungeoneering"] = "108,243",
["farming"] = "86,729",
["firemaking"] = "191,011",
["fishing"] = "131,813",
["fletching"] = "163,498",
["herblore"] = "145,771",
["invention"] = "53,827",
["hunter"] = "87,538",
["magic"] = "223,741",
["mining"] = "113,747",
["prayer"] = "147,194",
["ranged"] = "195,174",
["runecrafting"] = "90,251",
["slayer"] = "126,994",
["smithing"] = "111,666",
["strength"] = "225,285",
["summoning"] = "130,026",
["thieving"] = "96,082",
["woodcutting"] = "172,312",
-- @notes this isn't updated by [[User:Cresbot]]
["overall"] = "10,000",
-- @notes this isn't updated by [[User:Cresbot]]
["overall f2p"] = "8",
["updated"] = "31 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"] = "454",
["attack"] = "1,090",
["constitution"] = "3,001",
["construction"] = "419",
["cooking"] = "1,361",
["crafting"] = "522",
["defence"] = "2,214",
["divination"] = "455",
["dungeoneering"] = "8,539",
["farming"] = "701",
["firemaking"] = "1,618",
["fishing"] = "1,307",
["fletching"] = "718",
["herblore"] = "805",
["hunter"] = "564",
["invention"] = "3,953",
["magic"] = "2,386",
["mining"] = "1,260",
["prayer"] = "559",
["ranged"] = "2,128",
["runecrafting"] = "393",
["slayer"] = "1,157",
["smithing"] = "604",
["strength"] = "1,049",
["summoning"] = "1,572",
["thieving"] = "2,805",
["woodcutting"] = "665",
["overall"] = "166",
["updated"] = "31 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"] = "900,046",
["attack"] = "15",
["attack.rank"] = "1,342,673",
["constitution"] = "15",
["constitution.rank"] = "1,526,142",
["construction"] = "15",
["construction.rank"] = "736,275",
["cooking"] = "15",
["cooking.rank"] = "1,230,029",
["crafting"] = "15",
["crafting.rank"] = "1,080,102",
["defence"] = "15",
["defence.rank"] = "1,333,959",
["divination"] = "15",
["divination.rank"] = "502,269",
["dungeoneering"] = "15",
["dungeoneering.rank"] = "819,717",
["farming"] = "15",
["farming.rank"] = "664,039",
["firemaking"] = "15",
["firemaking.rank"] = "1,225,980",
["fishing"] = "15",
["fishing.rank"] = "1,151,632",
["fletching"] = "15",
["fletching.rank"] = "861,951",
["herblore"] = "15",
["herblore.rank"] = "780,974",
["hunter"] = "15",
["hunter.rank"] = "704,107",
["invention"] = "15",
["invention.rank"] = "163,262",
["magic"] = "15",
["magic.rank"] = "1,230,060",
["mining"] = "15",
["mining.rank"] = "1,249,125",
["prayer"] = "15",
["prayer.rank"] = "1,198,855",
["ranged"] = "15",
["ranged.rank"] = "1,153,360",
["runecrafting"] = "15",
["runecrafting.rank"] = "935,329",
["slayer"] = "15",
["slayer.rank"] = "833,183",
["smithing"] = "15",
["smithing.rank"] = "1,172,442",
["strength"] = "15",
["strength.rank"] = "1,334,948",
["summoning"] = "15",
["summoning.rank"] = "650,496",
["thieving"] = "15",
["thieving.rank"] = "877,319",
["woodcutting"] = "15",
["woodcutting.rank"] = "1,310,534",
["overall"] = "38",
["overall.rank"] = "1,947,135",
["updated"] = "31 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