MMOMinion
Feast of Famine (WIP) - Printable Version

+- MMOMinion (https://www.mmominion.com)
+-- Forum: FFXIVMinion (https://www.mmominion.com/forumdisplay.php?fid=87)
+--- Forum: [DOWNLOADS] Addons, Lua Modules, Navigation Meshes.. (https://www.mmominion.com/forumdisplay.php?fid=90)
+---- Forum: Fish Profiles (https://www.mmominion.com/forumdisplay.php?fid=180)
+---- Thread: Feast of Famine (WIP) (/showthread.php?tid=14289)

Pages: 1 2


Feast of Famine (WIP) - snowolf69 - 10-26-2015

~Feast of Famine~
WORK IN PROGRESS

A WIP profile to catch the legendary 6: Namitaro, Endoceras, Helicoprion, Shonisaurus, Kuno the Killer, and Nepto Dragon.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DO NOT TURN IN FISH UNTIL YOU CATCH ALL 6!
WILL NOT BUY BAIT.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you turn in your first 3 turn-ins of the quest before you catch
all of them, the next time you start the profile
it will allow the script to catch the same 3 fish again.
These are not caught in any order. It will
continue to run until all 6 have been caught
then will idle at the turn-in NPC.

REQUIREMENTS:
level 50
403+ gather / 340+ perception
obtain fisher quest "Feast of Famine"

BAIT: (Be sure to keep plenty of bait in stock)
Topwater Frog
Glowworm
Spoon Worm
Sand Leech
Hoverworm
Honey Worm
Northern Krill


UPDATE (26-OCT-2015): I have all of the coords, bait, whitelist fish, chum / mooch / patience settings,
and individual weather tasks for each of the 6 fish BUT have not been tested.
I need to obtain all 6 fish to get their item id's and see if each Fisher's Intuition
buff is the same or different buffID.

NEED HELP WITH:
1) !!! Nepto Dragon !!!
- requires interaction with NPC to board ship at Costa del Sol
- needs teleport or NPC interaction task with weathernow shower or rain
- how would I format an NPC interaction?
This would have to be a nested task since task completion is not guaranteed. It would need a weather check then NPC interaction then the fishing task set as it already is.
2) condition HasItem , need both conditions HasItem and HasBuff for some tasks. Is the formatting correct?
3) whitelist doesn't seem to work for me. I have tried with test profiles set only to whitelist or whitelisthq one fish or blacklist or blacklisthq one fish
but it hasn't worked for me the way I have it coded now.
4) idle location / idle at npc when HasItem all 6 fish id's (will get myself soon)


RE: Legendary Fish Profile (WIP) - sebbs - 10-26-2015

(10-26-2015, 12:13 AM)snowolf69 Wrote:  I'm trying to make a fisher profile for the level 60 legendary fish quest. I have most everything I need to make it. It requires weather and time checks but I need help with a buff check. I want 2 tasks, task 1 use topwater frog if player has buff Fisher's Intuition and weather is Thunder and task 2 to use glowworm if player missing buff Fisher's Intuition and weather is Thunder. I tried ["pbuff"] and ["pnbuff"] to check for buff but its not working. I plugged in 805 (Collector's Glove) and 763 (Chum) and played around with it but it didn't change tasks based on pbuff. Here's what I have so far. Am I putting the buff check in the wrong place? I am missing an idle task but I'll figure that out later.


Example only
Code:
local obj1 = {
        ["setup"] = {
        ["gearsetmining"] = 11;
        ["gearsetbotany"] = 12;
        ["gearsetfishing"]= 21;
    };
    ["tasks"] = {
    

        --- Namitaro


        [1] = {
            ["condition"] = {
                ["HasBuff(Player.id,568)"] = true;
            };
            ["type"] = "fishing";
            ["minlevel"] = 60;
            ["maxlevel"] = 60;
            ["mapid"] = 153;
            ["pos"] = {
                ["x"] = 631.10876464844;
                ["y"] = 22.665870666504;
                ["z"] = 73.57494354248;
                ["h"] = 2.2479648590088;
            };
            ["weathernow"] = "Thunder";
            ["usestealth"] = false;
            ["usemooch"] = false;
            ["usepatience"] = true;
            ["usepatience2"] = false;
            ["usechum"] = true;
            ["usesnagging"] = false;
            ["baitname"] = "Topwater Frog";    
        };
        [2] = {
            ["condition"] = {
                ["HasBuff(Player.id,568)"] = true;
            };
            ["type"] = "fishing";
            ["minlevel"] = 60;
            ["maxlevel"] = 60;
            ["mapid"] = 153;
            ["pos"] = {
                ["x"] = 631.10876464844;
                ["y"] = 22.665870666504;
                ["z"] = 73.57494354248;
                ["h"] = 2.2479648590088;
            };
            ["weathernow"] = "Thunderstorms";
            ["usestealth"] = false;
            ["usemooch"] = false;
            ["usepatience"] = true;
            ["usepatience2"] = false;
            ["usechum"] = true;
            ["usesnagging"] = false;
            ["baitname"] = "Topwater Frog";        
        };
        [3] = {
            ["condition"] = {
                ["HasBuff(Player.id,568)"] = false;
            };
            ["type"] = "fishing";
            ["minlevel"] = 60;
            ["maxlevel"] = 60;
            ["mapid"] = 153;
            ["pos"] = {
                ["x"] = 631.10876464844;
                ["y"] = 22.665870666504;
                ["z"] = 73.57494354248;
                ["h"] = 2.2479648590088;
            };
            ["weathernow"] = "Thunder";
            ["usestealth"] = false;
            ["usemooch"] = false;
            ["usepatience"] = true;
            ["usepatience2"] = false;
            ["usechum"] = true;
            ["usesnagging"] = false;
            ["baitname"] = "Glowworm";        
        };
        [4] = {
            ["condition"] = {
                ["HasBuff(Player.id,568)"] = false;
            };
            ["type"] = "fishing";
            ["minlevel"] = 60;
            ["maxlevel"] = 60;
            ["mapid"] = 153;
            ["pos"] = {
                ["x"] = 631.10876464844;
                ["y"] = 22.665870666504;
                ["z"] = 73.57494354248;
                ["h"] = 2.2479648590088;
            };
            ["weathernow"] = "Thunderstorms";
            ["usestealth"] = false;
            ["usemooch"] = false;
            ["usepatience"] = true;
            ["usepatience2"] = false;
            ["usechum"] = true;
            ["usesnagging"] = false;
            ["baitname"] = "Glowworm";    
        };
        

        
        --- Endoceras

        
        [5] = {
            ["type"] = "fishing";
            ["minlevel"] = 60;
            ["maxlevel"] = 60;
            ["mapid"] = 138;
            ["pos"] = {
                ["x"] = -489.67672729492;
                ["y"] = -37.874256134033;
                ["z"] = 760.76922607422;
                ["h"] = -0.56210470199585;
            };
            ["weathernow"] = "Clear";
            ["weathernext"] = "Fog";
            ["eorzeaminhour"] = 22;
            ["eorzeamaxhour"] = 4;
            ["usestealth"] = true;
            ["dangerousarea"] = true;
            ["usemooch"] = true;
            ["whitelisthq"] = "Fullmoon Sardine";
            ["usepatience"] = true;
            ["usepatience2"] = false;
            ["usechum"] = true;
            ["usesnagging"] = false;
            ["baitname"] = "Spoon Worm";
        };
        [6] = {
            ["type"] = "fishing";
            ["minlevel"] = 60;
            ["maxlevel"] = 60;
            ["mapid"] = 138;
            ["pos"] = {
                ["x"] = -489.67672729492;
                ["y"] = -37.874256134033;
                ["z"] = 760.76922607422;
                ["h"] = -0.56210470199585;
            };
            ["weatherlast"] = "Clear";
            ["weathernow"] = "Fog";
            ["eorzeaminhour"] = 22;
            ["eorzeamaxhour"] = 4;
            ["usestealth"] = true;
            ["dangerousarea"] = true;
            ["usemooch"] = true;
            ["whitelisthq"] = "Fullmoon Sardine";
            ["usepatience"] = true;
            ["usepatience2"] = false;
            ["usechum"] = true;
            ["usesnagging"] = false;
            ["baitname"] = "Spoon Worm";    
        };
        
        
        
        --- Helicoprion
        
        
        [7] = {
            ["type"] = "fishing";
            ["minlevel"] = 60;
            ["maxlevel"] = 60;
            ["mapid"] = 146;
            ["pos"] = {
                ["x"] = -446.57244873047;
                ["y"] = -0.92587280273438;
                ["z"] = 705.78350830078;
                ["h"] = -1.8485631942749;
            };
            ["weathernow"] = "Fog";
            ["weathernext"] = "Heat Wave";
            ["eorzeaminhour"] = 8;
            ["eorzeamaxhour"] = 20;
            ["usestealth"] = false;
            ["usemooch"] = true;
            ["whitelisthq"] = "Storm Rider";
            ["usepatience"] = true;
            ["usepatience2"] = false;
            ["usechum"] = true;
            ["usesnagging"] = false;
            ["baitname"] = "Sand Leech";    
        };
        [8] = {
            ["type"] = "fishing";
            ["minlevel"] = 60;
            ["maxlevel"] = 60;
            ["mapid"] = 146;
            ["pos"] = {
                ["x"] = -446.57244873047;
                ["y"] = -0.92587280273438;
                ["z"] = 705.78350830078;
                ["h"] = -1.8485631942749;
            };
            ["weatherlast"] = "Fog";
            ["weathernow"] = "Heat Wave";
            ["eorzeaminhour"] = 8;
            ["eorzeamaxhour"] = 20;
            ["usestealth"] = false;
            ["usemooch"] = true;
            ["whitelisthq"] = "Storm Rider";
            ["usepatience"] = true;
            ["usepatience2"] = false;
            ["usechum"] = true;
            ["usesnagging"] = false;
            ["baitname"] = "Sand Leech";
        };
    };
}
return obj1

Skill profile code is different to task conditions and selecting where to fish

Also a max time isnt required

i removed them


RE: Legendary Fish Profile (WIP) - snowolf69 - 10-26-2015

Awesome, thanks! I'm really working on it and will be as hard as I can. Hopefully I can finish it soon. I'm going between learning the details of how all the conditions and such work and troubleshooting this profile so its a learning process. I'll try my best to figure things out myself but being unfamiliar with some of the formatting I may still have some questions. Thanks for the help. I'll be glad to finally put out something nice with this once its done.


RE: Legendary Fish Profile (WIP) - sebbs - 10-26-2015

although its a huge file

the helper file has a lot of useful conditions etc.

if your not sure try a search and see if that helps.

worst case just ask


RE: Feast of Famine (WIP) - snowolf69 - 10-26-2015

UPDATED: made all the tasks for each fish with the proper coords, individual tasks for each weather, mooch / chum / patience priorities. Still need to plug a couple thing in to make it work but it should be soon.


RE: Feast of Famine (WIP) - Underwhelp - 10-27-2015

Quote:A WIP profile to catch the legendary 6: Namitaro, Endoceras, Helicoprion, Shonisaurus, Kuno the Killer, and Nepto Dragon.

Fish ID;
Namitaro = 8775;
Endoceras = 8756;
Helicoprion = 8768;
Shonisaurus = 8772;
Kuno = 8763;
Nepto = 8754;

This is the HasBuffs syntax to check player buffs;

HasBuffs(Player,"598")
or
MissingBuffs(Player,"598")


RE: Feast of Famine (WIP) - sebbs - 10-28-2015

(10-26-2015, 12:13 AM)snowolf69 Wrote:  NEED HELP WITH:
1) !!! Nepto Dragon !!!
- requires interaction with NPC to board ship at Costa del Sol
- needs teleport or NPC interaction task with weathernow shower or rain
- how would I format an NPC interaction?

Thats a nav thing if u tell us where and who it needs to interact with we can add it to the nav system so its automated to that map.

pic is better than a description


RE: Feast of Famine (WIP) - Underwhelp - 10-28-2015

(10-28-2015, 11:32 AM)sebbs Wrote:  
(10-26-2015, 12:13 AM)snowolf69 Wrote:  NEED HELP WITH:
1) !!! Nepto Dragon !!!
- requires interaction with NPC to board ship at Costa del Sol
- needs teleport or NPC interaction task with weathernow shower or rain
- how would I format an NPC interaction?

Thats a nav thing if u tell us where and who it needs to interact with we can add it to the nav system so its automated to that map.

pic is better than a description

Code:
[137] = { name = "Eastern La Noscea",
            test = function()
                if (GilCount() > 100) then
                    if ((Player.pos.x > 218 and Player.pos.x < 800 and Player.pos.z > 51) and not (gotoPos.x > 218 and gotoPos.z > 51)) then
                        --d("Need to move from Costa area to Wineport.")
                        return true
                    elseif (not (Player.pos.x > 218 and Player.pos.z > 51) and (gotoPos.x > 218 and gotoPos.z > 51)) then
                        --d("Need to move from Wineport to Costa area.")
                        return true
                    elseif (Player.pos.x < 800 and gotoPos.x > 800) then
                        d("Need to board ship.")
                        return true
                    elseif (Player.pos.x > 800 and gotoPos.x < 800) then
                        d("Need to leave ship.")
                        return true
                    end
                end
                return false
            end,
            reaction = function()
                if ((Player.pos.x > 218 and Player.pos.x < 800 and Player.pos.z > 51) and not (gotoPos.x > 218 and gotoPos.z > 51)) then
                    if (CanUseAetheryte(12) and not Player.incombat) then
                        if (Player:IsMoving()) then
                            Player:Stop()
                            c_usenavinteraction.blockOnly = true
                            return true
                        end
                        if (Player.ismounted) then
                            Dismount()
                            c_usenavinteraction.blockOnly = true
                            return true
                        end
                        if (ActionIsReady(7,5) and not ActionList:IsCasting() and not IsPositionLocked()) then
                            if (Player:Teleport(12)) then
                                local newTask = ffxiv_task_teleport.Create()
                                newTask.aetheryte = 12
                                newTask.mapID = 137
                                ml_task_hub:Add(newTask, IMMEDIATE_GOAL, TP_IMMEDIATE)
                            end
                        end
                    else
                        local newTask = ffxiv_nav_interact.Create()
                        newTask.pos = {x = 344.447, y = 32.770, z = 91.694}
                        newTask.uniqueid = 1003588
                        ml_task_hub:CurrentTask():AddSubTask(newTask)
                    end
                elseif (not (Player.pos.x > 218 and Player.pos.z > 51) and (gotoPos.x > 218 and gotoPos.z > 51)) then
                    if (CanUseAetheryte(11) and not Player.incombat) then
                        if (Player:IsMoving()) then
                            Player:Stop()
                            c_usenavinteraction.blockOnly = true
                            return true
                        end
                        if (Player.ismounted) then
                            Dismount()
                            c_usenavinteraction.blockOnly = true
                            return true
                        end
                        if (ActionIsReady(7,5) and not ActionList:IsCasting() and not IsPositionLocked()) then
                            if (Player:Teleport(11)) then
                                local newTask = ffxiv_task_teleport.Create()
                                newTask.aetheryte = 11
                                newTask.mapID = 137
                                ml_task_hub:Add(newTask, IMMEDIATE_GOAL, TP_IMMEDIATE)
                            end
                        end
                    else
                        local newTask = ffxiv_nav_interact.Create()
                        newTask.pos = {x = 21.919, y = 34.0788, z = 223.187}
                        newTask.uniqueid = 1003589
                        ml_task_hub:CurrentTask():AddSubTask(newTask)
                    end
                elseif (Player.pos.x < 800 and gotoPos.x > 800) then
                    local newTask = ffxiv_nav_interact.Create()
                    newTask.pos = {x = 605.45, y = 11.62, z = 392.34}
                    newTask.uniqueid = 1003585
                    newTask.conversationIndex = 2
                    ml_task_hub:CurrentTask():AddSubTask(newTask)
                elseif (Player.pos.x > 800 and gotoPos.x < 800) then
                    local newTask = ffxiv_nav_interact.Create()
                    newTask.pos = {x = 885.85, y = 21.25, z = 135.438}
                    newTask.uniqueid = 1005414
                    ml_task_hub:CurrentTask():AddSubTask(newTask)
                end
            end,
        },

Can see how frepe coded it, NPC position to board ship:
Code:
newTask.pos = {x = 605.45, y = 11.62, z = 392.34}
newTask.uniqueid = 1003585
newTask.conversationIndex = 2

To leave the ship:
Code:
newTask.pos = {x = 885.85, y = 21.25, z = 135.438}
newTask.uniqueid = 1005414



RE: Feast of Famine (WIP) - snowolf69 - 11-11-2015

Thanks a lot for the replies and help! This is excitingly more help than I could have asked for. I've been afk for a week for work but once the bots back up and running I'll get right back on it with these new additions. I am extremely grateful for all the help and will do my best to get this working asap.


RE: Feast of Famine (WIP) - mirai087 - 12-12-2015

hello. is this still working?