From 548a41211e0ff6a8b5ab555fc0f50f43c4b783e0 Mon Sep 17 00:00:00 2001 From: UcanPatates <56081921+UcanPatatess@users.noreply.github.com> Date: Wed, 27 Mar 2024 05:07:28 +0300 Subject: [PATCH 01/20] Create TripleTriadSeller_UcanPatates.lua A Card seller snd you can use this as a function very basic --- .../TripleTriadSeller_UcanPatates.lua | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua diff --git a/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua b/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua new file mode 100644 index 00000000..2dcbe37a --- /dev/null +++ b/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua @@ -0,0 +1,35 @@ +yield("/target Triple Triad Trader") +yield("/wait 0.4") +yield("/pinteract") +yield("/wait 0.2") +yield("/pcall SelectIconString false 1") +yield("/wait 0.4") +repeat + yield("/wait 0.1") +until IsAddonReady("TripleTriadCoinExchange") + +yield("/wait 0.3") +nodecheck = IsNodeVisible("TripleTriadCoinExchange",2) +nodenumber = GetNodeText("TripleTriadCoinExchange",3 ,1 ,5) +a = tonumber(nodenumber) +yield("/wait 0.3") +if nodecheck then + yield("/wait 0.2") + yield("/pcall TripleTriadCoinExchange true -1") + yield("/wait 0.2") +else + while nodecheck == false do + yield("/wait 0.4") + yield("/pcall TripleTriadCoinExchange true 0") + yield("/wait 0.3") + yield(string.format("/pcall ShopCardDialog true 0 %d", a)) + yield("/wait 0.2") + nodecheck = IsNodeVisible("TripleTriadCoinExchange",2) + nodenumber = GetNodeText("TripleTriadCoinExchange",3 ,1 ,5) + a = tonumber(nodenumber) + if nodecheck then + yield("/wait 0.2") + yield("/pcall TripleTriadCoinExchange true -1") + end + end +end From da2390368d24181b16fd06a8130de84bfbeac36b Mon Sep 17 00:00:00 2001 From: davoodinator <135515620+McVaxius@users.noreply.github.com> Date: Wed, 27 Mar 2024 07:21:07 -0400 Subject: [PATCH 02/20] changed to force off / on for multi changed to force off / on for multi just small sanity check --- .../RobustGCturnin/RobustGCTurnIn_McVaxius.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Community Scripts/AutoRetainer Companions/RobustGCturnin/RobustGCTurnIn_McVaxius.lua b/Community Scripts/AutoRetainer Companions/RobustGCturnin/RobustGCTurnIn_McVaxius.lua index c9bad708..1f8cdb01 100644 --- a/Community Scripts/AutoRetainer Companions/RobustGCturnin/RobustGCTurnIn_McVaxius.lua +++ b/Community Scripts/AutoRetainer Companions/RobustGCturnin/RobustGCTurnIn_McVaxius.lua @@ -33,6 +33,7 @@ local process_fc_buffs = 1 local process_players = 1 +yield("/ays multi d") --some ideas for next version --deliveroo config suggestion: add some seals. and we can have a seal 0 or 1 option in settings --add instructions for how to use this script @@ -177,5 +178,5 @@ if process_players == 1 then end end --last one out turn off the lights -yield("/ays multi") +yield("/ays multi e") yield("/pcraft stop") \ No newline at end of file From 5a7ebaabdaab7c0f22b75615ed8d7515656ce605 Mon Sep 17 00:00:00 2001 From: davoodinator <135515620+McVaxius@users.noreply.github.com> Date: Wed, 27 Mar 2024 10:46:07 -0400 Subject: [PATCH 03/20] one more sanity check for movement one more sanity check for movement --- .../RobustGCturnin/RobustGCTurnIn_McVaxius.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/Community Scripts/AutoRetainer Companions/RobustGCturnin/RobustGCTurnIn_McVaxius.lua b/Community Scripts/AutoRetainer Companions/RobustGCturnin/RobustGCTurnIn_McVaxius.lua index 1f8cdb01..b941cce9 100644 --- a/Community Scripts/AutoRetainer Companions/RobustGCturnin/RobustGCTurnIn_McVaxius.lua +++ b/Community Scripts/AutoRetainer Companions/RobustGCturnin/RobustGCTurnIn_McVaxius.lua @@ -71,6 +71,7 @@ function Final_GC_Cleaning() --yield("/automove on") --yield("/wait 1") + visland_stop_moving() --just in case we want to auto equip rq before dumping gear --deliveroo i choose you yield("/deliveroo enable") yield("/wait 1") From 1eebd8215bd51904a6c484b2ffaabb9ad738c4f7 Mon Sep 17 00:00:00 2001 From: davoodinator <135515620+McVaxius@users.noreply.github.com> Date: Thu, 28 Mar 2024 06:47:40 -0400 Subject: [PATCH 04/20] removed a counter shift removed a counter shift dunno why it was even in there. it breaks the logging to show wrong char sometimes now it shows right now in log --- .../Gathering/DeluxeOceanFishingCharSwapping_MxVaxius.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Community Scripts/Gathering/DeluxeOceanFishingCharSwapping_MxVaxius.lua b/Community Scripts/Gathering/DeluxeOceanFishingCharSwapping_MxVaxius.lua index 80395087..2e231982 100644 --- a/Community Scripts/Gathering/DeluxeOceanFishingCharSwapping_MxVaxius.lua +++ b/Community Scripts/Gathering/DeluxeOceanFishingCharSwapping_MxVaxius.lua @@ -291,8 +291,8 @@ while true do fishing() --drop a log file entry on the charname + Level -- Define the folder path - feesh_c = feesh_c - 1 - vich_one() + --feesh_c = feesh_c - 1 + --vich_one() -- Open a file in write mode within the specified folder local file = io.open(folderPath .. "FeeshLevels.txt", "a") @@ -312,7 +312,7 @@ while true do yield("/echo Error: Unable to open file for writing") --file:write("Error: Unable to open file for writing\n") end - feesh_c = feesh_c + 1 + --feesh_c = feesh_c + 1 vich_one() --yield("/ays multi") yield("/ays multi e") From 9542400a61139a77498dc08d057c6614a0d4ee80 Mon Sep 17 00:00:00 2001 From: davoodinator <135515620+McVaxius@users.noreply.github.com> Date: Fri, 29 Mar 2024 23:58:52 -0400 Subject: [PATCH 05/20] Create frenrider_McVaxius.lua --- Community Scripts/Misc/frenrider_McVaxius.lua | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Community Scripts/Misc/frenrider_McVaxius.lua diff --git a/Community Scripts/Misc/frenrider_McVaxius.lua b/Community Scripts/Misc/frenrider_McVaxius.lua new file mode 100644 index 00000000..03d03e7b --- /dev/null +++ b/Community Scripts/Misc/frenrider_McVaxius.lua @@ -0,0 +1,34 @@ +--script to kind of autofollow specific person in party when not in a duty by riding their vehicule +--meant to use when your ahh botting treasure maps :~D + +--requirements : +--croizats SND - disable SND targeting in config +--simpletweaks with targeting fix enabled + +fren = "Frend Name" --can be partial as long as its unique +weirdvar = 1 +mker = "cross" --in case you want the other shapes. valid shapes are triangle square circle attack1-8 bind1-3 ignore1-2 + +--init +yield("/target "..fren) +yield("/wait 0.5") +yield("/mk cross ") +yield("/item Gysahl Greens") + +while weirdvar == 1 do + if GetCharacterCondition(34) == false then --not in duty + --check if chocobro is up or not! + if GetCharacterCondition(26) == false then --not in combat + if GetCharacterCondition(4) == false then --not mounted + yield("/target ") + yield("/wait 0.5") + yield("/lockon on") + yield("/automove on") + yield("/ridepillion <"..mker.."> 1") + yield("/ridepillion <"..mker.."> 2") + yield("/ridepillion <"..mker.."> 3") + end + end + end + yield("/wait 1") +end \ No newline at end of file From 4abe46e3f15d7ab85eb3601551ea9e470a544203 Mon Sep 17 00:00:00 2001 From: davoodinator <135515620+McVaxius@users.noreply.github.com> Date: Sat, 30 Mar 2024 10:21:03 -0400 Subject: [PATCH 06/20] more updates more updates --- Community Scripts/Misc/frenrider_McVaxius.lua | 45 +++++++++++++------ 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/Community Scripts/Misc/frenrider_McVaxius.lua b/Community Scripts/Misc/frenrider_McVaxius.lua index 03d03e7b..1ddba454 100644 --- a/Community Scripts/Misc/frenrider_McVaxius.lua +++ b/Community Scripts/Misc/frenrider_McVaxius.lua @@ -7,26 +7,43 @@ fren = "Frend Name" --can be partial as long as its unique weirdvar = 1 -mker = "cross" --in case you want the other shapes. valid shapes are triangle square circle attack1-8 bind1-3 ignore1-2 +--mker = "cross" --in case you want the other shapes. valid shapes are triangle square circle attack1-8 bind1-3 ignore1-2 --init yield("/target "..fren) yield("/wait 0.5") -yield("/mk cross ") -yield("/item Gysahl Greens") +--yield("/mk cross ") +--yield("/item Gysahl Greens") +local partycardinality = 2 + +for i=2,8 do + if GetPartyMemberName(i) == fren then + partycardinality = i + end +end + +yield("Friend is party slot -> "..partycardinality) while weirdvar == 1 do - if GetCharacterCondition(34) == false then --not in duty - --check if chocobro is up or not! - if GetCharacterCondition(26) == false then --not in combat - if GetCharacterCondition(4) == false then --not mounted - yield("/target ") - yield("/wait 0.5") - yield("/lockon on") - yield("/automove on") - yield("/ridepillion <"..mker.."> 1") - yield("/ridepillion <"..mker.."> 2") - yield("/ridepillion <"..mker.."> 3") + if type(GetCharacterCondition(34)) == "boolean" and type(GetCharacterCondition(26)) == "boolean" and type(GetCharacterCondition(4)) == "boolean" then + if GetCharacterCondition(34) == false then --not in duty + --check if chocobro is up or not! + if GetCharacterCondition(26) == false then --not in combat + if GetCharacterCondition(4) == false then --not mounted + --yield("/target ") + yield("/target "..fren) + yield("/wait 0.5") + PathfindAndMoveTo(GetObjectRawXPos(fren), GetObjectRawYPos(fren),GetObjectRawZPos(fren), false) + --yield("/lockon on") + --yield("/automove on") + + --[[yield("/ridepillion <"..mker.."> 1") + yield("/ridepillion <"..mker.."> 2") + yield("/ridepillion <"..mker.."> 3")]] + yield("/ridepillion <2> 1") + yield("/ridepillion <2> 2") + yield("/ridepillion <2> 3") + end end end end From ecd9020f919a6be78c5e6b09e24f8fcde76c8f6c Mon Sep 17 00:00:00 2001 From: UcanPatates <56081921+UcanPatatess@users.noreply.github.com> Date: Sun, 31 Mar 2024 19:47:45 +0300 Subject: [PATCH 07/20] Update TripleTriadSeller_UcanPatates.lua made it better for users --- .../TripleTriadSeller_UcanPatates.lua | 74 ++++++++++++++++++- 1 file changed, 70 insertions(+), 4 deletions(-) diff --git a/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua b/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua index 2dcbe37a..39054004 100644 --- a/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua +++ b/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua @@ -1,7 +1,59 @@ -yield("/target Triple Triad Trader") -yield("/wait 0.4") -yield("/pinteract") -yield("/wait 0.2") +--[[ + + *********************************************** + * Triple Triad Seller * + * Sells your acumulated Triple Triad cards * + *********************************************** + + ********************** + * Version | 0.0.2 * + ********************** + + -> 0.0.1 : +Added Teleport and auto walk to Triple Triad Seller + -> 0.0.1 : Just the seller + + *************** + * Description * + *************** + + This script basicly just sells all of your acumulated Cards with one click + You can make a macro with /snd run "Your_script_name_here" + + ********************* + * Required Plugins * + ********************* + + + Plugins that are used are: + -> vnavmesh : https://puni.sh/api/repository/veyn + -> Something Need Doing [Expanded Edition] : https://puni.sh/api/repository/croizat + +]] + +--[[ + + ************ + * Script * + * Start * + ************ + +]] +function ZoneTransition() + repeat + yield("/wait 0.5") + until not IsPlayerAvailable() + repeat + yield("/wait 0.5") + until IsPlayerAvailable() +end + +function TargetedInteract(target) + yield("/target "..target.." ") + yield("/pinteract ") +end + +function TripleSeller() + yield("/pcall SelectIconString false 1") yield("/wait 0.4") repeat @@ -33,3 +85,17 @@ else end end end +end + +function WalkTo(x, y, z) + PathfindAndMoveTo(x, y, z, false) + while (PathIsRunning() or PathfindInProgress()) do + yield("/wait 0.5") + end +end + +yield("/tp The Gold Saucer") +ZoneTransition() +WalkTo(-55,1,16) +TargetedInteract("Triple Triad Trader") +TripleSeller() From 8edb8688a42f12f850baa6fd72f31d45b081139f Mon Sep 17 00:00:00 2001 From: UcanPatates <56081921+UcanPatatess@users.noreply.github.com> Date: Sun, 31 Mar 2024 20:27:23 +0300 Subject: [PATCH 08/20] Update TripleTriadSeller_UcanPatates.lua Improved the while loop at function TripleSeller() Thanks LeafFriend --- .../TripleTriadSeller_UcanPatates.lua | 37 ++++++------------- 1 file changed, 12 insertions(+), 25 deletions(-) diff --git a/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua b/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua index 39054004..9974aec0 100644 --- a/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua +++ b/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua @@ -5,11 +5,16 @@ * Sells your acumulated Triple Triad cards * *********************************************** + ************************* + * Author: UcanPatates * + ************************* + ********************** - * Version | 0.0.2 * + * Version | 0.0.3 * ********************** - -> 0.0.1 : +Added Teleport and auto walk to Triple Triad Seller + -> 0.0.3 : Improved the while loop at function TripleSeller() Thanks LeafFriend + -> 0.0.2 : +Added Teleport and auto walk to Triple Triad Seller -> 0.0.1 : Just the seller *************** @@ -53,38 +58,20 @@ function TargetedInteract(target) end function TripleSeller() - yield("/pcall SelectIconString false 1") -yield("/wait 0.4") repeat yield("/wait 0.1") until IsAddonReady("TripleTriadCoinExchange") - -yield("/wait 0.3") -nodecheck = IsNodeVisible("TripleTriadCoinExchange",2) -nodenumber = GetNodeText("TripleTriadCoinExchange",3 ,1 ,5) -a = tonumber(nodenumber) -yield("/wait 0.3") -if nodecheck then - yield("/wait 0.2") - yield("/pcall TripleTriadCoinExchange true -1") - yield("/wait 0.2") -else - while nodecheck == false do - yield("/wait 0.4") +while not IsNodeVisible("TripleTriadCoinExchange",2) do + nodenumber = GetNodeText("TripleTriadCoinExchange",3 ,1 ,5) + a = tonumber(nodenumber) + yield("/wait 0.4") yield("/pcall TripleTriadCoinExchange true 0") yield("/wait 0.3") yield(string.format("/pcall ShopCardDialog true 0 %d", a)) yield("/wait 0.2") - nodecheck = IsNodeVisible("TripleTriadCoinExchange",2) - nodenumber = GetNodeText("TripleTriadCoinExchange",3 ,1 ,5) - a = tonumber(nodenumber) - if nodecheck then - yield("/wait 0.2") - yield("/pcall TripleTriadCoinExchange true -1") - end - end end +yield("/pcall TripleTriadCoinExchange true -1") end function WalkTo(x, y, z) From e390265cf0dc4dbdcb9edae966559d16d5308762 Mon Sep 17 00:00:00 2001 From: UcanPatates <56081921+UcanPatatess@users.noreply.github.com> Date: Mon, 1 Apr 2024 00:08:06 +0300 Subject: [PATCH 09/20] Update TripleTriadSeller_UcanPatates.lua fixed the crash when low fps max distance added --- .../TripleTriadSeller_UcanPatates.lua | 70 +++++++++++++++---- 1 file changed, 57 insertions(+), 13 deletions(-) diff --git a/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua b/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua index 9974aec0..5703c793 100644 --- a/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua +++ b/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua @@ -5,14 +5,15 @@ * Sells your acumulated Triple Triad cards * *********************************************** - ************************* + ************************* * Author: UcanPatates * ************************* ********************** - * Version | 0.0.3 * + * Version | 0.0.4 * ********************** + -> 0.0.4 : Added max and min distance settings -> 0.0.3 : Improved the while loop at function TripleSeller() Thanks LeafFriend -> 0.0.2 : +Added Teleport and auto walk to Triple Triad Seller -> 0.0.1 : Just the seller @@ -30,10 +31,20 @@ Plugins that are used are: + -> Teleporter -> vnavmesh : https://puni.sh/api/repository/veyn -> Something Need Doing [Expanded Edition] : https://puni.sh/api/repository/croizat ]] +--[[ + + ************** + * Settings * + ************** + + ]] + + Max_Distance = 100 -- this is max distance to Triple Triad Seller --[[ @@ -43,6 +54,14 @@ ************ ]] + + +function DistanceToSeller() + if IsInZone(144) then -- The Gold Saucer + Distance_Test = GetDistanceToPoint(-55,1,16) + end +end + function ZoneTransition() repeat yield("/wait 0.5") @@ -53,8 +72,14 @@ function ZoneTransition() end function TargetedInteract(target) - yield("/target "..target.." ") - yield("/pinteract ") + yield("/target "..target.."") + repeat + yield("/wait 0.1") + until not IsAddonVisible("_TargetInfoMainTarget") + yield("/interact") + repeat + yield("/wait 0.1") + until IsAddonReady("SelectIconString") end function TripleSeller() @@ -64,12 +89,16 @@ repeat until IsAddonReady("TripleTriadCoinExchange") while not IsNodeVisible("TripleTriadCoinExchange",2) do nodenumber = GetNodeText("TripleTriadCoinExchange",3 ,1 ,5) - a = tonumber(nodenumber) - yield("/wait 0.4") + a = tonumber(nodenumber) + repeat + yield("/wait 0.1") + until IsNodeVisible("TripleTriadCoinExchange",3,1) yield("/pcall TripleTriadCoinExchange true 0") - yield("/wait 0.3") + repeat + yield("/wait 0.1") + until IsAddonReady("ShopCardDialog") yield(string.format("/pcall ShopCardDialog true 0 %d", a)) - yield("/wait 0.2") + yield("/wait 0.6") end yield("/pcall TripleTriadCoinExchange true -1") end @@ -81,8 +110,23 @@ function WalkTo(x, y, z) end end -yield("/tp The Gold Saucer") -ZoneTransition() -WalkTo(-55,1,16) -TargetedInteract("Triple Triad Trader") -TripleSeller() +if IsInZone(144) then + DistanceToSeller() + if Distance_Test > 0 and Distance_Test < Max_Distance then + WalkTo(-55,1,16) + TargetedInteract("Triple Triad Trader") + TripleSeller() + else + yield("/tp The Gold Saucer") + ZoneTransition() + WalkTo(-55,1,16) + TargetedInteract("Triple Triad Trader") + TripleSeller() + end + else + yield("/tp The Gold Saucer") + ZoneTransition() + WalkTo(-55,1,16) + TargetedInteract("Triple Triad Trader") + TripleSeller() +end From 7a7c16ab28e086c2bab2a18d8a1474f64fab948f Mon Sep 17 00:00:00 2001 From: davoodinator <135515620+McVaxius@users.noreply.github.com> Date: Mon, 1 Apr 2024 10:53:48 -0400 Subject: [PATCH 10/20] adding working and tested repair function for fishing found a rare case where fishing dies if you dont repair gear and everything is 0% cuz you cant catch stuff hahah who would have thought --- .../RobustGCturnin/_functions.lua | 1 + ...eluxeOceanFishingCharSwapping_MxVaxius.lua | 40 ++++++++++++------- 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/Community Scripts/AutoRetainer Companions/RobustGCturnin/_functions.lua b/Community Scripts/AutoRetainer Companions/RobustGCturnin/_functions.lua index 41be76f7..1dc9645a 100644 --- a/Community Scripts/AutoRetainer Companions/RobustGCturnin/_functions.lua +++ b/Community Scripts/AutoRetainer Companions/RobustGCturnin/_functions.lua @@ -63,5 +63,6 @@ function visland_stop_moving() end yield("/echo movement stopped - time for GC turn ins or whatever") yield("/visland stop") + yield("/vnavmesh stop") yield("/wait 3") end diff --git a/Community Scripts/Gathering/DeluxeOceanFishingCharSwapping_MxVaxius.lua b/Community Scripts/Gathering/DeluxeOceanFishingCharSwapping_MxVaxius.lua index 2e231982..1555d495 100644 --- a/Community Scripts/Gathering/DeluxeOceanFishingCharSwapping_MxVaxius.lua +++ b/Community Scripts/Gathering/DeluxeOceanFishingCharSwapping_MxVaxius.lua @@ -148,21 +148,33 @@ function fishing() yield("/wait 10") yield("/ac sprint") - --TODO better / faster way to get to dryskthoa - PathfindAndMoveTo(-409.42459106445,3.9999997615814,74.483444213867,false) - muuv = 1 - muuvX = GetPlayerRawXPos() - muuvY = GetPlayerRawYPos() - muuvZ = GetPlayerRawZPos() - while muuv == 1 do + + --repair catte if we are at 50% durability or lower and have at least 5000 gil + while NeedsRepair(99) and GetItemCount(1) > 4999 do + PathfindAndMoveTo(-397.46423339844,3.0999958515167,78.562309265137,false) + visland_stop_moving() + yield("/target Merchant & Mender") yield("/wait 1") - if muuvX == GetPlayerRawXPos() and muuvY == GetPlayerRawYPos() and muuvZ == GetPlayerRawZPos() then - muuv = 0 - end - muuvX = GetPlayerRawXPos() - muuvY = GetPlayerRawYPos() - muuvZ = GetPlayerRawZPos() - end + yield("/lockon on") + yield("/wait 1") + yield("/pinteract") + yield("/wait 1") + yield("/pcall SelectIconString true 1") + yield("/wait 1") + yield("/pcall Repair true 0") + yield("/wait 1") + yield("/pcall Repair true 1") + yield("/wait 1") + yield("/send ESCAPE ") + yield("/send ESCAPE ") + yield("/send ESCAPE ") + yield("/send ESCAPE ") + yield("/wait 3") + end + + --dryskthota + PathfindAndMoveTo(-409.42459106445,3.9999997615814,74.483444213867,false) + visland_stop_moving() yield("/wait 1") fishqtest = false toolong = 0 From c2cc90f980677cb74cbccde19382eac53275875e Mon Sep 17 00:00:00 2001 From: davoodinator <135515620+McVaxius@users.noreply.github.com> Date: Mon, 1 Apr 2024 20:11:36 -0400 Subject: [PATCH 11/20] allright its tested and working allright its tested and working --- .../Gathering/DeluxeOceanFishingCharSwapping_MxVaxius.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Community Scripts/Gathering/DeluxeOceanFishingCharSwapping_MxVaxius.lua b/Community Scripts/Gathering/DeluxeOceanFishingCharSwapping_MxVaxius.lua index 1555d495..84d38960 100644 --- a/Community Scripts/Gathering/DeluxeOceanFishingCharSwapping_MxVaxius.lua +++ b/Community Scripts/Gathering/DeluxeOceanFishingCharSwapping_MxVaxius.lua @@ -149,7 +149,7 @@ function fishing() yield("/ac sprint") - --repair catte if we are at 50% durability or lower and have at least 5000 gil + --repair catte if we are at 99% durability or lower and have at least 5000 gil while NeedsRepair(99) and GetItemCount(1) > 4999 do PathfindAndMoveTo(-397.46423339844,3.0999958515167,78.562309265137,false) visland_stop_moving() From aba6ce4d42a00bf955dc068660cd459a1d366aa4 Mon Sep 17 00:00:00 2001 From: davoodinator <135515620+McVaxius@users.noreply.github.com> Date: Mon, 1 Apr 2024 23:14:25 -0400 Subject: [PATCH 12/20] sadge sadge --- Community Scripts/Misc/frenrider_McVaxius.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Community Scripts/Misc/frenrider_McVaxius.lua b/Community Scripts/Misc/frenrider_McVaxius.lua index 1ddba454..908a6b3a 100644 --- a/Community Scripts/Misc/frenrider_McVaxius.lua +++ b/Community Scripts/Misc/frenrider_McVaxius.lua @@ -27,7 +27,7 @@ yield("Friend is party slot -> "..partycardinality) while weirdvar == 1 do if type(GetCharacterCondition(34)) == "boolean" and type(GetCharacterCondition(26)) == "boolean" and type(GetCharacterCondition(4)) == "boolean" then if GetCharacterCondition(34) == false then --not in duty - --check if chocobro is up or not! + --check if chocobro is up or not! we can't do it yet if GetCharacterCondition(26) == false then --not in combat if GetCharacterCondition(4) == false then --not mounted --yield("/target ") @@ -40,9 +40,9 @@ while weirdvar == 1 do --[[yield("/ridepillion <"..mker.."> 1") yield("/ridepillion <"..mker.."> 2") yield("/ridepillion <"..mker.."> 3")]] - yield("/ridepillion <2> 1") - yield("/ridepillion <2> 2") - yield("/ridepillion <2> 3") + for i=1,7 do + yield("/ridepillion <"..partycardinality.."> "..i) + end end end end From c9512fe12e918d1350ee0beb6166419dd92cbf23 Mon Sep 17 00:00:00 2001 From: Leontopodium Nivale Date: Wed, 3 Apr 2024 05:21:25 -0400 Subject: [PATCH 13/20] Update Island Sanctuary - Leveling.lua Update to script information, better formatting/manual for peeps to read --- .../Island Sanctuary - Leveling.lua | 508 ++++++++++-------- 1 file changed, 273 insertions(+), 235 deletions(-) diff --git a/Community Scripts/Quests And Levelling/Island Sanctuary - Leveling.lua b/Community Scripts/Quests And Levelling/Island Sanctuary - Leveling.lua index 71697530..beeb8b45 100644 --- a/Community Scripts/Quests And Levelling/Island Sanctuary - Leveling.lua +++ b/Community Scripts/Quests And Levelling/Island Sanctuary - Leveling.lua @@ -1,97 +1,141 @@ --[[ -Version: 2.1 [Ground & Flying ] -Author: Leontopodium Nivale -This is a small version of the "Gathering Everything" script I'm working on, just meant to be a quick way of leveling up - -Note: This does require flying atm, I'll work on making a non-flying verison in a bit. (When I get a second or need a breather from the other script lol.) -Requirements: --> Visland (V)ery Island --> vnavmesh (Just got released on 2.19, same place on visland) + + **************************************** + * Island Sanctuary - Leveling Script * + **************************************** + + ********************************* + * Author: Leontopodium Nivale * + ********************************* + + ********************** + * Version | 2.1.1 * + ********************** + + -> 2.1.1 : Updated script information, made sure to actually say the pandora plugin was necessary (curse you past me for not remembering) + -> 2.1.0 : Ground & Flying Leveling is completed! Select which one you would like to do in the settings + + *************** + * Description * + *************** + This is a small version of the "Gathering Everything" script I'm working on, just meant to be a quick way of leveling up + + ********************* + * Required Plugins * + ********************* + + + Plugins that are used are: + -> Visland : https://puni.sh/api/repository/veyn + -> Vnavmesh : https://puni.sh/api/repository/veyn + -> Pandora's Box: https://love.puni.sh/ment.json + -> Something Need Doing [Expanded Edition] : https://puni.sh/api/repository/croizat ]] --- Settings - IslandLevel = 17 - ItemCountEcho = true - LoopEcho = true - ContinueLooping = true +--[[ - -- Testing - TestingShopSend = false + ************** + * Settings * + ************** + ]] + FlyingEnabled = true + -- If flying is disabled, it will do the ground version of the route for xp + -- if flying is enabled, it will do the faster/xp route on top of the mountain - -- If flying is disabled, it will do the ground version of the route for xp - -- if flying is enabled, it will do the faster/xp route on top of the mountain - FlyingEnabled = true + ContinueLooping = true + -- Is this something you want to continually do? Or is it a one time level loop? + -- Options: true | false [true by default] --- If you are currently running the workshop and you have items being used in it, make sure to add the amount you're using in the shops here --- or if you would like to keep a certain amount of that item, also change it here + IslandLevel = 17 + -- What your current level is. Used to know WHAT exactly you're selling + -- The MINIMUM. Level this script is configured to run at is Lv. 5. + -- If you're below Lv. 17 and have flying, this will just skip a sell check for one of the higher gathering items if you don't have the tool + + ItemCountEcho = true + -- Would you like it to tell you how many items are being sold at the shop? - -- For the flying Loop + LoopEcho = true + -- Tells you in echo chat what loop your currently on in the gathering process - if FlyingEnabled == true then - QuartzWorkShop = 0 - IronWorkShop = 0 - DuriumWorkShop = 0 - LeucograniteWorkShop = 0 - StoneWorkShop = 0 - end - -- For the ground XP Loop - if FlyingEnabled == false then - ClayWorkShop = 0 - LimestoneWorkShop = 0 - MarbleWorkShop = 0 - TinsandWorkShop = 0 - SugarcaneWorkShop = 0 - VineWorkShop = 0 - ResinWorkShop = 0 - LogWorkShop = 0 - BranchWorkShop = 0 + TestingShopSend = false + -- Testing - StoneWorkShop = 0 - SandWorkShop = 0 - end + -- If you are currently running the workshop and you have items being used in it, make sure to add the amount you're using in the shops here + -- or if you would like to keep a certain amount of that item, also change it here - -- Array for the Route - -- XP Route || Quarts | Iron | Durium Sand | Leucogranite - QuartzArray = {6, 3, 2, 11} + -- For the flying Loop + if FlyingEnabled == true then + QuartzWorkShop = 0 + IronWorkShop = 0 + DuriumWorkShop = 0 + LeucograniteWorkShop = 0 + StoneWorkShop = 0 + end + + -- For the ground XP Loop + if FlyingEnabled == false then + ClayWorkShop = 0 + LimestoneWorkShop = 0 + MarbleWorkShop = 0 + TinsandWorkShop = 0 + SugarcaneWorkShop = 0 + VineWorkShop = 0 + ResinWorkShop = 0 + LogWorkShop = 0 + BranchWorkShop = 0 + + StoneWorkShop = 0 + SandWorkShop = 0 + end + +--[[ - -- Ground XP Route || Clay | { Stone/Limestone/Marble | Tinsand | Sugarcane/Vine | Resin/Log/Branch} | Sand - ClayArray = {7, 1, 9} + ************ + * Script * + * Start * + ************ - -- Max item amount. DO NOT CHANGE +]] + +-- Starting values of the script + +-- Array for the Route + QuartzArray = {6, 3, 2, 11} -- XP Route || Quarts | Iron | Durium Sand | Leucogranite + ClayArray = {7, 1, 9} -- Ground XP Route || Clay | { Stone/Limestone/Marble | Tinsand | Sugarcane/Vine | Resin/Log/Branch} | Sand + +-- Max item amount. DO NOT CHANGE ItemMax = 999 -- Loop amount checker - if FlyingEnabled == true then - BaseLoopAmount = math.floor(ItemMax/QuartzArray[1]) - LoopTestA = 0 - if QuartzWorkShop > 0 then - LoopTestA = math.ceil(QuartzWorkShop/QuartzArray[1]) + if FlyingEnabled == true then + BaseLoopAmount = math.floor(ItemMax/QuartzArray[1]) + LoopTestA = 0 + if QuartzWorkShop > 0 then + LoopTestA = math.ceil(QuartzWorkShop/QuartzArray[1]) + end + XPLoopAmount = BaseLoopAmount - LoopTestA -- if workshop was > 0, takes that amount and removes it from the loop + yield("/echo LoopAmount = "..XPLoopAmount) + elseif FlyingEnabled == false and IslandLevel >= 5 then + LoopTestA = 0 + BaseLoopAmount = math.floor(ItemMax/ClayArray[1]) + if ClayWorkShop > 0 then + LoopTestA = math.ceil(ClayWorkShop/ClayArray[1]) + end + GroundXPAmount = BaseLoopAmount - LoopTestA -- if workshop was > 0, takes that amount and removes it from the loop + yield("/echo LoopAmount = "..GroundXPAmount) end - XPLoopAmount = BaseLoopAmount - LoopTestA -- if workshop was > 0, takes that amount and removes it from the loop - yield("/echo LoopAmount = "..XPLoopAmount) - end - if FlyingEnabled == false and IslandLevel >= 5 then - LoopTestA = 0 - BaseLoopAmount = math.floor(ItemMax/ClayArray[1]) - if ClayWorkShop > 0 then - LoopTestA = math.ceil(ClayWorkShop/ClayArray[1]) - end - GroundXPAmount = BaseLoopAmount - LoopTestA -- if workshop was > 0, takes that amount and removes it from the loop - yield("/echo LoopAmount = "..GroundXPAmount) - end - -- Visland Routes for the script - B2Quartz = "H4sIAAAAAAAACuVS20rEMBD9lWWe25A0aZvmQfAKfVh1RagXfAhuZAM2kSZVtPTfTdssK/gH+jZn5nDmzGEGuJStAgEn0qlVerTa9LLzX5BAIz/frDbegXgc4No67bU1IAa4A5GSMkeMlhVN4B4EwQRRTlgCDwEUGBFasXwM0BpVn4HACdzIre6DGEEBrO27apXxASZQG686+ewb7XdXkf2zFx0GT25nP/aTYCaovchXpw702WGQPG+t3y+uvWpjeTwzItj0yvlYT8KN1P6gOKEL251as42H46V5q1u1Djw8Jr9ioZQhxrN8DoVWJcowLeZQUspzxDFh/B+mkofrKlosv0IrjkrKC77kwqbXKbPiz+fyNH4DG0XUEmwDAAA=" - VQuartz = "H4sIAAAAAAAACu2WXW/TMBSG/0rk62D8bZ/cIT6kSgw2hNTBtIvQejRqE5fEBUHV/z6ns5MhddpVJSp65xOfnJw8On79btGHsraoQIzg7Ob6Mnvv3Po2u9qUrf/zctK6BuVoWv5eu6rxHSputujSdZWvwkaxRdeo4EJjwyTL0ZcQgMCUAc/RV1S84KAwMMV3IXSNnbxBBcnRp3JebUIphkNw4X7a2jZ+vzNpvG3LmZ9WfvGxz2YkFDPy753YcOs23xfZt1U5W2atmy1Dn93C/UqZocHwjbty1dnx9X3XNEdva+dTOxNv67h8tc+IwdXGdj6u+8LTsvJjxT5659rXrplHGOTh4eeqthchj+zyA6gU1proARWjSj+gEoRgEXgdBVW3trPlys5PhxNgDZyOM8UZ0WIkpaQ08jAqgpl8jhU5SOkkwDBsCEsDxDEQQxMWjRnXcJQB+rGXg+zOtXW5b+cUUAE23AwTJCVjiZQMGiXNmVQkJRlmeiRFQAyiZAJDRc/6nUgpLLmEARVw9ggV8Cc06T88fRJw/0sDKaMUJFIiXIL0LFQJlaKYEiUGTdcG4lBxACwJF+fzl6bKBHXqb7yIyug0VRyCC1XkOFbz5PyTlJgTLUefqUR0TxwkBn2WqQSKYm7YI1LUJJ/JwQR/LtUTsPjzI3W6NlMGxw09iEglSFK0mb0kGSGPc87++YvudncPgcau5jAPAAA=" + B2Quartz = "H4sIAAAAAAAACuVS20rEMBD9lWWe25A0aZvmQfAKfVh1RagXfAhuZAM2kSZVtPTfTdssK/gH+jZn5nDmzGEGuJStAgEn0qlVerTa9LLzX5BAIz/frDbegXgc4No67bU1IAa4A5GSMkeMlhVN4B4EwQRRTlgCDwEUGBFasXwM0BpVn4HACdzIre6DGEEBrO27apXxASZQG686+ewb7XdXkf2zFx0GT25nP/aTYCaovchXpw702WGQPG+t3y+uvWpjeTwzItj0yvlYT8KN1P6gOKEL251as42H46V5q1u1Djw8Jr9ioZQhxrN8DoVWJcowLeZQUspzxDFh/B+mkofrKlosv0IrjkrKC77kwqbXKbPiz+fyNH4DG0XUEmwDAAA=" + VQuartz = "H4sIAAAAAAAACu2WXW/TMBSG/0rk62D8bZ/cIT6kSgw2hNTBtIvQejRqE5fEBUHV/z6ns5MhddpVJSp65xOfnJw8On79btGHsraoQIzg7Ob6Mnvv3Po2u9qUrf/zctK6BuVoWv5eu6rxHSputujSdZWvwkaxRdeo4EJjwyTL0ZcQgMCUAc/RV1S84KAwMMV3IXSNnbxBBcnRp3JebUIphkNw4X7a2jZ+vzNpvG3LmZ9WfvGxz2YkFDPy753YcOs23xfZt1U5W2atmy1Dn93C/UqZocHwjbty1dnx9X3XNEdva+dTOxNv67h8tc+IwdXGdj6u+8LTsvJjxT5659rXrplHGOTh4eeqthchj+zyA6gU1proARWjSj+gEoRgEXgdBVW3trPlys5PhxNgDZyOM8UZ0WIkpaQ08jAqgpl8jhU5SOkkwDBsCEsDxDEQQxMWjRnXcJQB+rGXg+zOtXW5b+cUUAE23AwTJCVjiZQMGiXNmVQkJRlmeiRFQAyiZAJDRc/6nUgpLLmEARVw9ggV8Cc06T88fRJw/0sDKaMUJFIiXIL0LFQJlaKYEiUGTdcG4lBxACwJF+fzl6bKBHXqb7yIyug0VRyCC1XkOFbz5PyTlJgTLUefqUR0TxwkBn2WqQSKYm7YI1LUJJ/JwQR/LtUTsPjzI3W6NlMGxw09iEglSFK0mb0kGSGPc87++YvudncPgcau5jAPAAA=" - VClay = "H4sIAAAAAAAACu2YS2vcMBSF/4rR2oirq7d3JX0QaNo0FJI2ZOFmlBnTsVVsTUII+e+VLTlpYQrdzGKS8cqyhSx/vufcM/NAPtWtIxU5Wtf3xZnfBFdcfuj9plsUF6fFR3fr1k23vCIlOa/vf/mmCwOpLh/IqR+a0PiOVA/kglSIggLTlpfkG6mkokJKNCX5TirDKGqB7DGOfOeO35IKSnJWL5pNXIrRODjxt651XYjrlOS4C66vr8N5E1af8+w/r+UNxx0NK38334lbiavd1OvBPU+f9sdK8q71YX7wcXBtPn0zzciDLxs3hHw+LnxeN+F5xXH03vdHvlvk14Z08WvTupM4Dx7LLVCAciYxMdGUc+AJiaBSaPgHEvwbCWxBgsDQGrkVzNB6H1bF3aqJ37L31z/3ghRSbY1NpAxlWguRUGkKCkDsBFU71bm/KRZNH/YCk6RKGs4SJ0sVKJFrygrKFTdM/pfO4EXpjMe3U/hEBUU8MFHh1IJS5pVSMQbM7D4aRnceJWWoMELvxn32TlJcUougZ0pWcJ0oWcrRqIPxJEpRVbPAoiMLrTIlRQ0z8kBpoiSASqnmJgZa6xSBLKOKIfCD4iZKgjLL+JMvocySi5gs1xYPmCZMiiqLYg7UmgHL1QQUmT1gSppTPHY5mbucoDEGQGr9RsbAzXZk4MPmR+v6pVsUQ90t9qHPjWnRGC3nekIQLGdsPd6KP9heY0hSMSSpUVjJs42xaBOUaEaAIHdUPsu6v647tyd+rYWxua9ZarjJfU0hlVpa/grrJkIBgUlNYw1JYGxiImXMABJ3UzdhU699tyxC7/aidGK45gyeehhaJXiso1FeGLub1Oql/yt09fgblrr3aWMTAAA=" + VClay = "H4sIAAAAAAAACu2YS2vcMBSF/4rR2oirq7d3JX0QaNo0FJI2ZOFmlBnTsVVsTUII+e+VLTlpYQrdzGKS8cqyhSx/vufcM/NAPtWtIxU5Wtf3xZnfBFdcfuj9plsUF6fFR3fr1k23vCIlOa/vf/mmCwOpLh/IqR+a0PiOVA/kglSIggLTlpfkG6mkokJKNCX5TirDKGqB7DGOfOeO35IKSnJWL5pNXIrRODjxt651XYjrlOS4C66vr8N5E1af8+w/r+UNxx0NK38334lbiavd1OvBPU+f9sdK8q71YX7wcXBtPn0zzciDLxs3hHw+LnxeN+F5xXH03vdHvlvk14Z08WvTupM4Dx7LLVCAciYxMdGUc+AJiaBSaPgHEvwbCWxBgsDQGrkVzNB6H1bF3aqJ37L31z/3ghRSbY1NpAxlWguRUGkKCkDsBFU71bm/KRZNH/YCk6RKGs4SJ0sVKJFrygrKFTdM/pfO4EXpjMe3U/hEBUU8MFHh1IJS5pVSMQbM7D4aRnceJWWoMELvxn32TlJcUougZ0pWcJ0oWcrRqIPxJEpRVbPAoiMLrTIlRQ0z8kBpoiSASqnmJgZa6xSBLKOKIfCD4iZKgjLL+JMvocySi5gs1xYPmCZMiiqLYg7UmgHL1QQUmT1gSppTPHY5mbucoDEGQGr9RsbAzXZk4MPmR+v6pVsUQ90t9qHPjWnRGC3nekIQLGdsPd6KP9heY0hSMSSpUVjJs42xaBOUaEaAIHdUPsu6v647tyd+rYWxua9ZarjJfU0hlVpa/grrJkIBgUlNYw1JYGxiImXMABJ3UzdhU699tyxC7/aidGK45gyeehhaJXiso1FeGLub1Oql/yt09fgblrr3aWMTAAA=" -- Node Functions - function QuartzNode() - QuartzID = 37573 - QuartzCount = GetItemCount(QuartzID) - end + function QuartzNode() + QuartzID = 37573 + QuartzCount = GetItemCount(QuartzID) + end function Iron_DuriumNode() IronID = 37572 @@ -141,25 +185,25 @@ Requirements: -- These are Items that are shared across multiple nodes - function SandNode() - SandID = 37559 - SandCount = GetItemCount(SandID) - end + function SandNode() + SandID = 37559 + SandCount = GetItemCount(SandID) + end - function VineNode() - VineID = 37562 - VineCount = GetItemCount(VineID) - end + function VineNode() + VineID = 37562 + VineCount = GetItemCount(VineID) + end - function LogNode() - LogID = 37560 - LogCount = GetItemCount(LogID) - end + function LogNode() + LogID = 37560 + LogCount = GetItemCount(LogID) + end - function StoneNode() - StoneID = 37554 - StoneCount = GetItemCount(StoneID) - end + function StoneNode() + StoneID = 37554 + StoneCount = GetItemCount(StoneID) + end -- Item Count Check/Shop Amount Check function StoneShop() @@ -305,182 +349,176 @@ Requirements: -- Shop Selling Functions - function StoneSell() - yield("/pcall MJIDisposeShop True 12 2 ") - yield("/pcall MJIDisposeShopShipping True 11 "..StoneSend) - yield("/pcall SelectYesno True 0") - yield("/wait 1.5") - end - - function IronSell() - yield("/pcall MJIDisposeShop True 12 24 ") - yield("/pcall MJIDisposeShopShipping True 11 "..IronSend) - yield("/pcall SelectYesno True 0") - yield("/wait 1.5") - end + function StoneSell() + yield("/pcall MJIDisposeShop True 12 2 ") + yield("/pcall MJIDisposeShopShipping True 11 "..StoneSend) + yield("/pcall SelectYesno True 0") + yield("/wait 1.5") + end - function QuartzSell() - yield("/pcall MJIDisposeShop True 12 25 ") - yield("/pcall MJIDisposeShopShipping True 11 "..QuartzSend) - yield("/pcall SelectYesno True 0") - yield("/wait 1.5") - end + function IronSell() + yield("/pcall MJIDisposeShop True 12 24 ") + yield("/pcall MJIDisposeShopShipping True 11 "..IronSend) + yield("/pcall SelectYesno True 0") + yield("/wait 1.5") + end - function LeucograniteSell() - yield("/pcall MJIDisposeShop True 12 26 ") - yield("/pcall MJIDisposeShopShipping True 11 "..LeucograniteSend) - yield("/pcall SelectYesno True 0") - yield("/wait 1.5") - end + function QuartzSell() + yield("/pcall MJIDisposeShop True 12 25 ") + yield("/pcall MJIDisposeShopShipping True 11 "..QuartzSend) + yield("/pcall SelectYesno True 0") + yield("/wait 1.5") + end - function DuriumSell() - yield("/pcall MJIDisposeShop True 12 39 ") - yield("/pcall MJIDisposeShopShipping True 11 "..DuriumSend) - yield("/pcall SelectYesno True 0") - yield("/wait 1.5") - end + function LeucograniteSell() + yield("/pcall MJIDisposeShop True 12 26 ") + yield("/pcall MJIDisposeShopShipping True 11 "..LeucograniteSend) + yield("/pcall SelectYesno True 0") + yield("/wait 1.5") + end - function ClaySell() - yield("/pcall MJIDisposeShop True 12 16 ") - yield("/pcall MJIDisposeShopShipping True 11 "..ClaySend) - yield("/pcall SelectYesno True 0") - yield("/wait 1.5") - end + function DuriumSell() + yield("/pcall MJIDisposeShop True 12 39 ") + yield("/pcall MJIDisposeShopShipping True 11 "..DuriumSend) + yield("/pcall SelectYesno True 0") + yield("/wait 1.5") + end - function LimestoneSell() - yield("/pcall MJIDisposeShop True 12 14 ") - yield("/pcall MJIDisposeShopShipping True 11 "..LimestoneSend) - yield("/pcall SelectYesno True 0") - yield("/wait 1.5") - end + function ClaySell() + yield("/pcall MJIDisposeShop True 12 16 ") + yield("/pcall MJIDisposeShopShipping True 11 "..ClaySend) + yield("/pcall SelectYesno True 0") + yield("/wait 1.5") + end - function MarbleSell() - yield("/pcall MJIDisposeShop True 12 36 ") - yield("/pcall MJIDisposeShopShipping True 11 "..MarbleSend) - yield("/pcall SelectYesno True 0") - yield("/wait 1.5") - end + function LimestoneSell() + yield("/pcall MJIDisposeShop True 12 14 ") + yield("/pcall MJIDisposeShopShipping True 11 "..LimestoneSend) + yield("/pcall SelectYesno True 0") + yield("/wait 1.5") + end - function TinsandSell() - yield("/pcall MJIDisposeShop True 12 17 ") - yield("/pcall MJIDisposeShopShipping True 11 "..TinsandSend) - yield("/pcall SelectYesno True 0") - yield("/wait 1.5") - end + function MarbleSell() + yield("/pcall MJIDisposeShop True 12 36 ") + yield("/pcall MJIDisposeShopShipping True 11 "..MarbleSend) + yield("/pcall SelectYesno True 0") + yield("/wait 1.5") + end - function SugarcaneSell() - yield("/pcall MJIDisposeShop True 12 18 ") - yield("/pcall MJIDisposeShopShipping True 11 "..SugarcaneSend) - yield("/pcall SelectYesno True 0") - yield("/wait 1.5") - end + function TinsandSell() + yield("/pcall MJIDisposeShop True 12 17 ") + yield("/pcall MJIDisposeShopShipping True 11 "..TinsandSend) + yield("/pcall SelectYesno True 0") + yield("/wait 1.5") + end - function VineSell() - yield("/pcall MJIDisposeShop True 12 8 ") - yield("/pcall MJIDisposeShopShipping True 11 "..VineSend) - yield("/pcall SelectYesno True 0") - yield("/wait 1.5") - end + function SugarcaneSell() + yield("/pcall MJIDisposeShop True 12 18 ") + yield("/pcall MJIDisposeShopShipping True 11 "..SugarcaneSend) + yield("/pcall SelectYesno True 0") + yield("/wait 1.5") + end - function ResinSell() - yield("/pcall MJIDisposeShop True 12 28 ") - yield("/pcall MJIDisposeShopShipping True 11 "..ResinSend) - yield("/pcall SelectYesno True 0") - yield("/wait 1.5") - end + function VineSell() + yield("/pcall MJIDisposeShop True 12 8 ") + yield("/pcall MJIDisposeShopShipping True 11 "..VineSend) + yield("/pcall SelectYesno True 0") + yield("/wait 1.5") + end - function LogSell() - yield("/pcall MJIDisposeShop True 12 11 ") - yield("/pcall MJIDisposeShopShipping True 11 "..LogSend) - yield("/pcall SelectYesno True 0") - yield("/wait 1.5") - end + function ResinSell() + yield("/pcall MJIDisposeShop True 12 28 ") + yield("/pcall MJIDisposeShopShipping True 11 "..ResinSend) + yield("/pcall SelectYesno True 0") + yield("/wait 1.5") + end + function LogSell() + yield("/pcall MJIDisposeShop True 12 11 ") + yield("/pcall MJIDisposeShopShipping True 11 "..LogSend) + yield("/pcall SelectYesno True 0") + yield("/wait 1.5") + end - function BranchSell() - yield("/pcall MJIDisposeShop True 12 1 ") - yield("/pcall MJIDisposeShopShipping True 11 "..BranchSend) - yield("/pcall SelectYesno True 0") - yield("/wait 1.5") - end + function BranchSell() + yield("/pcall MJIDisposeShop True 12 1 ") + yield("/pcall MJIDisposeShopShipping True 11 "..BranchSend) + yield("/pcall SelectYesno True 0") + yield("/wait 1.5") + end - function SandSell() - yield("/pcall MJIDisposeShop True 12 7 ") - yield("/pcall MJIDisposeShopShipping True 11 "..SandSend) - yield("/pcall SelectYesno True 0") - yield("/wait 1.5") - end + function SandSell() + yield("/pcall MJIDisposeShop True 12 7 ") + yield("/pcall MJIDisposeShopShipping True 11 "..SandSend) + yield("/pcall SelectYesno True 0") + yield("/wait 1.5") + end --- Setup for moving to the shop, and getting ready to sell the items - function Sellingitemsto() - yield("/visland moveto -268 40 226") - yield("/wait 1") - MovingTest() +-- Base Script Functions + function Sellingitemsto() -- Setup for moving to the shop, and getting ready to sell the items + yield("/visland moveto -268 40 226") + yield("/wait 1") + MovingTest() - yield("/visland moveto -267.281 41 216.883") - yield("/wait 1") - MovingTest() + yield("/visland moveto -267.281 41 216.883") + yield("/wait 1") + MovingTest() - yield("/visland moveto -267.065 41 209.221") - yield("/wait 1") - MovingTest() + yield("/visland moveto -267.065 41 209.221") + yield("/wait 1") + MovingTest() - yield("/target Enterprising Exporter ") - yield("/pint ") - yield("/pcall SelectString True 0 ") - end + yield("/target Enterprising Exporter ") + yield("/pint ") + yield("/pcall SelectString True 0 ") + end - function LeavingShop() - yield("/pcall MJIDisposeShop False -2") + function LeavingShop() + yield("/pcall MJIDisposeShop False -2") - yield("/visland moveto -267.841 40 230.751") - yield("/wait 1") - MovingTest() + yield("/visland moveto -267.841 40 230.751") + yield("/wait 1") + MovingTest() - yield('/mount "Company Chocobo"') - yield("/wait 5") - end - --- Checks to see how far you are from in front of the main workshop, if a certain distance, will teleport you in front of It - function IslandReturn() - - yield("/pcall _ActionContents True 9 1 ") - while GetCharacterCondition(27) do - yield("/wait 1") - end - yield("/wait 1") - while GetCharacterCondition(45) do - yield("/wait 1") + yield('/mount "Company Chocobo"') + yield("/wait 5") end - yield("/wait 1") - end + function IslandReturn() -- Checks to see how far you are from in front of the main workshop, if a certain distance, will teleport you in front of It + yield("/pcall _ActionContents True 9 1 ") + while GetCharacterCondition(27) do + yield("/wait 1") + end + yield("/wait 1") + while GetCharacterCondition(45) do + yield("/wait 1") + end + yield("/wait 1") + end --- Distance Test - function DistanceToBase() - Distance_Test = GetDistanceToPoint(-268, 40, 226) - end + function DistanceToBase() -- Distance Test + Distance_Test = GetDistanceToPoint(-268, 40, 226) + end --- Moving Test - function MovingTest() - while IsMoving() do - yield("/wait 1") + function MovingTest() -- Moving Test + while IsMoving() do + yield("/wait 1") + end end - end --- Visland Route Check - function VislandCheck() - while IsVislandRouteRunning() do - yield("/wait 3") + function VislandCheck() -- Visland Route Check + while IsVislandRouteRunning() do + yield("/wait 3") + end end - end -- Route Check -if FlyingEnabled == true then - goto FlyShop -elseif FlyingEnabled == false then - goto GroundShop -end + + if FlyingEnabled == true then + goto FlyShop + elseif FlyingEnabled == false then + goto GroundShop + end -- Start of the Loop ::FlyShop:: From fe5f52a3a410e7c0e354ab7706ebc51706aa5183 Mon Sep 17 00:00:00 2001 From: davoodinator <135515620+McVaxius@users.noreply.github.com> Date: Wed, 3 Apr 2024 08:18:38 -0400 Subject: [PATCH 14/20] turn in DOL items to GC turn in DOL items to GC --- .../turninDOLandPromote_McVaxius.lua | 89 +++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 Community Scripts/AutoRetainer Companions/RobustGCturnin/turninDOLandPromote_McVaxius.lua diff --git a/Community Scripts/AutoRetainer Companions/RobustGCturnin/turninDOLandPromote_McVaxius.lua b/Community Scripts/AutoRetainer Companions/RobustGCturnin/turninDOLandPromote_McVaxius.lua new file mode 100644 index 00000000..8205f298 --- /dev/null +++ b/Community Scripts/AutoRetainer Companions/RobustGCturnin/turninDOLandPromote_McVaxius.lua @@ -0,0 +1,89 @@ + yield("/tp Limsa Lominsa ") + yield("/waitaddon NamePlate ") + yield("/target Aetheryte ") + yield("/lockon") + yield("/automove") + yield("") + + yield("/pinteract ") + yield("/pcall SelectString true 0") + yield("/pcall TelepotTown false 11 1u") + yield("/pcall TelepotTown false 11 1u") + + yield("") + yield("/ac Sprint") + yield("/ac Sprint") + yield("/ac Sprint") + yield("/visland execonce GClimsa") + yield("/wait 1") --simple tweaks + --/tweaks + --auto equip -> alias /equipguud + yield("/equipguud") + muuv = 1 + muuvX = GetPlayerRawXPos() + muuvY = GetPlayerRawYPos() + muuvZ = GetPlayerRawZPos() + while muuv == 1 do +yield("/wait 1") +if muuvX == GetPlayerRawXPos() and muuvY == GetPlayerRawYPos() and muuvZ == GetPlayerRawZPos() then +muuv = 0 +end +muuvX = GetPlayerRawXPos() +muuvY = GetPlayerRawYPos() +muuvZ = GetPlayerRawZPos() + end + + yield("/echo movement stopped - time for GC turn ins") +--yield("") +--yield("/waitaddon SelectString ") + yield("/visland stop") +yield("/wait 1") +yield("/target Personnel Officer") +yield("/wait 1") +yield("/send NUMPAD0") +yield("/pcall SelectString true 0 ") +yield("/send NUMPAD0") +yield("/wait 1") +yield("/send NUMPAD0") +yield("/wait 1") +yield("/pcall GrandCompanySupplyList true 0 1 2") +yield("/wait 1") +yield("/send NUMPAD0") +yield("/wait 1") +yield("/send NUMPAD0") +yield("/wait 1") +yield("/send ESCAPE ") +yield("/send ESCAPE ") +yield("/wait 3") + +--try to promote +yield("/wait 1") +yield("/target Personnel Officer") +yield("/wait 1") +yield("/send NUMPAD0") +yield("/wait 1") +yield("/send NUMPAD2") +yield("/wait 0.5") +yield("/send NUMPAD0") +yield("/wait 0.5") +yield("/send NUMPAD0") +yield("/send ESCAPE ") +yield("/send ESCAPE ") +yield("/wait 3") + + +-- Teleport back to FC House +yield("/tp Estate Hall ") +yield("/waitaddon _ActionBar ") +for i=1, 20 do + yield("/send W") +end + +yield("/send Right") +yield("/send Right") + + +yield("/target Entrance ") +yield("/lockon on") +yield("/automove on ") +yield("/automove off ") \ No newline at end of file From 03d6d70ea2477f651bcbb783fa0672a9a9f1dce2 Mon Sep 17 00:00:00 2001 From: davoodinator <135515620+McVaxius@users.noreply.github.com> Date: Wed, 3 Apr 2024 08:24:33 -0400 Subject: [PATCH 15/20] generic GC turn in version of DOL turnin script generic GC turn in version of DOL turnin script --- .../turninDOLandPromote_McVaxius.lua | 47 ++++++------------- 1 file changed, 14 insertions(+), 33 deletions(-) diff --git a/Community Scripts/AutoRetainer Companions/RobustGCturnin/turninDOLandPromote_McVaxius.lua b/Community Scripts/AutoRetainer Companions/RobustGCturnin/turninDOLandPromote_McVaxius.lua index 8205f298..f53904a7 100644 --- a/Community Scripts/AutoRetainer Companions/RobustGCturnin/turninDOLandPromote_McVaxius.lua +++ b/Community Scripts/AutoRetainer Companions/RobustGCturnin/turninDOLandPromote_McVaxius.lua @@ -1,37 +1,19 @@ - yield("/tp Limsa Lominsa ") - yield("/waitaddon NamePlate ") - yield("/target Aetheryte ") - yield("/lockon") - yield("/automove") - yield("") +--so this will go to your GC desk try a single DOL turn in, then try to run a promotion. then teleport back to FC Estate. +--this is meant to be used from where ever you are after you acquire the daily DOL item - yield("/pinteract ") - yield("/pcall SelectString true 0") - yield("/pcall TelepotTown false 11 1u") - yield("/pcall TelepotTown false 11 1u") +--borrowed some code and ideas from the wonderful: (make sure the _functions is in the snd folder) +--https://github.com/elijabesu/ffxiv-scripts/blob/main/snd/_functions.lua +loadfiyel = os.getenv("appdata").."\\XIVLauncher\\pluginConfigs\\SomethingNeedDoing\\_functions.lua" +functionsToLoad = loadfile(loadfiyel) +functionsToLoad() +DidWeLoadcorrectly() - yield("") - yield("/ac Sprint") - yield("/ac Sprint") - yield("/ac Sprint") - yield("/visland execonce GClimsa") - yield("/wait 1") --simple tweaks - --/tweaks - --auto equip -> alias /equipguud - yield("/equipguud") - muuv = 1 - muuvX = GetPlayerRawXPos() - muuvY = GetPlayerRawYPos() - muuvZ = GetPlayerRawZPos() - while muuv == 1 do -yield("/wait 1") -if muuvX == GetPlayerRawXPos() and muuvY == GetPlayerRawYPos() and muuvZ == GetPlayerRawZPos() then -muuv = 0 -end -muuvX = GetPlayerRawXPos() -muuvY = GetPlayerRawYPos() -muuvZ = GetPlayerRawZPos() - end +yield("/wait 2") +CharacterSafeWait() +yield("/echo Attempting to turn in DOL turnin item") +TeleportToGCTown() +ZoneTransition() +WalkToGC() yield("/echo movement stopped - time for GC turn ins") --yield("") @@ -82,7 +64,6 @@ end yield("/send Right") yield("/send Right") - yield("/target Entrance ") yield("/lockon on") yield("/automove on ") From e085272de0e5ecb36a654bd124c7d14f00f6d37e Mon Sep 17 00:00:00 2001 From: davoodinator <135515620+McVaxius@users.noreply.github.com> Date: Wed, 3 Apr 2024 09:27:00 -0400 Subject: [PATCH 16/20] some updates to the duty script gonna add gc squad repeating some updates to the duty script gonna add gc squad repeating --- .../Trial_Farmer_MxVaxius.ini | 64 ------------------- .../arbitraryduty_McVaxius.ini | 2 +- .../arbitraryduty_McVaxius.lua | 3 + 3 files changed, 4 insertions(+), 65 deletions(-) delete mode 100644 Community Scripts/Dungeons/arbitrary duty solver/Trial_Farmer_MxVaxius.ini diff --git a/Community Scripts/Dungeons/arbitrary duty solver/Trial_Farmer_MxVaxius.ini b/Community Scripts/Dungeons/arbitrary duty solver/Trial_Farmer_MxVaxius.ini deleted file mode 100644 index eb565e1c..00000000 --- a/Community Scripts/Dungeons/arbitrary duty solver/Trial_Farmer_MxVaxius.ini +++ /dev/null @@ -1,64 +0,0 @@ ---you could concieveably just change "The Ultima Weapon" to another target if you were say.. wanting to farm a different trial. ---target stuff --- the pary member to follow. 4 means character slot 4, slot 1 is us, dont use 1, can throw in text if you want it to be a specific enemy or player -> wrap it with double quotes -local char_snake = "no follow" ---no follow = no follow. useful if your playing manually or through yet other means ---party leader = party leader eventually will be the basis for the character that will handle pathing through the dungeon to get near/to objectives ---^^^^^^^^^^^ please note that party leader is the char_snake to pick if you want to actually trigger the duties ---firstname lastname (of party member) you want to follow. dont put the @server - --- the enemy to follow. 4 means character slot 4, slot 1 is us, dont use 1, can throw in text if you want it to be a specific enemy or player -> wrap it with double quotes -local enemy_snake = "The Ultima Weapon" ---local enemy_snake = "nothing" ---some names ---nothing - dont do anything just attack if something pops on target otherwise we will solve mechs with snd ---follow only = following in a non trial ---The Ultima Weapon ---etc - ---number of times to repeat the trial. we could also contemplate repeating until current char reaches a specific level also... -local repeat_trial = 5 ---0 is premade, 1 is trust, 2 is unsynced (not implemented yet. need some pcalls probably) ---for premade/unsync and for trust, open the respective windows and preselect the duty you want to farm -local repeat_type = 0 - ---duty specific settings ---this is 1-8 so we can assign specific behvaiour etc per member for certain duties -local partymemberENUM = 1 - ---how long to lock on for. we only do it once every lockon_wait seconds. this will interfere less with VBM dodging mechanics -local dont_lockon = 0 -local lockon_wait = 5 - ---distance stuff --- distance max to the specific char so we can decide when to start moving -local snake_deest = 1 --- distance max to the specific enemy to beeline to the enemy using navmesh. set this to a higher value than snake_deest if you want it to never follow the enemy. -local enemy_deest = 3 --- distance max to char_snake where we stop trying to follow or do anything. maybe look for interaction points or exits? -local meh_deest = 40 --- distance max to battle target -local enemeh_deest = 40 ---use limit break or not, 1 yes 0 no -local limituse = 0 ---limit break when % of life to use limit break attack -local limitpct = 30 - ---here we will specify the movement type. visland for visland, vnavmesh for vnavmesh ---default for visland because vnavmesh is kind of WIP atm ---youll notice we aren't using quotes. this is fine ---local movetype = visland -local movetype = vnavmesh - ---we'll deal with this later but for now its going into the ini file -local spread_marker_entities = { -"Buttcheeks", -"Chuttbeeks", -"Kuchkeebs" -} - - - ---DEPRECRATED SECTION ---limit break level permitted number is lowest level permitted DEPRECATED FOR NOW but won't remove it from template. ill just keep deprecated stuff at the bottom -local limitlevel = 2 diff --git a/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.ini b/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.ini index 26bdd873..266fdb2a 100644 --- a/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.ini +++ b/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.ini @@ -36,7 +36,7 @@ local repeat_trial = 5 local repeat_type = 0 --**Info** --How is the party formed? ---0 is premade, 1 is trust, 2 is Grand Company Squadrons (not implemented yet. need some pcalls probably) +--0 is premade, 1 is trust, 2 is Grand Company Squadrons --for premade/unsync and for trust, open the respective windows and preselect the duty you want to farm diff --git a/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.lua b/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.lua index 526c360c..60e2181b 100644 --- a/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.lua +++ b/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.lua @@ -921,6 +921,9 @@ while repeated_trial < (repeat_trial + 1) do --yield("/wait 2") yield("/pcall DawnStory true 14") --START THE DUTY end + if repeat_type == 2 then --just you using GC Squad guy + --*? + end yield("/echo Total Trials triggered for "..char_snake..": "..repeated_trial) yield("/wait 10") From 14a74975e0a1bd30e685d991d309548c6ff5640c Mon Sep 17 00:00:00 2001 From: davoodinator <135515620+McVaxius@users.noreply.github.com> Date: Wed, 3 Apr 2024 09:28:10 -0400 Subject: [PATCH 17/20] small fix to wpSearch small fix to wpSearch --- .../Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.lua b/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.lua index 60e2181b..b4239133 100644 --- a/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.lua +++ b/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.lua @@ -482,7 +482,7 @@ local function searchNearestWP() local tempsearchdist = 9000 local tempstoredist = 0 for i=2, #doodies do - tempstoredist = distance(GetPlayerRawXPos,GetObjectRawYPos,GetObjectRawZPos,doodies[i][2],doodies[i][3],doodies[i][4]) + tempstoredist = distance(GetPlayerRawXPos(),GetObjectRawYPos(),GetObjectRawZPos(),doodies[i][2],doodies[i][3],doodies[i][4]) if tempstoredist < tempsearchdist then tempsearchdist = tempstoredist whereismydoodie = i From 1fcd541d73a13f544c9577c86045423c082e97d2 Mon Sep 17 00:00:00 2001 From: davoodinator <135515620+McVaxius@users.noreply.github.com> Date: Wed, 3 Apr 2024 09:41:13 -0400 Subject: [PATCH 18/20] only jump in uldah only jump in uldah --- .../AutoRetainer Companions/RobustGCturnin/_functions.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Community Scripts/AutoRetainer Companions/RobustGCturnin/_functions.lua b/Community Scripts/AutoRetainer Companions/RobustGCturnin/_functions.lua index 1dc9645a..5b395d16 100644 --- a/Community Scripts/AutoRetainer Companions/RobustGCturnin/_functions.lua +++ b/Community Scripts/AutoRetainer Companions/RobustGCturnin/_functions.lua @@ -2,7 +2,9 @@ function WalkTo(x, y, z) PathfindAndMoveTo(x, y, z, false) while (PathIsRunning() or PathfindInProgress()) do yield("/wait 0.5") - yield("/gaction jump") + if GetZoneID() == 130 then + yield("/gaction jump") + end end end From 5dd9d126b223990a848d7f39d0eef957cd9790b1 Mon Sep 17 00:00:00 2001 From: davoodinator <135515620+McVaxius@users.noreply.github.com> Date: Wed, 3 Apr 2024 09:49:01 -0400 Subject: [PATCH 19/20] gc squad bit tbd for now. everything else working gc squad bit tbd for now. everything else working --- .../arbitrary duty solver/arbitraryduty_McVaxius.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.lua b/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.lua index b4239133..4c8cac0a 100644 --- a/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.lua +++ b/Community Scripts/Dungeons/arbitrary duty solver/arbitraryduty_McVaxius.lua @@ -922,7 +922,11 @@ while repeated_trial < (repeat_trial + 1) do yield("/pcall DawnStory true 14") --START THE DUTY end if repeat_type == 2 then --just you using GC Squad guy - --*? + yield("/target Sergeant") + yield("/wait 1") + yield("/interact") + yield("/pcall SelectString true 1 ") + --*TBD once i get char up to test strings with end yield("/echo Total Trials triggered for "..char_snake..": "..repeated_trial) From 6aa145716efc7c495df1de95efcb5032ed2e1322 Mon Sep 17 00:00:00 2001 From: UcanPatates <56081921+UcanPatatess@users.noreply.github.com> Date: Wed, 3 Apr 2024 18:41:56 +0300 Subject: [PATCH 20/20] Update TripleTriadSeller_UcanPatates.lua MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixed the crash again 💯 --- .../Gold Saucer/TripleTriadSeller_UcanPatates.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua b/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua index 5703c793..66bcb916 100644 --- a/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua +++ b/Community Scripts/Gold Saucer/TripleTriadSeller_UcanPatates.lua @@ -10,9 +10,11 @@ ************************* ********************** - * Version | 0.0.4 * + * Version | 0.0.6 * ********************** + -> 0.0.6 : Changed the wait time in TripleTriadSeller so it won't crash randomly + -> 0.0.5 : Changed TargetedInteract target loop -> 0.0.4 : Added max and min distance settings -> 0.0.3 : Improved the while loop at function TripleSeller() Thanks LeafFriend -> 0.0.2 : +Added Teleport and auto walk to Triple Triad Seller @@ -75,7 +77,7 @@ function TargetedInteract(target) yield("/target "..target.."") repeat yield("/wait 0.1") - until not IsAddonVisible("_TargetInfoMainTarget") + until GetDistanceToTarget() < 7 yield("/interact") repeat yield("/wait 0.1") @@ -98,7 +100,7 @@ while not IsNodeVisible("TripleTriadCoinExchange",2) do yield("/wait 0.1") until IsAddonReady("ShopCardDialog") yield(string.format("/pcall ShopCardDialog true 0 %d", a)) - yield("/wait 0.6") + yield("/wait 1") end yield("/pcall TripleTriadCoinExchange true -1") end