MMOMinion
fishing whitelist - Printable Version

+- MMOMinion (https://www.mmominion.com)
+-- Forum: FFXIVMinion (https://www.mmominion.com/forumdisplay.php?fid=87)
+--- Forum: Support - English, Deutsch, 中文 (https://www.mmominion.com/forumdisplay.php?fid=92)
+---- Forum: English Support & Questions (https://www.mmominion.com/forumdisplay.php?fid=93)
+---- Thread: fishing whitelist (/showthread.php?tid=14186)



fishing whitelist - TauTau - 10-18-2015

Hi,

I have this task
Code:
[2] = {
            ["type"] = "fishing";
            ["minlevel"] = 60;
            ["maxlevel"] = 60;
            ["mapid"] = 400;
            ["pos"] = {
                ["x"] = -103.4115524292;
                ["y"] = -42.41520690918;
                ["z"] = 917.88110351563;
                ["h"] = 0.2081093788147;
            };
            ["eorzeaminhour"] = 9;
            ["eorzeamaxhour"] = 17;
            ["resetdaily"] = true;
            ["usestealth"] = true;
            ["usemooch"] = true;
            ["usepatience"] = true;
            ["usepatience2"] = false;
            ["usechum"] = false;
            ["whitelist"] = 512821;
            ["baitname"] = "Giant Crane Fly";        
            ["maxtime"] = 30000;

but it still keeps every fish... what am I doing wrong?

Edit: Ok found it somewhere, it has to look like this it seems
["whitelist"] = "512828;12741";

Another Edit: While the syntax seems to be correct like above, it doesn't work 100%. Most of the time it works, but sometimes it keeps wrong fish, and sometimes releases the right one (just watched it keeping one NQ Pipira Pira and then releasing the next one ;))


RE: fishing whitelist - TauTau - 10-20-2015

since whitelist is officially in the example lua, I adapted my profile like this:

Code:
["whitelist"] = "Pipira Pira";
["whitelistHQ"] = "Pipira Pira";

though it still keeps other fish... obviously whitelist is easier to handle which is why I want to avoid blacklist, anything wrong with my setting?


RE: fishing whitelist - Ace - 10-20-2015

That's my fault, it should be ["whitelisthq"], I listed it incorrectly in the example.


RE: fishing whitelist - TauTau - 10-20-2015

(10-20-2015, 12:35 PM)Ace Wrote:  That's my fault, it should be ["whitelisthq"], I listed it incorrectly in the example.

ok, but that would only explain realeasing HQ Pipira Pira (which it didn't btw ;)), though not keeping some other fish?


RE: fishing whitelist - Ace - 10-20-2015

If the tag was listed as you had it, it would basically keep anything HQ.
There's also a little bug within our inventory API where the name is not always pulled for some reason, which could also be contributing to the issue, which I will be reworking in just a bit.


RE: fishing whitelist - TauTau - 10-20-2015

(10-20-2015, 01:33 PM)Ace Wrote:  If the tag was listed as you had it, it would basically keep anything HQ.

ok, understood, no correct whitelisthq=keep everything HQ, seems reasonable... I'll continue to watch ;)