(Updating hiscore counts) Tag: apiedit |
(Updating hiscore counts) Tag: apiedit |
||
Line 16: | Line 16: | ||
-- |
-- |
||
local count_120s = { |
local count_120s = { |
||
− | ["agility"] = "1, |
+ | ["agility"] = "1,857", |
− | ["attack"] = "7, |
+ | ["attack"] = "7,203", |
− | ["constitution"] = "14, |
+ | ["constitution"] = "14,382", |
− | ["construction"] = "1, |
+ | ["construction"] = "1,480", |
["cooking"] = "3,953", |
["cooking"] = "3,953", |
||
− | ["crafting"] = "1, |
+ | ["crafting"] = "1,824", |
− | ["defence"] = "14, |
+ | ["defence"] = "14,426", |
− | ["divination"] = "1, |
+ | ["divination"] = "1,863", |
− | ["dungeoneering"] = "34, |
+ | ["dungeoneering"] = "34,142", |
− | ["farming"] = "2, |
+ | ["farming"] = "2,835", |
− | ["firemaking"] = "6, |
+ | ["firemaking"] = "6,774", |
− | ["fishing"] = "6, |
+ | ["fishing"] = "6,014", |
− | ["fletching"] = "2, |
+ | ["fletching"] = "2,773", |
− | ["herblore"] = "3, |
+ | ["herblore"] = "3,906", |
− | ["hunter"] = "2, |
+ | ["hunter"] = "2,116", |
− | ["invention"] = "27, |
+ | ["invention"] = "27,645", |
− | ["magic"] = "12, |
+ | ["magic"] = "12,349", |
− | ["mining"] = " |
+ | ["mining"] = "6,001", |
− | ["prayer"] = "2, |
+ | ["prayer"] = "2,651", |
− | ["ranged"] = "11, |
+ | ["ranged"] = "11,628", |
− | ["runecrafting"] = "1, |
+ | ["runecrafting"] = "1,443", |
− | ["slayer"] = "7, |
+ | ["slayer"] = "7,853", |
− | ["smithing"] = "2, |
+ | ["smithing"] = "2,555", |
− | ["strength"] = "6, |
+ | ["strength"] = "6,527", |
["summoning"] = "5,751", |
["summoning"] = "5,751", |
||
− | ["thieving"] = "10, |
+ | ["thieving"] = "10,023", |
["woodcutting"] = "2,544", |
["woodcutting"] = "2,544", |
||
-- @notes this isn't updated by [[User:Cresbot]] |
-- @notes this isn't updated by [[User:Cresbot]] |
||
["overall"] = "70", |
["overall"] = "70", |
||
− | ["updated"] = " |
+ | ["updated"] = "29 June 2017" |
} |
} |
||
Line 66: | Line 66: | ||
-- |
-- |
||
local count_99s = { |
local count_99s = { |
||
− | ["agility"] = "87, |
+ | ["agility"] = "87,155", |
− | ["attack"] = "200, |
+ | ["attack"] = "200,053", |
− | ["constitution"] = "227, |
+ | ["constitution"] = "227,134", |
− | ["construction"] = "87, |
+ | ["construction"] = "87,934", |
− | ["cooking"] = "199, |
+ | ["cooking"] = "199,506", |
− | ["crafting"] = " |
+ | ["crafting"] = "103,001", |
− | ["defence"] = "207, |
+ | ["defence"] = "207,776", |
− | ["divination"] = "79, |
+ | ["divination"] = "79,409", |
− | ["dungeoneering"] = "109, |
+ | ["dungeoneering"] = "109,587", |
− | ["farming"] = "88, |
+ | ["farming"] = "88,423", |
− | ["firemaking"] = "192, |
+ | ["firemaking"] = "192,669", |
["fishing"] = "134,351", |
["fishing"] = "134,351", |
||
− | ["fletching"] = "164, |
+ | ["fletching"] = "164,788", |
− | ["herblore"] = "146, |
+ | ["herblore"] = "146,793", |
− | ["invention"] = "56, |
+ | ["invention"] = "56,331", |
− | ["hunter"] = "89, |
+ | ["hunter"] = "89,031", |
− | ["magic"] = "225, |
+ | ["magic"] = "225,623", |
− | ["mining"] = "115, |
+ | ["mining"] = "115,854", |
− | ["prayer"] = "149, |
+ | ["prayer"] = "149,015", |
− | ["ranged"] = "197, |
+ | ["ranged"] = "197,254", |
− | ["runecrafting"] = "91, |
+ | ["runecrafting"] = "91,889", |
− | ["slayer"] = "129, |
+ | ["slayer"] = "129,766", |
− | ["smithing"] = "113, |
+ | ["smithing"] = "113,004", |
− | ["strength"] = "227, |
+ | ["strength"] = "227,201", |
− | ["summoning"] = "130, |
+ | ["summoning"] = "130,748", |
− | ["thieving"] = "97, |
+ | ["thieving"] = "97,585", |
− | ["woodcutting"] = "174, |
+ | ["woodcutting"] = "174,055", |
-- @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"] = "29 June 2017" |
} |
} |
||
Line 118: | Line 118: | ||
-- |
-- |
||
local count_200mxp = { |
local count_200mxp = { |
||
− | ["agility"] = " |
+ | ["agility"] = "486", |
− | ["attack"] = "1, |
+ | ["attack"] = "1,128", |
− | ["constitution"] = "3, |
+ | ["constitution"] = "3,123", |
["construction"] = "431", |
["construction"] = "431", |
||
− | ["cooking"] = "1, |
+ | ["cooking"] = "1,398", |
["crafting"] = "531", |
["crafting"] = "531", |
||
− | ["defence"] = "2, |
+ | ["defence"] = "2,307", |
− | ["divination"] = " |
+ | ["divination"] = "485", |
− | ["dungeoneering"] = "8, |
+ | ["dungeoneering"] = "8,641", |
− | ["farming"] = " |
+ | ["farming"] = "745", |
− | ["firemaking"] = "1, |
+ | ["firemaking"] = "1,659", |
["fishing"] = "1,364", |
["fishing"] = "1,364", |
||
− | ["fletching"] = " |
+ | ["fletching"] = "734", |
− | ["herblore"] = " |
+ | ["herblore"] = "822", |
["hunter"] = "588", |
["hunter"] = "588", |
||
− | ["invention"] = "4, |
+ | ["invention"] = "4,490", |
− | ["magic"] = "2, |
+ | ["magic"] = "2,482", |
− | ["mining"] = "1, |
+ | ["mining"] = "1,310", |
["prayer"] = "582", |
["prayer"] = "582", |
||
− | ["ranged"] = "2, |
+ | ["ranged"] = "2,211", |
− | ["runecrafting"] = " |
+ | ["runecrafting"] = "433", |
["slayer"] = "1,214", |
["slayer"] = "1,214", |
||
− | ["smithing"] = " |
+ | ["smithing"] = "623", |
["strength"] = "1,078", |
["strength"] = "1,078", |
||
− | ["summoning"] = "1, |
+ | ["summoning"] = "1,581", |
− | ["thieving"] = "2, |
+ | ["thieving"] = "2,863", |
["woodcutting"] = "692", |
["woodcutting"] = "692", |
||
["overall"] = "177", |
["overall"] = "177", |
||
− | ["updated"] = " |
+ | ["updated"] = "29 June 2017" |
} |
} |
||
Line 168: | Line 168: | ||
local lowest_ranks = { |
local lowest_ranks = { |
||
["agility"] = "15", |
["agility"] = "15", |
||
− | ["agility.rank"] = " |
+ | ["agility.rank"] = "910,925", |
["attack"] = "15", |
["attack"] = "15", |
||
− | ["attack.rank"] = "1,355, |
+ | ["attack.rank"] = "1,355,349", |
["constitution"] = "15", |
["constitution"] = "15", |
||
− | ["constitution.rank"] = "1,541, |
+ | ["constitution.rank"] = "1,541,270", |
["construction"] = "15", |
["construction"] = "15", |
||
− | ["construction.rank"] = " |
+ | ["construction.rank"] = "744,886", |
["cooking"] = "15", |
["cooking"] = "15", |
||
− | ["cooking.rank"] = "1, |
+ | ["cooking.rank"] = "1,241,888", |
["crafting"] = "15", |
["crafting"] = "15", |
||
− | ["crafting.rank"] = "1,090, |
+ | ["crafting.rank"] = "1,090,719", |
["defence"] = "15", |
["defence"] = "15", |
||
− | ["defence.rank"] = "1,347, |
+ | ["defence.rank"] = "1,347,339", |
["divination"] = "15", |
["divination"] = "15", |
||
− | ["divination.rank"] = "509, |
+ | ["divination.rank"] = "509,004", |
["dungeoneering"] = "15", |
["dungeoneering"] = "15", |
||
− | ["dungeoneering.rank"] = "827, |
+ | ["dungeoneering.rank"] = "827,863", |
["farming"] = "15", |
["farming"] = "15", |
||
− | ["farming.rank"] = "670, |
+ | ["farming.rank"] = "670,588", |
["firemaking"] = "15", |
["firemaking"] = "15", |
||
− | ["firemaking.rank"] = "1,236, |
+ | ["firemaking.rank"] = "1,236,708", |
["fishing"] = "15", |
["fishing"] = "15", |
||
− | ["fishing.rank"] = "1, |
+ | ["fishing.rank"] = "1,162,878", |
["fletching"] = "15", |
["fletching"] = "15", |
||
− | ["fletching.rank"] = "871, |
+ | ["fletching.rank"] = "871,568", |
["herblore"] = "15", |
["herblore"] = "15", |
||
− | ["herblore.rank"] = "789, |
+ | ["herblore.rank"] = "789,342", |
["hunter"] = "15", |
["hunter"] = "15", |
||
− | ["hunter.rank"] = "711, |
+ | ["hunter.rank"] = "711,563", |
["invention"] = "15", |
["invention"] = "15", |
||
− | ["invention.rank"] = "168, |
+ | ["invention.rank"] = "168,247", |
["magic"] = "15", |
["magic"] = "15", |
||
− | ["magic.rank"] = "1,242, |
+ | ["magic.rank"] = "1,242,203", |
["mining"] = "15", |
["mining"] = "15", |
||
− | ["mining.rank"] = "1, |
+ | ["mining.rank"] = "1,260,859", |
["prayer"] = "15", |
["prayer"] = "15", |
||
− | ["prayer.rank"] = "1,210, |
+ | ["prayer.rank"] = "1,210,650", |
["ranged"] = "15", |
["ranged"] = "15", |
||
− | ["ranged.rank"] = "1,164, |
+ | ["ranged.rank"] = "1,164,216", |
["runecrafting"] = "15", |
["runecrafting"] = "15", |
||
− | ["runecrafting.rank"] = "944, |
+ | ["runecrafting.rank"] = "944,812", |
["slayer"] = "15", |
["slayer"] = "15", |
||
− | ["slayer.rank"] = "843, |
+ | ["slayer.rank"] = "843,004", |
["smithing"] = "15", |
["smithing"] = "15", |
||
− | ["smithing.rank"] = "1,184, |
+ | ["smithing.rank"] = "1,184,106", |
− | ["strength"] = " |
+ | ["strength"] = "15", |
− | ["strength.rank"] = " |
+ | ["strength.rank"] = "1,347,136", |
["summoning"] = "15", |
["summoning"] = "15", |
||
− | ["summoning.rank"] = "656, |
+ | ["summoning.rank"] = "656,742", |
["thieving"] = "15", |
["thieving"] = "15", |
||
− | ["thieving.rank"] = "888, |
+ | ["thieving.rank"] = "888,306", |
["woodcutting"] = "15", |
["woodcutting"] = "15", |
||
− | ["woodcutting.rank"] = "1, |
+ | ["woodcutting.rank"] = "1,321,927", |
["overall"] = "38", |
["overall"] = "38", |
||
− | ["overall.rank"] = "1,971, |
+ | ["overall.rank"] = "1,971,158", |
− | ["updated"] = " |
+ | ["updated"] = "29 June 2017" |
} |
} |
||
Revision as of 23:41, 28 June 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,857",
["attack"] = "7,203",
["constitution"] = "14,382",
["construction"] = "1,480",
["cooking"] = "3,953",
["crafting"] = "1,824",
["defence"] = "14,426",
["divination"] = "1,863",
["dungeoneering"] = "34,142",
["farming"] = "2,835",
["firemaking"] = "6,774",
["fishing"] = "6,014",
["fletching"] = "2,773",
["herblore"] = "3,906",
["hunter"] = "2,116",
["invention"] = "27,645",
["magic"] = "12,349",
["mining"] = "6,001",
["prayer"] = "2,651",
["ranged"] = "11,628",
["runecrafting"] = "1,443",
["slayer"] = "7,853",
["smithing"] = "2,555",
["strength"] = "6,527",
["summoning"] = "5,751",
["thieving"] = "10,023",
["woodcutting"] = "2,544",
-- @notes this isn't updated by [[User:Cresbot]]
["overall"] = "70",
["updated"] = "29 June 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"] = "87,155",
["attack"] = "200,053",
["constitution"] = "227,134",
["construction"] = "87,934",
["cooking"] = "199,506",
["crafting"] = "103,001",
["defence"] = "207,776",
["divination"] = "79,409",
["dungeoneering"] = "109,587",
["farming"] = "88,423",
["firemaking"] = "192,669",
["fishing"] = "134,351",
["fletching"] = "164,788",
["herblore"] = "146,793",
["invention"] = "56,331",
["hunter"] = "89,031",
["magic"] = "225,623",
["mining"] = "115,854",
["prayer"] = "149,015",
["ranged"] = "197,254",
["runecrafting"] = "91,889",
["slayer"] = "129,766",
["smithing"] = "113,004",
["strength"] = "227,201",
["summoning"] = "130,748",
["thieving"] = "97,585",
["woodcutting"] = "174,055",
-- @notes this isn't updated by [[User:Cresbot]]
["overall"] = "10,000",
-- @notes this isn't updated by [[User:Cresbot]]
["overall f2p"] = "8",
["updated"] = "29 June 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"] = "486",
["attack"] = "1,128",
["constitution"] = "3,123",
["construction"] = "431",
["cooking"] = "1,398",
["crafting"] = "531",
["defence"] = "2,307",
["divination"] = "485",
["dungeoneering"] = "8,641",
["farming"] = "745",
["firemaking"] = "1,659",
["fishing"] = "1,364",
["fletching"] = "734",
["herblore"] = "822",
["hunter"] = "588",
["invention"] = "4,490",
["magic"] = "2,482",
["mining"] = "1,310",
["prayer"] = "582",
["ranged"] = "2,211",
["runecrafting"] = "433",
["slayer"] = "1,214",
["smithing"] = "623",
["strength"] = "1,078",
["summoning"] = "1,581",
["thieving"] = "2,863",
["woodcutting"] = "692",
["overall"] = "177",
["updated"] = "29 June 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"] = "910,925",
["attack"] = "15",
["attack.rank"] = "1,355,349",
["constitution"] = "15",
["constitution.rank"] = "1,541,270",
["construction"] = "15",
["construction.rank"] = "744,886",
["cooking"] = "15",
["cooking.rank"] = "1,241,888",
["crafting"] = "15",
["crafting.rank"] = "1,090,719",
["defence"] = "15",
["defence.rank"] = "1,347,339",
["divination"] = "15",
["divination.rank"] = "509,004",
["dungeoneering"] = "15",
["dungeoneering.rank"] = "827,863",
["farming"] = "15",
["farming.rank"] = "670,588",
["firemaking"] = "15",
["firemaking.rank"] = "1,236,708",
["fishing"] = "15",
["fishing.rank"] = "1,162,878",
["fletching"] = "15",
["fletching.rank"] = "871,568",
["herblore"] = "15",
["herblore.rank"] = "789,342",
["hunter"] = "15",
["hunter.rank"] = "711,563",
["invention"] = "15",
["invention.rank"] = "168,247",
["magic"] = "15",
["magic.rank"] = "1,242,203",
["mining"] = "15",
["mining.rank"] = "1,260,859",
["prayer"] = "15",
["prayer.rank"] = "1,210,650",
["ranged"] = "15",
["ranged.rank"] = "1,164,216",
["runecrafting"] = "15",
["runecrafting.rank"] = "944,812",
["slayer"] = "15",
["slayer.rank"] = "843,004",
["smithing"] = "15",
["smithing.rank"] = "1,184,106",
["strength"] = "15",
["strength.rank"] = "1,347,136",
["summoning"] = "15",
["summoning.rank"] = "656,742",
["thieving"] = "15",
["thieving.rank"] = "888,306",
["woodcutting"] = "15",
["woodcutting.rank"] = "1,321,927",
["overall"] = "38",
["overall.rank"] = "1,971,158",
["updated"] = "29 June 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