Thread Rating:
  • 5 Vote(s) - 2.8 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help with a fishing profile
#1
The bot does nothing..what am  missing


Code:
local obj1 = {
        ["setup"] = {
        ["gearsetfishing"]= 11;
    };

    ["tasks"] = {
    
          
    
        [10] = {
            ["type"] = "fishing";
            ["minlevel"] = 60;
            ["maxlevel"] = 60;
            ["mapid"] = 398;
            ["pos"] = {
                ["x"] = -162;
                ["y"] = 53.4;
                ["z"] = 128;
                ["h"] = -2.26;
            };
            
            ["eorzeaminhour"] = 1;
            ["eorzeamaxhour"] = 0;
        
            ["resetdaily"] = true;
            ["usestealth"] = true;
            ["dangerousarea"] = true;
            ["usecollect"] = false;
            ["usemooch"] = false
            ["usepatience"] = false;
            ["usepatience2"] = true;
            ["usechum"] = false;
            ["baitname"] = "Brute Leech";
            ["maxtime"] = 885;            
        };

       --[[ Sweetfish ]]--    
    
        [20] = {
            ["type"] = "fishing";
            ["minlevel"] = 60;
            ["maxlevel"] = 60;
            ["mapid"] = 398;
            ["pos"] = {
                ["x"] = -276;
                ["y"] = 153;
                ["z"] = -209;
                ["h"] = -0.92;
            };
            
            ["eorzeaminhour"] = 1;
            ["eorzeamaxhour"] = 0;
            ["resetdaily"] = true;
            ["usestealth"] = true;
            ["dangerousarea"] = true;
            ["usecollect"] = false;
            ["usemooch"] = false
            ["usepatience"] = false;
            ["usepatience2"] = true;
            ["usechum"] = false;
            ["baitname"] = "Brute Leech";
            ["maxtime"] = 825;            
        };

    
        [30] = {
            ["type"] = "fishing";
            ["minlevel"] = 60;
            ["maxlevel"] = 60;
            ["mapid"] = 399;
            ["pos"] = {
                ["x"] = 27;
                ["y"] = 163;
                ["z"] = 38;
                ["h"] = -1.3;
            };
            
            ["eorzeaminhour"] = 2;
            ["eorzeamaxhour"] = 0;
            ["resetdaily"] = true;
            ["usestealth"] = true;
            ["dangerousarea"] = true;
            ["usecollect"] = false;
            ["usemooch"] = false
            ["usepatience"] = false;
            ["usepatience2"] = true;
            ["usechum"] = false;
            ["baitname"] = "Brute Leech";
            ["maxtime"] = 880;            
};
};
return obj1
Reply
#2
Missing a few semicolons and a curly brace at the end. The code below should work.
Code:
local obj1 = {
       ["setup"] = {
       ["gearsetfishing"]= 11;
   };

   ["tasks"] = {
   
         
   
       [10] = {
           ["type"] = "fishing";
           ["minlevel"] = 60;
           ["maxlevel"] = 60;
           ["mapid"] = 398;
           ["pos"] = {
               ["x"] = -162;
               ["y"] = 53.4;
               ["z"] = 128;
               ["h"] = -2.26;
           };
           
           ["eorzeaminhour"] = 1;
           ["eorzeamaxhour"] = 0;
       
           ["resetdaily"] = true;
           ["usestealth"] = true;
           ["dangerousarea"] = true;
           ["usecollect"] = false;
           ["usemooch"] = false;
           ["usepatience"] = false;
           ["usepatience2"] = true;
           ["usechum"] = false;
           ["baitname"] = "Brute Leech";
           ["maxtime"] = 885;            
       };

      --[[ Sweetfish ]]--    
   
       [20] = {
           ["type"] = "fishing";
           ["minlevel"] = 60;
           ["maxlevel"] = 60;
           ["mapid"] = 398;
           ["pos"] = {
               ["x"] = -276;
               ["y"] = 153;
               ["z"] = -209;
               ["h"] = -0.92;
           };
           
           ["eorzeaminhour"] = 1;
           ["eorzeamaxhour"] = 0;
           ["resetdaily"] = true;
           ["usestealth"] = true;
           ["dangerousarea"] = true;
           ["usecollect"] = false;
           ["usemooch"] = false;
           ["usepatience"] = false;
           ["usepatience2"] = true;
           ["usechum"] = false;
           ["baitname"] = "Brute Leech";
           ["maxtime"] = 825;            
       };

   
       [30] = {
           ["type"] = "fishing";
           ["minlevel"] = 60;
           ["maxlevel"] = 60;
           ["mapid"] = 399;
           ["pos"] = {
               ["x"] = 27;
               ["y"] = 163;
               ["z"] = 38;
               ["h"] = -1.3;
           };
           
           ["eorzeaminhour"] = 2;
           ["eorzeamaxhour"] = 0;
           ["resetdaily"] = true;
           ["usestealth"] = true;
           ["dangerousarea"] = true;
           ["usecollect"] = false;
           ["usemooch"] = false;
           ["usepatience"] = false;
           ["usepatience2"] = true;
           ["usechum"] = false;
           ["baitname"] = "Brute Leech";
           ["maxtime"] = 880;            
        };
    };
}
return obj1
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products