Thread Rating:
  • 8 Vote(s) - 3.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Feast of Famine (WIP)
#2
(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
Reply
 


Messages In This Thread
Feast of Famine (WIP) - by snowolf69 - 10-26-2015, 12:13 AM
RE: Legendary Fish Profile (WIP) - by sebbs - 10-26-2015, 05:00 AM
RE: Legendary Fish Profile (WIP) - by snowolf69 - 10-26-2015, 12:32 PM
RE: Legendary Fish Profile (WIP) - by sebbs - 10-26-2015, 12:45 PM
RE: Feast of Famine (WIP) - by snowolf69 - 10-26-2015, 06:55 PM
RE: Feast of Famine (WIP) - by Underwhelp - 10-27-2015, 04:38 PM
RE: Feast of Famine (WIP) - by sebbs - 10-28-2015, 11:32 AM
RE: Feast of Famine (WIP) - by Underwhelp - 10-28-2015, 02:03 PM
RE: Feast of Famine (WIP) - by snowolf69 - 11-11-2015, 12:50 AM
RE: Feast of Famine (WIP) - by mirai087 - 12-12-2015, 05:08 PM
RE: Feast of Famine (WIP) - by Chunky - 12-15-2015, 12:17 AM
RE: Feast of Famine (WIP) - by raven - 01-24-2016, 09:49 AM
RE: Feast of Famine (WIP) - by bluemages - 01-24-2016, 01:54 PM
RE: Feast of Famine (WIP) - by orin - 09-21-2016, 03:18 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products