Skip to content

Commit

Permalink
Merge pull request #29 from xicemanx95/master
Browse files Browse the repository at this point in the history
Added necessary setting from YesAlready
  • Loading branch information
Jaksuhn committed Feb 4, 2024
2 parents f21fed9 + 3f03e77 commit de928c1
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Community Scripts/Misc/Idyllshire Turnin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ This requires:
-> IMPORTANT: YesAlready -> Yes/No -> Add this: You cannot currently equip this item. Proceed with the transaction?
Yes, you can zone lock this to strictly Idyllshire if you would like (I did)
ALSO IMPORTANT!! YesAlready -> Bothers -> Scroll near the VERY bottom and make sure "ShopExchangeItemDialog" is checkmarked
-> Teleporter
-> Pandora (Enable "Auto-select Turn-ins & Automatically Confirm")
-> Lifestream
-> Deliveroo [If you need the link, here --> https://plugins.carvel.li/]
Version: 2.6 [Finally Released, now with GC Teleport Tickets]
Version: 2.7 [Finally Released, now with GC Teleport Tickets]
- Fixed the teleport issue in Idyllshire
]]

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
--[[
Description: Full automation of Diadem, to allow leveling of an item. You need to initially click the first item you want to gather here, but afterwards can just walk away.
Now built to have both Botanist & Miner in the same script. Detects which class you're on, and has a built in route for both as well!
Required Plugins:
-> visland
-> snd [Make sure to press the lua button when you import this]
Author: LegendofIceman
Version: 6
Class: Miner/BTN
Link: https://discord.com/channels/1001823907193552978/1191076157882388581/1193291297067384873
]]

--When do you want to repair your own gear? From 0-100 (it's in percentage, but enter a whole value
Repair_Amount = 75


-- Miner Red Route
Miner_Red = "H4sIAAAAAAAACu2Z32sjRwzH/xWzTy04w0gjaTR+K70WAk1/HAdp7+iDibec6dkb7E3LEfK/V2PPelNqw4Kfbrd52rGH9eSD9NVXmufqx+WmrhbVm/VyVW9mN7O79bbezb6ava1Xsx/seT5DIXycfV3Nq/vl58dmvW331eLDc/Vzs1+362ZbLZ6rX6vFDUh0STT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2HcoTFA0ftMRtKzDkxUAo8UeI5vS4wO9DbaUc42QiqCDFxUT9OaRnvVtDTsTSq6jL5ZS9l6wKWSrU8a7oDLqBu5OFtcn6/+Ah2KxUP6HQAA"

-- Main loop, test to see if you're in the Diadem or not
::Wait::
while not IsInZone(886) do
yield("/wait 10")
end
yield("/visland stop")
yield("/wait 3")

-- If you have the ability to repair your gear, this will allow you to do so.
-- Currently will repair when your gear gets to 50% or below, but you can change the value to be whatever you would like
::RepairMode::
if NeedsRepair(Repair_Amount) then
yield("/generalaction repair")
yield("/waitaddon Repair")
yield("/pcall Repair true 0")
yield("/wait 0.1")
if IsAddonVisible("SelectYesno") then
yield("/pcall SelectYesno true 0")
yield("/wait 0.1")
end
while GetCharacterCondition(39) do yield("/wait 1") end
yield("/wait 1")
yield("/pcall Repair true -1")
end

::JobTester::
Current_job = GetClassJobId()
if (Current_job == 17) or (Current_job == 16) then
goto Enter
elseif (Current_job > 17) or (Current_job < 15) then
yield("/echo Hmm... You're not on a gathering job, swtich to one and stop the script again.")
yield("/snd stop")
end

-- If not in the Diadem, then if you're standing in front of the NCP "Aurvael", this will queue you into it
::Enter::
if IsInZone(886) then
while GetCharacterCondition(34, false) and GetCharacterCondition(45, false) do
if IsAddonVisible("ContentsFinderConfirm") then
yield("/pcall ContentsFinderConfirm true 8")
elseif GetTargetName()=="" then
yield("/target Aurvael")
elseif GetCharacterCondition(32, false) then
yield("/pinteract")
end
if IsAddonVisible("Talk") then yield("/click talk") end
if IsAddonVisible("SelectString") then yield("/pcall SelectString true 0") end
if IsAddonVisible("SelectYesno") then yield("/pcall SelectYesno true 0") end
yield("/wait 0.5")
end
while GetCharacterCondition(35, false) do yield("/wait 1") end
while GetCharacterCondition(35) do yield("/wait 1") end
yield("/wait 3")
end

-- Once in the Diadem, moves you to the starting point to start the gathering loop.
::Move::
if IsInZone(939) then
while GetCharacterCondition(77, false) do
if GetCharacterCondition(4, false) then
yield("/mount \"Company Chocobo\"")
yield("/wait 3")
else
yield("/generalaction jump")
yield("/wait 0.5")
end
end
yield("/visland movedir 0 20 0")
yield("/wait 1")
yield("/visland movedir 50 0 -50")
yield("/wait 1")
yield("/visland moveto -235 30 -435")
yield("/wait 1")
while IsMoving() do yield("/wait 1") end

if Current_job == 17 then -- Botanist Route
yield("/visland exectemp "..Botanist_Pink)
elseif Current_job == 16 then -- Miner Route
yield("/visland exectemp "..Miner_Red)
end
end

goto Wait

0 comments on commit de928c1

Please sign in to comment.