mordred
New Member
Posts: 4 Likes: 1
|
Post by mordred on Aug 4, 2020 14:20:10 GMT
Lockpick.lua (1.05 KB) Lockpick.lua (1.05 KB)You will need roughly 900-1400 lockpicks total depending on RNG. 0 - 30: Skill Book purchased from the Skill Trainer 30 - 50: Medium locked boxes (Note: You have NO chance to gain on Medium Locked boxes after you reach 49) 50- 70: Hard locked boxes 70+ - cant be macro'd.. need to unlock dungeon chests --Dungeon chests-- Cleverly 70-95 Devious 95-GM
--Lockpick Trainer v1--
--For EasyLOU 1.0.0.29--
--LoU 1.0.0.4--
--By Mordred--
--Instructions: 1. right click on your key and add to keyring.
-- 2. right click on your key -> rename key to MasterKey
-- 3. right click on your key -> remove
-- 4. have lockpicks in your pack and happy skilling up.
--
--Functions--
function lockpick()
FindItem("Lockpick", BACKPACKID)
SayCustom(".x use " .. FINDITEMID[1] .. " Use")
FindItem("locked box")
TargetDynamic(FINDITEMID[1])
sleep(4000)
end
function checkLock()
FindItem("locked box", BACKPACKID)
GetTooltip(FINDITEMID[1])
local lock = TOOLTIPTEXT
if string.match(lock, "Locked") then
else
lockChest()
end
end
function lockChest()
FindItem("masterkey")
SayCustom(".x use " .. FINDITEMID[1] .. " Use")
FindItem("locked box")
TargetDynamic(FINDITEMID[1])
end
--Base Code--
while true do
FindItem("lockpick", BACKPACKID)
if FINDITEMID[1] == nil then
print ("out of lockpicks")
sleep(5000)
else
lockpick()
checkLock()
end
end
|
|
|
|
Post by polymerase on Sept 2, 2020 16:45:48 GMT
Suggested changes:
--Lockpick Trainer v1-- --For EasyLOU 1.0.0.29-- --LoU 1.0.0.4-- --By Mordred--
--Instructions: 1. right click on your key and add to keyring. -- 2. right click on your key -> rename key to MasterKey -- 3. right click on your key -> remove -- 4. have lockpicks in your pack and happy skilling up. --
--Functions-- function lockpick() FindItem("Lockpick", BACKPACKID) --SayCustom(".x use " .. FINDITEM[1].ID .. " Use") ContextMenu(FINDITEM[1].ID, "Use") FindItem("locked box") TargetDynamic(FINDITEM[1].ID) sleep(4000) end
function checkLock() FindItem("locked box", BACKPACKID)
GetTooltip(FINDITEM[1].ID) local lock = TOOLTIPTEXT
if not string.match(lock, "Locked") then lockChest() end end
function lockChest() FindItem("masterkey") --SayCustom(".x use " .. FINDITEM[1].ID .. " Use") ContextMenu(FINDITEM[1].ID, "Use") FindItem("locked box") TargetDynamic(FINDITEM[1].ID) end
--Base Code-- while true do FindItem("lockpick", BACKPACKID) if FINDITEM == nil then print ("out of lockpicks") sleep(5000) else lockpick() checkLock() end end Not tested.
|
|