Update who sniffer with multiple queries
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
-- TICKER_5000
|
-- TICKER_1000
|
||||||
function()
|
function()
|
||||||
SetWhoToUI(1)
|
SetWhoToUI(1)
|
||||||
SendWho(aura_env.whoQuery)
|
local query = aura_env.whoQueries[aura_env.whoQueryIdx]
|
||||||
|
SendWho(query)
|
||||||
|
aura_env.whoQueryIdx = aura_env.whoQueryIdx + 1
|
||||||
|
if aura_env.whoQueryIdx > #aura_env.whoQueries then
|
||||||
|
aura_env.whoQueryIdx = 1
|
||||||
|
end
|
||||||
end
|
end
|
||||||
File diff suppressed because one or more lines are too long
@@ -57,8 +57,12 @@ end
|
|||||||
|
|
||||||
aura_env.messageQueue = {}
|
aura_env.messageQueue = {}
|
||||||
aura_env.ttl = 60
|
aura_env.ttl = 60
|
||||||
aura_env.whoQuery =
|
aura_env.whoQueryIdx = 1
|
||||||
"z-\"Orgrimmar\" z-\"Durotar\" 110 r-\"Human\" r-\"Dwarf\" r-\"Night Elf\" r-\"Gnome\" r-\"Draenei\" r-\"Worgen\" r-\"Kul Tiran\" r-\"Dark Iron Dwarf\" r-\"Void Elf\" r-\"Lightforged Draenei\" r-\"Mechagnome\""
|
aura_env.whoQueries = {
|
||||||
|
"z-\"Orgrimmar\" z-\"Durotar\" g-\"БеспредеЛ\"",
|
||||||
|
"z-\"Orgrimmar\" z-\"Durotar\" r-\"Human\" r-\"Dwarf\" r-\"Night Elf\" r-\"Gnome\"",
|
||||||
|
"z-\"Orgrimmar\" z-\"Durotar\" r-\"Draenei\" r-\"Worgen\" r-\"Kul Tiran\" r-\"Dark Iron Dwarf\" r-\"Void Elf\" r-\"Lightforged Draenei\" r-\"Mechagnome\""
|
||||||
|
}
|
||||||
aura_env.raceMap = {
|
aura_env.raceMap = {
|
||||||
["Orc"] = "Horde",
|
["Orc"] = "Horde",
|
||||||
["Undead"] = "Horde",
|
["Undead"] = "Horde",
|
||||||
|
|||||||
Reference in New Issue
Block a user