Thread Rating:
  • 12 Vote(s) - 3.58 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gather Mode - Profile Support/GUI Changes
user-input blacklist is missing in code

Code:
        if (ValidTable(task)) then
            whitelist = IsNull(task.whitelist,"")
            radius = IsNull(task.radius,150)
            nodeminlevel = IsNull(task.nodeminlevel,1)
            nodemaxlevel = IsNull(task.nodemaxlevel,60)
            basePos = task.pos
            
            if (task.unspoiled and task.unspoiled == false) then
                blacklist = "5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20"
            elseif (task.unspoiled and task.unspoiled == true) then
                whitelist = "5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20"
            end
        elseif (ValidTable(marker) and not ValidTable(ffxiv_task_gather.profileData)) then
            whitelist = IsNull(marker:GetFieldValue(GetUSString("contentIDEquals")),"1;2;3;4")
            radius = IsNull(marker:GetFieldValue(GetUSString("maxRadius")),150)
            if (radius == 0) then radius = 150 end
            nodeminlevel = IsNull(marker:GetFieldValue(GetUSString("minContentLevel")),1)
            if (nodeminlevel == 0) then nodeminlevel = 1 end
            nodemaxlevel = IsNull(marker:GetFieldValue(GetUSString("maxContentLevel")),60)
            if (nodemaxlevel == 0) then nodemaxlevel = 60 end
            basePos = marker:GetPosition()
        else
            return false
        end
 


Messages In This Thread
RE: Gather Mode - Profile Support/GUI Changes - by mike0804 - 10-14-2015, 11:52 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products